Classes - jjppof/goldensun_html5 GitHub Wiki

Database file for classes. See an example. This file has two sections, one regarding the class table and another one regarding the classes by themselves.

Example of a "class_table" section:

"class_table": {
    "venus": {
        "venus": 1, "mercury": 3, "mars": 4, "jupiter": 5
    },
    "mercury": {
        "venus": 8, "mercury": 6, "mars": 9, "jupiter": 10
    },
    "mars": {
        "venus": 4, "mercury": 3, "mars": 2, "jupiter": 5
    },
    "jupiter": {
        "venus": 8, "mercury": 10, "mars": 9, "jupiter": 7
    }
}

The "classes" section is an array of objects with the class info.

Properties

  • key_name [string]: class unique key_name.
  • name [string]: the class name.
  • required_level [object]: the required level to be in this class per element.
    • venus [number]: venus required level to be in this class.
    • mercury [number]: mercury required level to be in this class.
    • mars [number]: mars required level to be in this class.
    • jupiter [number]: jupiter required level to be in this class.
  • hp_boost [number]: the boost that this class brings to hp stat.
  • pp_boost [number]: the boost that this class brings to pp stat.
  • atk_boost [number]: the boost that this class brings to atk stat.
  • def_boost [number]: the boost that this class brings to def stat.
  • agi_boost [number]: the boost that this class brings to agi stat.
  • luk_boost [number]: the boost that this class brings to luk stat.
  • class_type [number]: the class type number. See.
  • ability_level_pairs [array]: an array of abilities that this class offers.
    • ability [string]: the ability key_name.
    • level [number]: the level that the char must be to have this ability.
  • vulnerabilities [array]: the vulnerabilities that this class has.
    • chance [number]: this value will be used in the final chance of ailment success formula.
    • status_key_name [string]: the status key name, it can be:
      • "delusion"
      • "stun"
      • "sleep"
      • "seal"
      • "death_curse
      • "downed"
      • "poison"
      • "venom"
      • "equip_curse"
      • "haunt"