drdplus/health
Composer 安装命令:
composer require drdplus/health
包简介
Body and soul harms, afflictions and their treatment of a being for Drd+
README 文档
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
Wounds (theirpoints of woundrespectively) - knows remaining health
- knows filled "rows" count (useful for
roll on willto 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 woundsinto 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
Healing
Mitigation of wounds
Treatment of ordinary wounds
Treatment of serious wounds
Native healing of wounds
Healing of affliction
Treatment of affliction
Native cure of affliction
drdplus/health 适用场景与选型建议
drdplus/health 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 91 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 08 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 drdplus/health 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 drdplus/health 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 91
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-21