Encounter token breakdown
Last updated
Last updated
map
optional
string
Map name. In case there is no map for the boss (see: conquerors
or elder guardians
) then this field is ommited
Coves
bosses
required
string
Boss name.
Can be multiple
Telvar, the Inebriated
type
optional
string[]
List of ability damage types.
physical, fire
abilities
required
string[]
List of boss abilities
Spawn Barrel, Tar
tip
required
string[]
List of Player Interactions to given Ability. yml
brackets have the same role as dashes.
dodge, kill new spawns
gif
required
string
Video source. Currently all of the sources are hosted from http://gyazo.com/
about
required
string[]
About ability list. Wrap each sentence with double quotation marks (""
). In future we may enhance those strings.
Every couple seconds Telvar throws Barrel at player's position
isChallenge
optional
boolean
Marks ability as League Challenge
true, false
aboutChallenge
optional
string[]
About League Challenge
Defeat Lycius, Midnight's Howl in Lair Map while he is channeling Wolf Barrage
In common cases you may notice we don't use "normal" strings but tokens
. Pay attention to about
key in example below:
In example above /SPAWN_BARREL/
is a skill token which value is located in tokens/skills.yml
Skill token has 3 rules:
Must start with forward slash (/
)
Must be upper-cased with underline in case ability name has more than 2 words
Must end with forward slash (/
)
example: /SPAWN_BARREL/
, /FIREBALL/
Since standard yaml
files by definition are independent of each other we can't import in any shape or form values form other yaml
file values nor make a use of yaml anchors/aliases.
To make our lives easier and not duplicate definitions of common skills, in scripts/encounters/extract-tokens.js we are replacing token(s) value for our .json
auto-generated files.