mirror of
https://github.com/Relintai/broken_seals_roguelike.git
synced 2025-02-12 22:00:11 +01:00
Update properties.
This commit is contained in:
parent
f702b417a8
commit
3cf6261c43
@ -154,7 +154,7 @@ func handle_effect(info : SpellCastInfo) -> void:
|
|||||||
if damage_enabled and info.target:
|
if damage_enabled and info.target:
|
||||||
var sdi : SpellDamageInfo = SpellDamageInfo.new()
|
var sdi : SpellDamageInfo = SpellDamageInfo.new()
|
||||||
|
|
||||||
sdi.damage_source = self
|
sdi.spell_source = self
|
||||||
sdi.dealer = info.caster
|
sdi.dealer = info.caster
|
||||||
sdi.receiver = info.target
|
sdi.receiver = info.target
|
||||||
|
|
||||||
@ -163,7 +163,7 @@ func handle_effect(info : SpellCastInfo) -> void:
|
|||||||
if heal_enabled and info.target:
|
if heal_enabled and info.target:
|
||||||
var shi : SpellHealInfo = SpellHealInfo.new()
|
var shi : SpellHealInfo = SpellHealInfo.new()
|
||||||
|
|
||||||
shi.heal_source = self
|
shi.spell_source = self
|
||||||
shi.dealer = info.caster
|
shi.dealer = info.caster
|
||||||
shi.receiver = info.target
|
shi.receiver = info.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user