adding player hurt
This commit is contained in:
1 parent
3b5a15676a
commit
d265ef4598
29 files changed
+140
-289
No files matched your search
@@ -13,4 +13,3 @@ func resetPlayer():
|
||||
func playerDamage():
|
||||
#replace this damage amount with value from data object
|
||||
player.health -=20
|
||||
|
||||
@@ -4,4 +4,3 @@ extends Resource
|
||||
@export var max_health: int = 100
|
||||
@export var starting_health: int = 100
|
||||
@export var health: int = 100
|
||||
|
||||
Reference in new issue
Block a user