drd-plus / health
This package is abandoned and no longer maintained.
The author suggests using the drdplus/health package instead.
Body and soul harms, afflictions and their treatment of a being for Drd+
2.0.0
2019-02-15 09:06 UTC
Requires
- php: >=7.1
- drdplus/calculations: ~1.0
- drdplus/lighting: ~2.0
- drdplus/properties: ~2.0
- drdplus/rolls-on: ~2.0
- drdplus/skills: ~2.0
- drdplus/tables: ~2.0
- granam/integer-enum: ~1.0
- granam/string-enum: ~1.0
Requires (Dev)
- granam/exceptions-hierarchy: ~4.0
- mockery/mockery: ~1.0
- phpunit/phpunit: ~7.0
- roave/security-advisories: dev-master
This package is not auto-updated.
Last update: 2019-02-20 18:58:26 UTC
README
Wounds
- aggregates every single not-yet healed wound
- knows number of serious injuries (six means death)
- knows malus caused by wounds and roll on will
- knows if person is still alive
- note: sum of wounds (its points) is kept by
Grid of wounds
Grid of wounds
- its three-rows size is determined by
wounds limit
(filled rows have effect onmalus
) - knows sum of
Wound
s (theirpoints of wound
respectively) - knows remaining health
- knows filled "rows" count (useful for
roll on will
to getmalus caused by wounds
) - knows
Treatment boundary
Wound
- has
Origin
- has size (expressed by number of
point of wound
) - has severity
- ordinary
- serious, which has detail about its origin, see
Wounds origin
, also serious wound is automatically considered asold injury
(seeTreatment boundary
)
Wounds origin
Mechanical wounds
- stab
- cut
- crush
Psychical wounds
- Ψ [ˈpsiː]
Elemental wounds
- ± fire
- ± air
- ± water
- ± earth
Treatment boundary
- splits wounds in
grid of wounds
into two parts- "old" injuries, which are those not healed by last treatment (native regeneration per day, or by a healer) and all serious injuries
- new injuries
Affliction (handicap caused by body or soul damage)
Knows its
- domain
- virulence
- source
- property
- dangerousness
- size
- elemental pertinence
- effect
- outbreak period
Affliction knows from what wound it comes from, but wound itself does not know all the afflictions it caused - it is one-way knowledge. But health knows all afflictions it is suffering now.
Affliction effect
- it just keeps the effect
- the Person itself is responsible to ask its Health for its AfflictionsByWounds for its AfflictionEffects and apply them on self