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.
2020-07-24 11:49:43 +00:00
|
|
|
extends Node2D
|
|
|
|
|
2020-09-15 23:23:45 +00:00
|
|
|
var base_hp := 100.0
|
2020-07-24 11:49:43 +00:00
|
|
|
|
2020-09-15 23:23:45 +00:00
|
|
|
var damage := 0.0
|
2020-09-11 09:30:35 +00:00
|
|
|
|
|
|
|
func get_health() -> float:
|
|
|
|
return base_hp - damage
|