invincibility code
This commit is contained in:
parent
318aed4560
commit
c8e5291b6b
2 changed files with 8 additions and 0 deletions
|
@ -1210,6 +1210,11 @@ script = ExtResource( 10 )
|
|||
to = NodePath("../../Dead")
|
||||
event = "hurt"
|
||||
|
||||
[node name="On BecomeInvulnerable" type="Node" parent="StateChart/Root/Health/Vulnerable"]
|
||||
script = ExtResource( 10 )
|
||||
to = NodePath("../../Invulnerable")
|
||||
event = "become_invulnerable"
|
||||
|
||||
[node name="Invulnerable" type="Node" parent="StateChart/Root/Health"]
|
||||
script = ExtResource( 11 )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue