added Graphics and sound Effects and more overhauls
This commit is contained in:
parent
c887a2168c
commit
b9d4288900
214 changed files with 3378 additions and 198 deletions
9
scenes/upgrade/upgrades/heal50Upgrade.gd
Normal file
9
scenes/upgrade/upgrades/heal50Upgrade.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class_name Heal50Upgrade extends "res://scenes/upgrade/upgrade.gd"
|
||||
|
||||
func _init() -> void:
|
||||
upgradeName = "50% Health"
|
||||
description = "Heals 50% of Health"
|
||||
|
||||
func select():
|
||||
if Globals.getPlayer() != null:
|
||||
Globals.getPlayer().heal(Globals.getPlayer().maxHealth/2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue