-
Notifications
You must be signed in to change notification settings - Fork 4
Parsable expressions
Romain Mondon-Cancel edited this page Nov 13, 2017
·
1 revision
This section describes the profile lines that can be parsed by ARParser.
-
{class}="{profile_name}"
, for examplerogue=Rogue_Subtlety_T21M
: when parsed, creates a player of class{class}
for the APL. -
spec={spec}
: sets the specialization of the player as{spec}
; checks validity with{class}
. -
level={level}
: sets the level of the player as{level}
. -
race={race}
: sets the race of the player as{race}
. -
actions[.{action_list}][+]=
: creates a new/append to existing action list the action specified.
An action is composed of an execution (what to execute) with different optional properties, notable the if
property describing the condition under which the execution should be executed. An execution also has specific conditions, as it usually is necessary to test whether the skill or item is usable to display it in AethysRotation.
-
{spell}
or{item}
: says that the player should cast the{spell}
or use the{object}
. -
potion
: ask the player to use the relevant potion; currently, it's defined at a player class or spec level. -
run_action_list
: runs the action list named after thename
property; ends the APL at the end of the action list. -
call_action_list
: runs the action list named after thename
property; continues the APL afterwards.
Action conditions require specific attention, as many expressions are defined at that level. Currently, ARParser handles the following ones:
-
cooldown.{spell}.ready
: this will be parsed asS.{Spell}:IsReady()
. -
cooldown.{spell}.remains
: this will be parsed asS.{Spell}:CooldownRemainsP()
. -
buff.{spell}.up
: this will be parsed asPlayer:Buff({SpellBuff})
. -
buff.{spell}.remains
: this will be parsed asPlayer:BuffRemains({SpellBuff})
. -
buff.{spell}.stacks
: this will be parsed asPlayer:BuffStacks({SpellBuff})
. -
runic_power
: this will be parsed asPlayer:RunicPower()
. -
runic_power.deficit
: this will be parsed asPlayer:RunicPowerDeficit()
. -
talent.{spell}.enabled
: this will be parsed asS.{Spell}:IsAvailable()
. -
gcd
: this will be parsed asPlayer:GCD()
. -
charges_fractional
: this will be parsed asS.BloodBoil:ChargesFractional()
. -
rune.time_to_3
: this will be parsed asPlayer:RuneTimeToX(3)
.