mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Implement handling needs_target property to spell.
This commit is contained in:
parent
4f5d49a977
commit
882a0ef6de
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user