damage on cursor bullet
This commit is contained in:
@@ -33,7 +33,7 @@ func activate(world, activator):
|
||||
cooldown_timer.start()
|
||||
|
||||
|
||||
func _activate(world, activator, position):
|
||||
func _activate(_world, activator, position):
|
||||
var katana = KatanaSlash.instantiate()
|
||||
var target = activator.get_target_pos()
|
||||
activator.add_child(katana) # KatanaSlash might have to be detached later?
|
||||
@@ -48,7 +48,7 @@ func _activate(world, activator, position):
|
||||
katana.get_node("Area2D").set_collision_layer_value(2, false)
|
||||
else:
|
||||
assert(false, "who are you, activator?")
|
||||
world.add_child(katana)
|
||||
# world.add_child(katana)
|
||||
|
||||
func discard(world, activator, do_ability):
|
||||
ammo = max_ammo
|
||||
|
||||
Reference in New Issue
Block a user