2017 © Pedro Peláez
 

project person-skills

Skills for Drd+

image

drd-plus/person-skills

Skills for Drd+

  • Thursday, July 19, 2018
  • by jaroslavtyc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 269 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Skills for DrD+

License, (*1)

Can you swim? How long you will read that book? Can you hold on horse?, (*2)

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., (*3)

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., (*4)

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, (*5)

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, (*6)

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), (*7)

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, (*8)

SkillRank - SkillPoint has to be unique in whole universe, see SkillPoint cross-type payment check, (*9)

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, (*10)

SameTypeSkills (can sum all the first and next levels skill ranks) - can be used just as an arbiter due its aggregating meaning, (*11)

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, (*12)

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~~, (*13)

The Versions