law Vitals.spawn_hero_ok
import gralha-bendquest@0.1.0.0/vitals.bend as Vitalsimport Base
import gralha-bendquest@0.1.0.0/game.bend as G
import gralha-bendquest@0.1.0.0/rewards.bend as R
306law Vitals.spawn_hero_ok:
307 for +hero: G.Bq.Hero
308 for +ceiling: U32
309 for +limit_positive: {G.Bq.Nat.le(1n, U32.to_nat(ceiling)) == True{} : Bool}
310 Vitals.OK<Vitals.spawn(R.Rewards.maximum(hero, ceiling)), R.Rewards.maximum(hero, ceiling)>
Uses (10)
Used by (0)
No other definition uses this definition.