lets-godot-roguelike icon indicating copy to clipboard operation
lets-godot-roguelike copied to clipboard

`attack()` & `take_damage()`

Open YeOldeDM opened this issue 7 years ago • 0 comments

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.

YeOldeDM avatar May 31 '17 07:05 YeOldeDM