Implement handling needs_target property to spell.

This commit is contained in:
Relintai 2020-02-19 17:00:57 +01:00
parent 4f5d49a977
commit 882a0ef6de

View File

@ -23,6 +23,11 @@ class_name SpellGD
func _sstart_casting(info : SpellCastInfo) -> void:
if needs_target and info.target == null:
return
if info.caster.sis_casting():
return