定制 drdplus/skills 二次开发

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

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

drdplus/skills

Composer 安装命令:

composer require drdplus/skills

包简介

Skills for Drd+

README 文档

README

License

Can you swim? How long you will read that book? Can you hold on horse?

Warning about distinction from PPH rules

The reading and writing skill gives a "bonus" to reading speed, despite PPH rules where reading and writing is impossible.

This library gives -164 as a "bonus" to reading speed, which means 100 years. The reason is mostly technical - because returning something is easier and more clear than nothing (by null or exception), and partly because its logical - after ten years you have a chance to decode that strange symbols, especially when they mean something in a language you already know.

Structure

Skills are all the person skills on one pile. -> SameTypeSkills are skills of same type, like physical, on one pile -> Skill is specific learned "ability", like horse riding -> SkillRank is a "level" of the skill => SkillPoint is the only but required price of a SkillRank

SkillPoint is the currency unit for a SkillRank, composed from specific values, in specific combinations -> BackgroundSkillPoints are standard value given by first level -> ProfessionLevel is a level increment, cary-ing a property increment, which provides a skill point -> two SkillPoint(s) of type(s)-different-than-paid-one can be used for trade of new SkillPoint

Checks if payments haven't been used more times elsewhere: (that should check at least Skills as the final aggregator, or better every aggregator on the way)

SkillPoint

  • BackgroundSkillPoints - check their total usage against their availability by \DrdPlus\Background\BackgroundSkillPoints::getSkillPoints
  • ProfessionLevel - there is nothing to check, on every level can be obtained plenty of skill points
  • cross-type SkillPoint as a payment - has to be unique, therefore no one else can use it, for payment nor as standard skill point

SkillRank

  • SkillPoint has to be unique in whole universe, see SkillPoint cross-type payment check

Skill

  • can be used just as an arbiter due its aggregating meaning
  • can check if BackgroundSkillPoints are not overused should not check it, its too tricky, let it to Skills
  • can check if SkillPoint and SkillRank are unique locally
  • can check if cross-type SkillPoint(s) as a payment are unique and not used as a standard point locally

SameTypeSkills (can sum all the first and next levels skill ranks)

  • can be used just as an arbiter due its aggregating meaning

CombinedSkills + PhysicalSkills + PsychicalSkills (has ability to find out unused skill point values of same-type skills)

  • all the same-type skills it aggregate have to be unique in whole universe

Skills

  • CombinedSkills + PhysicalSkills + PsychicalSkills has to be unique in whole universe
  • should be the final arbiter, recommended way is to re-use existing checks of sub-aggregates

统计信息

  • 总下载量: 167
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 8
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固