enemy stun is working now, needs timeout
This commit is contained in:
@@ -45,5 +45,6 @@ func explode():
|
||||
body.recoil.add_recoil(Vector3(1,.1,.1),10,10)
|
||||
if body.has_method("hit") and !body.is_in_group("player"):
|
||||
body.hit(1)
|
||||
if body is Enemy:
|
||||
body.stun()
|
||||
if body.is_in_group("enemy"):
|
||||
if body.has_method("stun"):
|
||||
body.stun()
|
||||
|
||||
Reference in New Issue
Block a user