This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Actors/Player/BodyPart.gd

9 lines
108 B
GDScript3
Raw Normal View History

2020-07-24 11:49:43 +00:00
extends Node2D
2020-09-11 09:30:35 +00:00
var base_hp = 100.0
2020-07-24 11:49:43 +00:00
2020-09-11 09:30:35 +00:00
var damage = 0.0
func get_health() -> float:
return base_hp - damage