Skip to content

Enemies Parties

jjppof edited this page Oct 27, 2022 · 6 revisions

Database file for enemies parties. See an example. This json file is an array of objects, each object corresponds to a party.

Properties

  • key_name [string]: party unique key_name.
  • name [string]: the party name.
  • can_escape [boolean]: whether it can escape or not.
  • weight [number]: a weight to be considered when randomly choosing a party to start a random battle. The greater this value, the bigger is the chance to have this party chosen. Optional property. Default value is 1.
  • active_storage_key [string]: key name of a storage value. If this storage value is false, this party will never be picked by random battles.
  • djinn [string]: set this property with a djinni key name if this party represents a djinni that can be found on the world map. After winning this djinni, an animation to retrieve it will start. Use this property in conjunction with active_storage_key.
  • members [array]: the members of the party.
    • key [string]: the enemy key name.
    • min [number]: the min number of this enemy in the party.
    • max [number]: the max number of this enemy in the party.
    • hue_angle [number]: the hue shift angle for this member. Values between 0 and 6.28 (2 * PI). Optional property. Default value is 0.
Clone this wiki locally