2026-05-04 21:34:57 +08:00
|
|
|
extends PlayerBase
|
|
|
|
|
|
2026-05-12 22:43:27 +08:00
|
|
|
var healCounter = CooldownTimer.new(500)
|
2026-05-04 21:34:57 +08:00
|
|
|
|
2026-05-12 22:41:47 +08:00
|
|
|
func register():
|
|
|
|
|
super.register()
|
|
|
|
|
madeDamage.connect(
|
|
|
|
|
func(_w, _b):
|
|
|
|
|
if healCounter.start():
|
|
|
|
|
heal(1)
|
|
|
|
|
)
|