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
2020-09-16 01:23:45 +02:00

8 lines
110 B
GDScript

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