Update properties.

This commit is contained in:
Relintai 2021-02-20 23:20:42 +01:00
parent f702b417a8
commit 3cf6261c43

View File

@ -154,7 +154,7 @@ func handle_effect(info : SpellCastInfo) -> void:
if damage_enabled and info.target:
var sdi : SpellDamageInfo = SpellDamageInfo.new()
sdi.damage_source = self
sdi.spell_source = self
sdi.dealer = info.caster
sdi.receiver = info.target
@ -163,7 +163,7 @@ func handle_effect(info : SpellCastInfo) -> void:
if heal_enabled and info.target:
var shi : SpellHealInfo = SpellHealInfo.new()
shi.heal_source = self
shi.spell_source = self
shi.dealer = info.caster
shi.receiver = info.target