law Health.spec_hurt_zero

gralha-bendquest@0.1.0.0 · health.bend:522

import gralha-bendquest@0.1.0.0/health.bend as Health
import Base
import gralha-bendquest@0.1.0.0/game.bend as G

522law Health.spec_hurt_zero:
523  for +hp: Nat
524  for +damage: Nat
525  for +lethal: {G.Bq.Nat.le(hp, damage) == True{} : Bool}
526  {Health.spec_hurt(hp, damage) == 0n : Nat}

Uses (6)

Used by (1)