Vitals.Vitals.live_tick: def of gralha-bendquest@0.1.0.0 Import: import gralha-bendquest@0.1.0.0/vitals.bend as Vitals Lines 143-146 of gralha-bendquest@0.1.0.0/vitals.bend: https://jend.leeeet.dev/read.txt?path=gralha-bendquest@0.1.0.0/vitals.bend&start_line=143&end_line=146 import Base import gralha-bendquest@0.1.0.0/health.bend as H def Vitals.live_tick(state: Vitals.State, amount: U32, maximum: U32) -> Vitals.State: match state: case Vitals.State{hp, xp, dead, respawn, attack, spin}: Vitals.State{H.Health.heal_word(hp, amount, maximum), xp, 0, 0, Vitals.dec(attack), Vitals.dec(spin)} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.heal_word https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/vitals.bend&name=Vitals.State https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/vitals.bend&name=Vitals.dec