mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-08 05:32:10 +01:00
Temporarily comment out spell owner check.
This commit is contained in:
parent
99dda366ff
commit
0eb19b9805
@ -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):
|
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
|
return
|
||||||
|
|
||||||
if !info.caster.spell_hass_id(id):
|
# Todo Add source info to SpellCastInfo (player, item, spell, etc)
|
||||||
return
|
#if !info.caster.spell_hass_id(id):
|
||||||
|
# return
|
||||||
|
|
||||||
var entity_relation_type = info.caster.gets_relation_to(info.target)
|
var entity_relation_type = info.caster.gets_relation_to(info.target)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user