Class: DatasBattleSystem

DatasBattleSystem

All the battle system datas

new DatasBattleSystem ()

Properties:
Name Type Description
elements Array.<SystemElement> List of all the elements by ID
elementsOrder Array.<SystemElement> List of all the elements by index
statistics Array.<SystemStatistic> List of all the statistics by ID
statistics Array.<SystemStatistic> List of all the statistics by index
statisticsElements Array.<SystemStatistic> List of all the statistics elements
statisticsElementsPercent Array.<SystemStatistic> List of all the statistics elements percents
equipments Array.<string> List of all the equipments name by ID
equipmentsOrder Array.<string> List of all the equipments name by index
maxEquipmentID number Max equipment ID in the list
weaponsKind Array.<SystemWeaponArmorKind> List of all the weapons kind by ID
armorsKind Array.<SystemWeaponArmorKind> List of all the armors kind by ID
battleCommands Array.<number> List of all the battle commands (skill ID) by ID
battleCommandsOrder Array.<number> List of all the battle commands ( skill ID) by index
battleMaps Array.<SystemBattleMap> List of all the battle maps by ID
idLevelStatistic number Id of the level statistic
idExpStatistic number Id of the experience statistic
formulaIsDead SystemValue The formula is dead
formulaCrit SystemValue The formula for critical hit
battleMusic SystemPlaySong The battle music
battleLevelUp SystemPlaySong The battle level up music
battleVictory SystemPlaySong The battle victory music

Methods

read () async

Read the JSON file associated to battle system.

getLevelStatistic ()SystemStatistic

Get the statistic corresponding to the level
Returns:
Type Description
SystemStatistic

getExpStatistic ()SystemStatistic

Get the statistic corresponding to the experience
Returns:
Type Description
SystemStatistic