drdplus / stamina
Remaining stamina of a body according to its endurance and fatigue for Drd+
2.1.0
2021-03-15 09:33 UTC
Requires
- php: >=7.3
- drdplus/properties: ~2.0
- drdplus/rolls-on: ~2.0
- drdplus/tables: ~2.0
- granam/integer-enum: ~1.0
- granam/string-enum: ~1.0
Requires (Dev)
- granam/exceptions-hierarchy: ~5.0
- granam/test-with-mockery: ^2.0
- mockery/mockery: ~1.0
- phpunit/phpunit: ~9.0
- roave/security-advisories: dev-master
README
What is your current fatigue? And a malus caused by it? How well did you rested?
Warning: there is a difference against PPH v1.0
In PPH on page 117 left column is an example with little catty Mrrr and its less-than-one fatigue boundary.
As a result of her endurance -29 should be 2/6 chance (66.7 %) she dies on birth, but the example gives her 1 stamina point instead and her grid of fatigue has just a single row with a single field.
This drd-plus/stamina
library does NOT allows such thing so on endurance of -29 there is 66.7 % the creature
will simply die.