Name | Type | Description |
---|---|---|
json |
Object | optional Json object describing the class |
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
SystemClass.PROPERTY_FINAL_LEVEL |
string |
<optional> |
"finalLevel" | The final level string property |
SystemClass.PROPERTY_EXPERIENCE_BASE |
string |
<optional> |
"experienceBase" | The experience base property |
SystemClass.PROPERTY_EXPERIENCE_INFLATION |
string |
<optional> |
"experienceInflation" | The experience inflation property |
initialLevel |
number | The initial level | ||
finalLevel |
number | The final level | ||
experienceBase |
number | The experience base | ||
experienceInflation |
number | The experience inflation | ||
experienceTable |
Object | The experience table | ||
statisticsProgression |
Array.<SystemStatisticProgression> | The statistics progression | ||
skills |
Array.<SystemClassSkill> | The skills to learn of the class |
Extends
Methods
-
read (json) overrides
-
Read the JSON associated to the class
Name Type Description json
Object Json object describing the class -
Get property according to upClass
Name Type Description prop
string The property name upClass
SystemClass The up class Returns:
Type Description any -
Get the experience table
Name Type Description upClass
SystemClass The up class Returns:
Type Description Object -
getStatisticsProgression (upClass)Array.<SystemStatisticProgression>
-
Get the statistics progression
Name Type Description upClass
SystemClass The up class Returns:
Type Description Array.<SystemStatisticProgression> -
getSkills (upClass)Array.<SystemClassSkill>
-
Get the skills
Name Type Description upClass
SystemClass The up class Returns:
Type Description Array.<SystemClassSkill> -
Get the name according to current lang
Returns:
Type Description string -
Update lang according to a command list and iterator