Health.Health.maximum_word: def of gralha-bendquest@0.1.0.0 Import: import gralha-bendquest@0.1.0.0/health.bend as Health Lines 494-497 of gralha-bendquest@0.1.0.0/health.bend: https://jend.leeeet.dev/read.txt?path=gralha-bendquest@0.1.0.0/health.bend&start_line=494&end_line=497 import Base # Add the charm bonus before conversion. The server supplies U32 maximum # as the ceiling; keeping it explicit makes the theorem apply to any ceiling. def Health.maximum_word(+raw: Nat, bonus: U32, ceiling: U32) -> U32: Health.cap_nat_word(Nat.add(U32.to_nat(bonus), raw), ceiling) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.cap_nat_word