dasher
This commit is contained in:
@@ -51,8 +51,11 @@ func _activate(_world, activator, position):
|
||||
assert(false, "who are you, activator?")
|
||||
# world.add_child(katana)
|
||||
|
||||
func discard(world, activator, do_ability):
|
||||
|
||||
func discard(_world, activator, do_ability):
|
||||
ammo = max_ammo
|
||||
if do_ability:
|
||||
activator.dash(_activate);
|
||||
|
||||
func get_ammo():
|
||||
return ammo
|
||||
|
||||
@@ -47,8 +47,10 @@ func _activate(world, activator, position):
|
||||
assert(false, "who are you, activator?")
|
||||
world.add_child(mine)
|
||||
|
||||
func discard(world, activator, do_ability):
|
||||
func discard(_world, activator, do_ability):
|
||||
ammo = max_ammo
|
||||
if do_ability:
|
||||
activator.dash(_activate);
|
||||
|
||||
func get_ammo():
|
||||
return ammo
|
||||
|
||||
Reference in New Issue
Block a user