lets-godot-roguelike
lets-godot-roguelike copied to clipboard
`attack()` & `take_damage()`
These methods go under Fighter.
func attack( target ):
Calls take_damage() on target
take_damage( amount ):
subtracts amount
from current HP, and sets the new HP.