def Vitals.upkeep_hero

gralha-bendquest@0.1.0.0 · vitals.bend:279

import gralha-bendquest@0.1.0.0/vitals.bend as Vitals
import Base
import gralha-bendquest@0.1.0.0/game.bend as G
import gralha-bendquest@0.1.0.0/rewards.bend as R

279# The live server uses this entry with the U32 ceiling.
280def Vitals.upkeep_hero(state: Vitals.State, amount: U32, +hero: G.Bq.Hero, ceiling: U32) -> Vitals.Upkeep:
281  Vitals.upkeep(state, amount, R.Rewards.maximum(hero, ceiling))

Uses (6)

Used by (1)