From 0eb19b9805c675ac87a73057206ccebaa4d4b369 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 30 Jan 2022 19:11:28 +0100 Subject: [PATCH] Temporarily comment out spell owner check. --- game/scripts/spells/gd_spell_script.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/game/scripts/spells/gd_spell_script.gd b/game/scripts/spells/gd_spell_script.gd index 945ab2e..8354ac1 100644 --- a/game/scripts/spells/gd_spell_script.gd +++ b/game/scripts/spells/gd_spell_script.gd @@ -36,8 +36,9 @@ func _cast_starts(info : SpellCastInfo) -> void: if cooldown_global_cooldown_enabled and info.caster.gcd_hass() or info.caster.category_cooldown_hass(spell_type) or info.caster.cooldown_hass(id): return - if !info.caster.spell_hass_id(id): - return + # Todo Add source info to SpellCastInfo (player, item, spell, etc) + #if !info.caster.spell_hass_id(id): + # return var entity_relation_type = info.caster.gets_relation_to(info.target)