PHPackages                             drdplus/health - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. drdplus/health

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

drdplus/health
==============

Body and soul harms, afflictions and their treatment of a being for Drd+

3.0.0(4y ago)0906MITPHPPHP &gt;=7.3CI failing

Since Jul 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/drdplusinfo/health)[ Packagist](https://packagist.org/packages/drdplus/health)[ RSS](/packages/drdplus-health/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (7)Versions (12)Used By (6)

Health for [DrD+](http://www.altar.cz/drdplus/)
===============================================

[](#health-for-drd)

[![Build Status](https://camo.githubusercontent.com/dbe448d1d38033292b14144d6cadf0c540d243aa89e62a12d660410b69207162/68747470733a2f2f7472617669732d63692e6f72672f6a61726f736c61767479632f6472642d706c75732d6865616c74682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jaroslavtyc/drd-plus-health)[![Test Coverage](https://camo.githubusercontent.com/4a4c5b28ac83c7d498d6f076cddba3c1d2d2e8edc8c036d56ae3d631241c639b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a61726f736c61767479632f6472642d706c75732d6865616c74682f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/jaroslavtyc/drd-plus-health/coverage)[![License](https://camo.githubusercontent.com/7a819f1f67d1f5f1137d0f52ef9a6c3090dd72c95697b40552c594a0a95b0385/68747470733a2f2f706f7365722e707567782e6f72672f6472642d706c75732f6865616c74682f6c6963656e7365)](https://packagist.org/packages/drd-plus/health)

### Wounds

[](#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

[](#grid-of-wounds)

- its three-rows size is determined by `wounds limit` (filled rows have effect on `malus`)
- knows sum of `Wound`s (their `points of wound` respectively)
- knows remaining health
- knows filled "rows" count (useful for `roll on will` to get `malus caused by wounds`)
- knows `Treatment boundary`

##### Wound

[](#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 as `old injury` (see `Treatment boundary`)

##### Wounds origin

[](#wounds-origin)

###### Mechanical wounds

[](#mechanical-wounds)

- stab
- cut
- crush

###### Psychical wounds

[](#psychical-wounds)

- Ψ \[ˈpsiː\]

###### Elemental wounds

[](#elemental-wounds)

- ± fire
- ± air
- ± water
- ± earth

##### Treatment boundary

[](#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)

[](#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

[](#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

### Healing

[](#healing)

#### Mitigation of wounds

[](#mitigation-of-wounds)

##### Treatment of ordinary wounds

[](#treatment-of-ordinary-wounds)

##### Treatment of serious wounds

[](#treatment-of-serious-wounds)

##### Native healing of wounds

[](#native-healing-of-wounds)

### Healing of affliction

[](#healing-of-affliction)

#### Treatment of affliction

[](#treatment-of-affliction)

#### Native cure of affliction

[](#native-cure-of-affliction)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~126 days

Recently: every ~74 days

Total

11

Last Release

1593d ago

Major Versions

1.0.x-dev → 2.0.02019-02-15

2.1.x-dev → 3.0.02022-01-03

PHP version history (2 changes)1.0.0PHP &gt;=7.1

2.1.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e35d11c9a75584084f0dc0ba1a3b6ff03355777809cbe8eabd20a88ac00f794?d=identicon)[jaroslavtyc](/maintainers/jaroslavtyc)

---

Top Contributors

[![jaroslavtyc](https://avatars.githubusercontent.com/u/2290225?v=4)](https://github.com/jaroslavtyc "jaroslavtyc (210 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/drdplus-health/health.svg)

```
[![Health](https://phpackages.com/badges/drdplus-health/health.svg)](https://phpackages.com/packages/drdplus-health)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
