定制 drdplus/health 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

drdplus/health

Composer 安装命令:

composer require drdplus/health

包简介

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

README 文档

README

Build Status Test Coverage License

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 on malus)
  • knows sum of Wounds (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
  • 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
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

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

统计信息

  • 总下载量: 91
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固