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
110 B
GDScript

extends Node2D
var base_hp := 100.0
var damage := 0.0
func get_health() -> float:
return base_hp - damage