ProficiencyReward ​
Trains the player in a proficiency: experience towards the next level, or whole levels.
Properties ​
int | proficiency_id | 0 |
Mode | mode | Mode.EXPERIENCE |
float | amount | 10.0 |
Methods ​
Dictionary | apply_to_player( player: Player ) |
String | get_summary() |
Array[Dictionary] | validate() |
Enumerations ​
enum Mode ​
The options of mode: experience, levels.
- EXPERIENCE =
0- The amount is experience; levels follow when it is enough - LEVELS =
1- The amount is whole levels
Property descriptions ​
int proficiency_id = 0 ​
The proficiency
Mode mode = Mode.EXPERIENCE ​
Experience, or levels
float amount = 10.0 ​
How much
Method descriptions ​
Dictionary apply_to_player( player: Player ) ​
Gives the reward to the player. Gives back how it went and what it needs to take the reward back.
String get_summary() ​
A short text about the reward and its settings.
Array[Dictionary] validate() ​
Checks the settings of the reward. Gives the problems found (empty when it is fine).