Ovale Spell Priority

Conditions

ArmorSetParts

(number or boolean ) Get how many pieces of an armor set, e.g., Tier 14 set, are equipped by the player.

Parameters

name
The name of the armor set. Valid names: T11, T12, T13, T14, T15. Valid names for hybrid classes: append _caster, _heal, _melee, _tank.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of pieces of the named set that are equipped by the player.
  2. A boolean value for the result of the comparison.

Usage

if ArmorSetParts(T13) >=2 and target.HealthPercent() <60
    Spell(ferocious_bite)
if ArmorSetParts(T13 more 1) and TargetHealthPercent(less 60)
    Spell(ferocious_bite)


AttackPower

(number or boolean ) Get the current attack power of the player.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current attack power.
  2. A boolean value for the result of the comparison.

Usage

if AttackPower() >10000 Spell(rake)
if AttackPower(more 10000) Spell(rake)

See also

  • LastAttackPower


BuffAttackPower

(number ) Get the player's attack power at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The attack power.

Usage

if AttackPower() >target.DebuffAttackPower(rake) Spell(rake)

See also

  • DebuffAttackPower


BuffComboPoints

(number ) Get the player's combo points for the given aura at the time the aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of combo points.

Usage

if target.DebuffComboPoints(rip) <5 Spell(rip)

See also

  • DebuffComboPoints


BuffCount

(number ) Get the total count of the given aura applied by the player across all targets.

Parameters

id
The aura spell ID.

Return value

The total aura count.

See also

  • DebuffCount


BuffDamageMultiplier

(number ) Get the player's damage multiplier for the given aura at the time the aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The damage multiplier.

Usage

if target.DebuffDamageMultiplier(rake) <1 Spell(rake)

See also

  • DebuffDamageMultiplier


BuffDuration

(number or boolean ) Get the total duration of the aura from when it was first applied to when it ended.

Parameters

id
The aura spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The total duration of the aura.
  2. A boolean value for the result of the comparison.

See also

  • DebuffDuration


BuffExpires

(boolean ) Test if an aura is expired, or will expire after a given number of seconds.

Parameters

id
The spell ID of the aura or the name of a spell list.
seconds
Optional. The maximum number of seconds before the buff should expire. Defaults to 0 (zero).
any
Optional. Sets by whom the aura was applied. If the aura can be applied by anyone, then set any=1. Defaults to any=0. Valid values: 0, 1.
haste
Optional. Sets whether "seconds" should be lengthened or shortened due to haste. Defaults to haste=none. Valid values: melee, spell, none.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if BuffExpires(stamina any=1)
    Spell(power_word_fortitude)
if target.DebuffExpires(rake 2)
    Spell(rake)

See also

  • DebuffExpires


BuffMastery

(number ) Get the player's mastery effect at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The mastery effect.

Usage

if Mastery() >target.DebuffMastery(rip) Spell(rip)

See also

  • DebuffMastery


BuffMeleeCritChance

(number ) Get the player's melee critical strike chance at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The critical strike chance.

Usage

if MeleeCritChance() >target.DebuffMeleeCritChance(rake) Spell(rake)

See also

  • DebuffMeleeCritChance


BuffPresent

(boolean ) Test if an aura is present or if the remaining time on the aura is more than the given number of seconds.

Parameters

id
The spell ID of the aura or the name of a spell list.
seconds
Optional. The mininum number of seconds before the buff should expire. Defaults to 0 (zero).
any
Optional. Sets by whom the aura was applied. If the aura can be applied by anyone, then set any=1. Defaults to any=0. Valid values: 0, 1.
haste
Optional. Sets whether "seconds" should be lengthened or shortened due to haste. Defaults to haste=none. Valid values: melee, spell, none.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if not BuffPresent(stamina any=1)
    Spell(power_word_fortitude)
if not target.DebuffPresent(rake 2)
    Spell(rake)

See also

  • DebuffPresent


BuffRangedAttackPower

(number ) Get the player's ranged attack power at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The ranged attack power.

Usage

if RangedAttackPower() >target.DebuffRangedAttackPower(serpent_sting_dot)
    Spell(serpent_sting)

See also

  • DebuffRangedAttackPower


BuffRangedCritChance

(number ) Get the player's ranged critical strike chance at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The critical strike chance.

Usage

if RangedCritChance() >target.DebuffRangedCritChance(serpent_sting_dot)
    Spell(serpent_sting)

See also

  • DebuffRangedCritChance


BuffRemains

(number ) Get the remaining time in seconds on an aura.

Parameters

id
The spell ID of the aura or the name of a spell list.
any
Optional. Sets by whom the aura was applied. If the aura can be applied by anyone, then set any=1. Defaults to any=0. Valid values: 0, 1.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of seconds remaining on the aura.

Usage

if BuffRemains(slice_and_dice) <2
    Spell(slice_and_dice)

See also

  • DebuffRemains


BuffSpellCritChance

(number ) Get the player's spell critical strike chance at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The critical strike chance.

Usage

if SpellCritChance() >target.DebuffSpellCritChance(moonfire) Spell(moonfire)

See also

  • DebuffSpellCritChance


BuffSpellHaste

(number ) Get the player's spell haste at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The percent increase to spell haste.

Usage

if SpellHaste() >target.DebuffSpellHaste(moonfire) Spell(moonfire)

See also

  • DebuffSpellHaste


BuffSpellpower

(number ) Get the player's spellpower at the time the given aura was applied on the target.

Parameters

id
The aura spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The spellpower.

Usage

if Spellpower() >target.DebuffSpellpower(moonfire) Spell(moonfire)

See also

  • DebuffSpellpower


BuffStacks

(number ) Get the number of stacks of an aura on the target.

Parameters

id
The spell ID of the aura or the name of a spell list.
any
Optional. Sets by whom the aura was applied. If the aura can be applied by anyone, then set any=1. Defaults to any=0. Valid values: 0, 1.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of stacks of the aura.

Usage

if BuffStacks(pet_frenzy any=1) ==5
    Spell(focus_fire)
if target.DebuffStacks(weakened_armor) <3
    Spell(faerie_fire)

See also

  • DebuffStacks


BuffStealable

(boolean ) Test if there is a stealable buff on the target.

Parameters

target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.BuffStealable()
    Spell(spellsteal)


BurningEmbers

(number or boolean ) Get the current number of Burning Embers for destruction warlocks.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The number of Burning Embers.
  2. A boolean value for the result of the comparison.

Usage

if BurningEmbers() >10 Spell(chaos_bolt)
if BurningEmbers(more 10) Spell(chaos_bolt)


CastTime

(number or boolean ) Get the cast time in seconds of the spell for the player, taking into account current haste effects.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The number of seconds.
  2. A boolean value for the result of the comparison.

Usage

if target.DebuffRemains(flame_shock) < CastTime(lava_burst)
    Spell(lava_burst)

See also

  • RemainingCastTime


Casting

(boolean ) Test if the target is casting the given spell.
The spell may be specified either by spell ID, localized spell name, spell list name (as defined in SpellList), "harmful" for any harmful spell, or "helpful" for any helpful spell.

Parameters

spell
The spell to check. Valid values: spell ID, spell name, spell list name, harmful, helpful
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

Define(maloriak_release_aberrations 77569)
if target.Casting(maloriak_release_aberrations)
    Spell(pummel)


Charges

(number or boolean ) Get the number of charges on a spell with multiple charges.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of charges
  2. A boolean value for the result of the comparison.


CheckBoxOff

(boolean ) Test if all of the listed checkboxes are off.

Parameters

id
The name of a checkbox. It should match one defined by AddCheckBox(...).
...
Optional. Additional checkbox names.

Return value

A boolean value.

Usage

AddCheckBox(opt_black_arrow "Black Arrow" default)
if CheckBoxOff(opt_black_arrow) Spell(explosive_trap)

See also

  • CheckBoxOn


CheckBoxOn

(boolean ) Test if all of the listed checkboxes are on.

Parameters

id
The name of a checkbox. It should match one defined by AddCheckBox(...).
...
Optional. Additional checkbox names.

Return value

A boolean value.

Usage

AddCheckBox(opt_black_arrow "Black Arrow" default)
if CheckBoxOn(opt_black_arrow) Spell(black_arrow)

See also

  • CheckBoxOff


Chi

(number or boolean ) Get the current amount of stored Chi for monks.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The amount of stored Chi.
  2. A boolean value for the result of the comparison.

Usage

if Chi() ==4 Spell(chi_burst)
if Chi(more 3) Spell(chi_burst)


Class

(boolean ) Test whether the target's class matches the given class.

Parameters

class
The class to check. Valid values: DEATHKNIGHT, DRUID, HUNTER, MAGE, MONK, PALADIN, PRIEST, ROGUE, SHAMAN, WARLOCK, WARRIOR.
yesno
Optional. If yes, then return true if it matches. If no, then return true if it doesn't match. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.Class(PRIEST) Spell(cheap_shot)


Classification

(boolean ) Test whether the target's classification matches the given classification.

Parameters

classification
The unit classification to check. Valid values: normal, elite, worldboss.
yesno
Optional. If yes, then return true if it matches. If no, then return true if it doesn't match. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.Classification(worldboss) Item(virmens_bite_potion)


ComboPoints

(number or boolean ) Get the number of combo points on the currently selected target for a feral druid or a rogue.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of combo points.
  2. A boolean value for the result of the comparison.

Usage

if ComboPoints() >=1 Spell(savage_roar)
if ComboPoints(more 0) Spell(savage_roar)

See also

  • LastComboPoints


Counter

(number or boolean ) Get the current value of a script counter.

Parameters

id
The name of the counter. It should match one that's defined by inccounter=xxx in SpellInfo(...).
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current value the counter.
  2. A boolean value for the result of the comparison.


CreatureFamily

(boolean ) Test whether the target's creature family matches the given name.
Applies only to beasts that can be taken as hunter pets (e.g., cats, worms, and ravagers but not zhevras, talbuks and pterrordax), demons that can be summoned by Warlocks (e.g., imps and felguards, but not demons that require enslaving such as infernals and doomguards or world demons such as pit lords and armored voidwalkers), and Death Knight's pets (ghouls)

Parameters

name
The English name of the creature family to check. Valid values: Bat, Beast, Felguard, Imp, Ravager, etc.
yesno
Optional. If yes, then return true if it matches. If no, then return true if it doesn't match. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if pet.CreatureFamily(Felguard)
    Spell(summon_felhunter)
if target.CreatureFamily(Dragonkin)
    Spell(hibernate)


CreatureType

(boolean ) Test if the target is any of the listed creature types.

Parameters

name
The English name of a creature type. Valid values: Beast, Humanoid, Undead, etc.
...
Optional. Additional creature types.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.CreatureType(Humanoid Critter)
    Spell(polymorph)


CritDamage

(number ) Get the current estimated damage of a spell on the target if it is a critical strike.

Parameters

id
The spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The estimated critical strike damage of the given spell.

See also

  • Damage
  • LastDamage
  • LastEstimatedDamage


Damage

(number ) Get the current estimated damage of a spell on the target.
The calculated damage takes into account the current attack power, spellpower, weapon damage and combo points (if used). The damage is computed from information for the spell set via SpellInfo(...):

damage = base + bonusmainhand * MH + bonusoffhand * OH + bonusap * AP + bonuscp * CP + bonusapcp * AP * CP + bonussp * SP

Parameters

id
The spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The estimated damage of the given spell on the target.

Usage

if {target.Damage(rake) / target.LastEstimateDamage(rake)} >1.1
    Spell(rake)

See also

  • CritDamage
  • LastDamage
  • LastEstimatedDamage


DamageMultiplier

(number ) Get the current damage multiplier of a spell.
This currently does not take into account increased damage due to mastery.

Parameters

id
The spell ID.

Return value

The current damage multiplier of the given spell.

Usage

if {DamageMultiplier(rupture) / LastDamageMultiplier(rupture)} >1.1
    Spell(rupture)

See also

  • LastDamageMultiplier


DamageTaken

(number ) Get the damage taken by the player in the previous time interval.

Parameters

interval
The number of seconds before now.

Return value

The amount of damage taken in the previous interval.

Usage

if DamageTaken(5) > 50000 Spell(death_strike)

See also

  • IncomingDamage


DemonicFury

(number or boolean ) Get the current amount of demonic fury for demonology warlocks.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The amount of demonic fury.
  2. A boolean value for the result of the comparison.

Usage

if DemonicFury() >=1000 Spell(metamorphosis)
if DemonicFury(more 999) Spell(metamorphosis)


Distance

(number or boolean ) Get the distance in yards to the target.
The distances are from LibRangeCheck-2.0, which determines distance based on spell range checks, so results are approximate. You should not test for equality.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The distance to the target.
  2. A boolean value for the result of the comparison.

Usage

if target.Distance(less 25)
    Texture(ability_rogue_sprint)


Eclipse

(number or boolean ) Get the current amount of Eclipse power for balance druids.
A negative amount of power signifies being closer to Lunar Eclipse. A positive amount of power signifies being closer to Solar Eclipse.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The amount of Eclipse power.
  2. A boolean value for the result of the comparison.

Usage

if Eclipse() < 0-70 and EclipseDir() <0 Spell(wrath)
if Eclipse(less -70) and EclipseDir(less 0) Spell(wrath)

See also

  • EclipseDir


EclipseDir

(number or boolean ) Get the current direction of the Eclipse status on the Eclipse bar for balance druids.
A negative number means heading toward Lunar Eclipse. A positive number means heading toward Solar Eclipse.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current direction.
  2. A boolean value for the result of the comparison.

Usage

if Eclipse() < 0-70 and EclipseDir() <0 Spell(wrath)
if Eclipse(less -70) and EclipseDir(less 0) Spell(wrath)

See also

  • Eclipse


Enemies

(number or boolean ) Get the number of hostile enemies on the battlefield.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of enemies.
  2. A boolean value for the result of the comparison.

Usage

if Enemies() >4 Spell(fan_of_knives)
if Enemies(more 4) Spell(fan_of_knives)


Energy

(number or boolean ) Get the current amount of energy for feral druids, non-mistweaver monks, and rogues.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The current energy.
  2. A boolean value for the result of the comparison.

Usage

if Energy() >70 Spell(vanish)
if Energy(more 70) Spell(vanish)


EnergyRegen

(number or boolean ) Get the amount of regenerated energy per second for feral druids, non-mistweaver monks, and rogues.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current rate of energy regeneration.
  2. A boolean value for the result of the comparison.

Usage

if EnergyRegen() >11 Spell(stance_of_the_sturdy_ox)


Exists

(boolean ) Test if the target exists.
The target may be alive or dead.

Parameters

yesno
Optional. If yes, then return true if the target exists. If no, then return true if it doesn't exist. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if pet.Exists(no) Spell(summon_imp)

See also

  • Present


False

(boolean ) A condition that always returns false.

Return value

A boolean value.


Focus

(number or boolean ) Get the current amount of focus for hunters.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The current focus.
  2. A boolean value for the result of the comparison.

Usage

if Focus() >70 Spell(arcane_shot)
if Focus(more 70) Spell(arcane_shot)


FocusRegen

(number or boolean ) Get the amount of regenerated focus per second for hunters.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current rate of focus regeneration.
  2. A boolean value for the result of the comparison.

Usage

if FocusRegen() >20 Spell(arcane_shot)
if FocusRegen(more 20) Spell(arcane_shot)


GCD

(number or boolean ) Get the player's global cooldown in seconds.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of seconds.
  2. A boolean value for the result of the comparison.

Usage

if GCD() <1.1 Spell(frostfire_bolt)
if GCD(less 1.1) Spell(frostfire_bolt)


Glyph

(boolean ) Test if the given glyph is active.

Parameters

id
The glyph spell ID.
yesno
Optional. If yes, then return true if the glyph is active. If no, then return true if it isn't active. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if InCombat(no) and Glyph(glyph_of_savagery)
    Spell(savage_roar)


HasFullControl

(boolean ) Test if the player has full control, i.e., isn't feared, charmed, etc.

Parameters

yesno
Optional. If yes, then return true if the target exists. If no, then return true if it doesn't exist. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if HasFullControl(no) Spell(barkskin)


HasShield

(boolean ) Test if the player has a shield equipped.

Parameters

yesno
Optional. If yes, then return true if a shield is equipped. If no, then return true if it isn't equipped. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if HasShield() Spell(shield_wall)


HasTrinket

(boolean ) Test if the player has a particular trinket equipped.

Parameters

id
The item ID of the trinket or the name of an item list.
yesno
Optional. If yes, then return true if the trinket is equipped. If no, then return true if it isn't equipped. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

ItemList(rune_of_reorigination 94532 95802 96546)
if HasTrinket(rune_of_reorigination) and BuffPresent(rune_of_reorigination_buff)
    Spell(rake)


HasWeapon

(boolean ) Test if the player has a weapon equipped.

Parameters

hand
Sets which hand weapon. Valid values: mainhand, offhand.
yesno
Optional. If yes, then return true if the weapon is equipped. If no, then return true if it isn't equipped. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if HasWeapon(offhand) and BuffStacks(killing_machine) Spell(frost_strike)


Health

(number or boolean ) Get the current amount of health points of the target.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The current health.
  2. A boolean value for the result of the comparison.

Usage

if Health() <10000 Spell(last_stand)
if Health(less 10000) Spell(last_stand)

See also

  • Life


HealthMissing

(number or boolean ) Get the number of health points away from full health of the target.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The current missing health.
  2. A boolean value for the result of the comparison.

Usage

if HealthMissing() <20000 Item(healthstone)
if HealthMissing(less 20000) Item(healthstone)

See also

  • LifeMissing


HealthPercent

(number or boolean ) Get the current percent level of health of the target.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The current health percent.
  2. A boolean value for the result of the comparison.

Usage

if HealthPercent() <20 Spell(last_stand)
if target.HealthPercent(less 25) Spell(kill_shot)

See also

  • LifePercent


HolyPower

(number or boolean ) Get the current amount of holy power for a paladin.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The amount of holy power.
  2. A boolean value for the result of the comparison.

Usage

if HolyPower() >=3 Spell(word_of_glory)
if HolyPower(more 2) Spell(word_of_glory)


InCombat

(boolean ) Test if the player is in combat.

Parameters

yesno
Optional. If yes, then return true if the player is in combat. If no, then return true if the player isn't in combat. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if InCombat(no) and Stealthed(no) Spell(stealth)


InFlightToTarget

(boolean ) Test if the given spell is in flight for spells that have a flight time after cast, e.g., Lava Burst.

Parameters

id
The spell ID.
yesno
Optional. If yes, then return true if the spell is in flight. If no, then return true if it isn't in flight. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if target.DebuffRemains(haunt) <3 and not InFlightToTarget(haunt)
    Spell(haunt)


InRange

(boolean ) Test if the distance from the player to the target is within the spell's range.

Parameters

id
The spell ID.
yesno
Optional. If yes, then return true if the target is in range. If no, then return true if it isn't in range. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if target.IsInterruptible() and target.InRange(kick)
    Spell(kick)


IsAggroed

(boolean ) Test if the target's primary aggro is on the player.
Even if the target briefly targets and casts a spell on another raid member, this condition returns true as long as the player is highest on the threat table.

Parameters

yesno
Optional. If yes, then return true if the target is aggroed. If no, then return true if it isn't aggroed. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.IsAggroed() Spell(feign_death)


IsFeared

(boolean ) Test if the player is feared.

Parameters

yesno
Optional. If yes, then return true if feared. If no, then return true if it not feared. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if IsFeared() Spell(every_man_for_himself)


IsFriend

(boolean ) Test if the target is friendly to the player.

Parameters

yesno
Optional. If yes, then return true if the target is friendly (able to help in combat). If no, then return true if it isn't friendly. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.IsFriend() Spell(healing_touch)


IsIncapacitated

(boolean ) Test if the player is incapacitated.

Parameters

yesno
Optional. If yes, then return true if incapacitated. If no, then return true if it not incapacitated. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if IsIncapacitated() Spell(every_man_for_himself)


IsInterruptible

(boolean ) Test if the target is currently casting an interruptible spell.

Parameters

yesno
Optional. If yes, then return true if the target is interruptible. If no, then return true if it isn't interruptible. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.IsInterruptible() Spell(kick)


IsPVP

(boolean ) Test if the target is flagged for PvP activity.

Parameters

yesno
Optional. If yes, then return true if the target is flagged for PvP activity. If no, then return true if it isn't PvP-flagged. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if not target.IsFriend() and target.IsPVP() Spell(sap)


IsRooted

(boolean ) Test if the player is rooted.

Parameters

yesno
Optional. If yes, then return true if rooted. If no, then return true if it not rooted. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if IsRooted() Item(Trinket0Slot usable=1)


IsStunned

(boolean ) Test if the player is stunned.

Parameters

yesno
Optional. If yes, then return true if stunned. If no, then return true if it not stunned. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if IsStunned() Item(Trinket0Slot usable=1)


ItemCharges

(number or boolean ) Get the current number of charges of the given item in the player's inventory.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of charges.
  2. A boolean value for the result of the comparison.

Usage

if ItemCount(mana_gem) ==0 or ItemCharges(mana_gem) <3
    Spell(conjure_mana_gem)
if ItemCount(mana_gem equal 0) or ItemCharges(mana_gem less 3)
    Spell(conjure_mana_gem)


ItemCooldown

(number ) Get the cooldown time in seconds of an item, e.g., trinket.

Parameters

id
The item ID.

Return value

The number of seconds.

Usage

if not ItemCooldown(ancient_petrified_seed) >0
    Spell(berserk_cat)


ItemCount

(number or boolean ) Get the current number of the given item in the player's inventory.
Items with more than one charge count as one item.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The count of the item.
  2. A boolean value for the result of the comparison.

Usage

if ItemCount(mana_gem) ==0 Spell(conjure_mana_gem)
if ItemCount(mana_gem equal 0) Spell(conjure_mana_gem)


LastAttackPower

(number or boolean ) Get the attack power of the player during the most recent cast of a spell on the target.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous attack power.
  2. A boolean value for the result of the comparison.

Usage

if {AttackPower() / target.LastAttackPower(hemorrhage)} >1.25
    Spell(hemorrhage)

See also

  • AttackPower


LastComboPoints

(number or boolean ) Get the number of combo points consumed by the most recent cast of a spell on the target for a feral druid or a rogue.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The number of combo points.
  2. A boolean value for the result of the comparison.

Usage

if ComboPoints() >3 and target.LastComboPoints(rip) <3
    Spell(rip)

See also

  • ComboPoints


LastDamage

(number or boolean ) Get the damage done by the most recent damage event for the given spell.
If the spell is a periodic aura, then it gives the damage done by the most recent tick.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The damage done.
  2. A boolean value for the result of the comparison.

Usage

if LastDamage(ignite) >10000 Spell(combustion)
if LastDamage(ignite more 10000) Spell(combustion)

See also

  • Damage
  • LastEstimatedDamage


LastDamageMultiplier

(number or boolean ) Get the damage multiplier of the most recent cast of a spell on the target.
This currently does not take into account increased damage due to mastery.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous damage multiplier.
  2. A boolean value for the result of the comparison.

Usage

if {DamageMultiplier(rupture) / target.LastDamageMultiplier(rupture)} >1.1
    Spell(rupture)

See also

  • DamageMultiplier


LastEstimatedDamage

(number ) Get the estimated damage of the most recent cast of the player's spell on the target.
The calculated damage takes into account the values of attack power, spellpower, weapon damage and combo points (if used) at the time the spell was most recent cast. The damage is computed from information for the spell set via SpellInfo(...):

damage = base + bonusmainhand * MH + bonusoffhand * OH + bonusap * AP + bonuscp * CP + bonusapcp * AP * CP + bonussp * SP

Parameters

id
The spell ID.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return value

The estimated damage of the most recent cast of the given spell by the player.

Usage

if {Damage(rake) / target.LastEstimateDamage(rake)} >1.1
    Spell(rake)

See also

  • Damage
  • LastDamage


LastMastery

(number or boolean ) Get the mastery effect of the player during the most recent cast of a spell on the target.
Mastery effect is the effect of the player's mastery, typically a percent-increase to damage or a percent-increase to chance to trigger some effect.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous mastery effect.
  2. A boolean value for the result of the comparison.

Usage

if {Mastery(shadow_bolt) - LastMastery(shadow_bolt)} > 1000
    Spell(metamorphosis)

See also

  • Mastery


LastMeleeCritChance

(number or boolean ) Get the melee critical strike chance of the player during the most recent cast of a spell on the target.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous critical strike chance.
  2. A boolean value for the result of the comparison.

Usage

if MeleeCritChance() > target.LastMeleeCritChance(rip)
    Spell(rip)

See also

  • MeleeCritChance


LastRangedCritChance

(number or boolean ) Get the ranged critical strike chance of the player during the most recent cast of a spell on the target.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous critical strike chance.
  2. A boolean value for the result of the comparison.

Usage

if RangedCritChance() > target.LastRangedCritChance(serpent_sting_dot)
    Spell(serpent_sting)

See also

  • RangedCritChance


LastSpellCritChance

(number or boolean ) Get the spell critical strike chance of the player during the most recent cast of a spell on the target.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous critical strike chance.
  2. A boolean value for the result of the comparison.

Usage

if SpellCritChance() > target.LastSpellCritChance(shadow_bolt)
    Spell(metamorphosis)

See also

  • SpellCritChance


LastSpellpower

(number or boolean ) Get the spellpower of the player during the most recent cast of a spell on the target.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The previous spellpower.
  2. A boolean value for the result of the comparison.

Usage

if {Spellpower() / target.LastSpellpower(living_bomb)} >1.25
    Spell(living_bomb)

See also

  • Spellpower


LastSwing

(number ) Get the time elapsed in seconds since the player's previous melee swing (white attack).

Parameters

hand
Optional. Sets which hand weapon's melee swing. If no hand is specified, then return the time elapsed since the previous swing of either hand's weapon. Valid values: main, off.

Return value

The number of seconds.

See also

  • NextSwing


Latency

(number or boolean ) Get the most recent estimate of roundtrip latency in milliseconds.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number of milliseconds to compare against.

Return values

  1. The most recent estimate of latency.
  2. A boolean value for the result of the comparison.

Usage

if Latency() >1000 Spell(sinister_strike)
if Latency(more 1000) Spell(sinister_strike)


Level

(number or boolean ) Get the level of the target.

Parameters

target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The level of the target.
  2. A boolean value for the result of the comparison.

Usage

if Level() >=34 Spell(tiger_palm)
if Level(more 33) Spell(tiger_palm)


List

(boolean ) Test if a list is currently set to the given value.

Parameters

id
The name of a list. It should match one defined by AddListItem(...).
value
The value to test.

Return value

A boolean value.

Usage

AddListItem(opt_curse coe "Curse of the Elements" default)
AddListItem(opt_curse cot "Curse of Tongues")
if List(opt_curse coe) Spell(curse_of_the_elements)


Mana

(number or boolean ) Get the current level of mana of the target.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The current mana.
  2. A boolean value for the result of the comparison.

Usage

if {MaxMana() - Mana()} > 12500 Item(mana_gem)


ManaPercent

(number or boolean ) Get the current percent level of mana (between 0 and 100) of the target.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The current mana percent.
  2. A boolean value for the result of the comparison.

Usage

if ManaPercent() >90 Spell(arcane_blast)
if ManaPercent(more 90) Spell(arcane_blast)


Mastery

(number or boolean ) Get the current mastery effect of the player.
Mastery effect is the effect of the player's mastery, typically a percent-increase to damage or a percent-increase to chance to trigger some effect.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current mastery effect.
  2. A boolean value for the result of the comparison.

Usage

if {DamageMultiplier(rake) * {1 + Mastery()/100}} >1.8
    Spell(rake)

See also

  • LastMastery


MaxHealth

(number or boolean ) Get the amount of health points of the target when it is at full health.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The maximum health.
  2. A boolean value for the result of the comparison.

Usage

if target.MaxHealth() >10000000 Item(mogu_power_potion)
if target.MaxHealth(more 10000000) Item(mogu_power_potion)


MaxMana

(number or boolean ) Get the level of mana of the target when it is at full mana.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The maximum mana.
  2. A boolean value for the result of the comparison.

Usage

if {MaxMana() - Mana()} > 12500 Item(mana_gem)


MeleeCritChance

(number or boolean ) Get the current melee critical strike chance of the player.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1

Return values

  1. The current critical strike chance (in percent).
  2. A boolean value for the result of the comparison.

Usage

if MeleeCritChance() >90 Spell(rip)

See also

  • LastMeleeCritChance


NextSwing

(number ) Get the time in seconds until the player's next melee swing (white attack).

Parameters

hand
Optional. Sets which hand weapon's melee swing. If no hand is specified, then return the time until the next swing of either hand's weapon. Valid values: main, off.

Return value

The number of seconds

See also

  • LastSwing


NextTick

(number ) Get the number of seconds until the next tick of a periodic aura on the target.

Parameters

id
The spell ID of the aura or the name of a spell list.
filter
Optional. The type of aura to check. Default is any. Valid values: any, buff, debuff
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of seconds.

See also

  • Ticks
  • TicksRemain
  • TickTime


OtherDebuffExpires

(boolean ) Test if an aura applied by the player is expired, or will expire after a given number of seconds, on every unit other than the current target.

Parameters

id
The spell ID of the aura or the name of a spell list.
seconds
Optional. The maximum number of seconds before the aura should expire. Defaults to 0 (zero).
haste
Optional. Sets whether "seconds" should be lengthened or shortened due to haste. Defaults to haste=none. Valid values: melee, spell, none.

Return value

A boolean value.

Usage

if OtherDebuffExpires(deep_wounds)
    Spell(thunder_clap)

See also

  • OtherBuffExpires


OtherDebuffPresent

(boolean ) Test if an aura applied by the player is present, or if the remaining time on the aura is more than the given number of seconds, on at least one unit other than the current target.

Parameters

id
The spell ID of the aura or the name of a spell list.
seconds
Optional. The mininum number of seconds before the aura should expire. Defaults to 0 (zero).
haste
Optional. Sets whether "seconds" should be lengthened or shortened due to haste. Defaults to haste=none. Valid values: melee, spell, none.

Return value

A boolean value.

Usage

if not OtherDebuffPresent(devouring_plague)
    Spell(devouring_plague)

See also

  • OtherBuffPresent


OtherDebuffRemains

(number ) Get the remaining time in seconds on an aura applied by the player across every unit other than the current target.

Parameters

id
The spell ID of the aura or the name of a spell list.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of seconds remaining on the aura.

Usage

if OtherDebuffRemains(devouring_plague) <2
    Spell(devouring_plague)

See also

  • OtherBuffRemains


OvaleCondition.conditions.ptr(boolean

) Test if the game is on a PTR server

Parameters

yesno
Optional. If yes, then returns true if it is a PTR realm. If no, return true if it is a live realm. Default is yes. Valid values: yes, no.

Return value

A boolean value


PetPresent

(boolean ) Test if the pet exists and is alive.
PetPresent() is equivalent to pet.Present().

Parameters

yesno
Optional. If yes, then return true if the target exists. If no, then return true if it doesn't exist. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if target.IsInterruptible() and PetPresent(yes)
    Spell(pet_pummel)

See also

  • Present


PowerCost

(number ) Get the resource cost of the given spell.

Parameters

id
The spell ID.

Return value

The amount of power (energy, focus, rage, etc.).

Usage

if Energy() > PowerCost(rake) Spell(rake)

See also

  • EnergyCost
  • FocusCost
  • ManaCost
  • RageCost


Present

(boolean ) Test if the target exists and is alive.

Parameters

yesno
Optional. If yes, then return true if the target exists. If no, then return true if it doesn't exist. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.IsInterruptible() and pet.Present(yes)
    Spell(pet_pummel)

See also

  • Exists


PreviousSpell

(boolean ) Test if the previous spell cast matches the given spell.

Parameters

id
The spell ID.
yesno
Optional. If yes, then return true if there is a match. If no, then return true if it doesn't match. Default is yes. Valid values: yes, no.

Return value

A boolean value.


Rage

(number or boolean ) Get the current amount of rage for guardian druids and warriors.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The current rage.
  2. A boolean value for the result of the comparison.

Usage

if Rage() >70 Spell(heroic_strike)
if Rage(more 70) Spell(heroic_strike)


RangedCritChance

(number or boolean ) Get the current ranged critical strike chance of the player.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1

Return values

  1. The current critical strike chance (in percent).
  2. A boolean value for the result of the comparison.

Usage

if RangedCritChance() >90 Spell(serpent_sting)

See also

  • LastRangedCritChance


RelativeLevel

(number or boolean ) Get the result of the target's level minus the player's level.
This number may be negative.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The difference in levels.
  2. A boolean value for the result of the comparison.

Usage

if target.RelativeLevel() >3
    Texture(ability_rogue_sprint)
if target.RelativeLevel(more 3)
    Texture(ability_rogue_sprint)


RemainingCastTime

(number ) Get the remaining cast time in seconds of the target's current spell cast.

Parameters

target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of seconds.

Usage

if target.Casting(hour_of_twilight) and target.RemainingCastTime() <2
    Spell(cloak_of_shadows)

See also

  • CastTime


RuneCount

(number ) Get the current number of runes of the given type for death knights.

Parameters

type
The type of rune. Valid values: blood, frost, unholy, death
death
Sets whether death runes can fulfill the rune count requirements. If set to 1, then death runes are allowed. Defaults to death=0 (zero). Valid values: 0, 1.

Return value

The number of runes.

Usage

if RuneCount(unholy) ==2 or RuneCount(frost) ==2 or RuneCount(death) ==2
    Spell(obliterate)


Runes

(boolean ) Test if the current rune count meets the minimum rune requirements set out in the parameters.
This condition takes pairs of "type number" to mean that there must be a minimum of number runes of the named type. E.g., Runes(blood 1 frost 1 unholy 1) means at least one blood, one frost, and one unholy rune is available, death runes included.

Parameters

type
The type of rune. Valid values: blood, frost, unholy, death
number
The number of runes
...
Optional. Additional "type number" pairs for minimum rune requirements.
nodeath
Sets whether death runes can fulfill the rune count requirements. If set to 0, then death runes are allowed. Defaults to nodeath=0 (zero). Valid values: 0, 1.

Return value

A boolean value.

Usage

if Runes(frost 1) Spell(howling_blast)


RunesCooldown

(number ) Get the number of seconds before the rune conditions are met.
This condition takes pairs of "type number" to mean that there must be a minimum of number runes of the named type. E.g., RunesCooldown(blood 1 frost 1 unholy 1) returns the number of seconds before there are at least one blood, one frost, and one unholy rune, death runes included.

Parameters

type
The type of rune. Valid values: blood, frost, unholy, death
number
The number of runes
...
Optional. Additional "type number" pairs for minimum rune requirements.
nodeath
Sets whether death runes can fulfill the rune count requirements. If set to 0, then death runes are allowed. Defaults to nodeath=0 (zero). Valid values: 0, 1.

Return value

The number of seconds.

Usage

if Runes(frost 1) Spell(howling_blast)


RunicPower

(number or boolean ) Get the current amount of runic power for death knights.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The current runic power.
  2. A boolean value for the result of the comparison.

Usage

if RunicPower() >70 Spell(frost_strike)
if RunicPower(more 70) Spell(frost_strike)


ShadowOrbs

(number or boolean ) Get the current number of Shadow Orbs for shadow priests.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The number of Shadow Orbs.
  2. A boolean value for the result of the comparison.

Usage

if ShadowOrbs() >2 Spell(mind_blast)
if ShadowOrbs(more 2) Spell(mind_blast)


SoulShards

(number or boolean ) Get the current number of Soul Shards for warlocks.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of Soul Shards.
  2. A boolean value for the result of the comparison.

Usage

if SoulShards() >0 Spell(summon_felhunter)
if SoulShards(more 0) Spell(summon_felhunter)


Speed

(number or boolean ) Get the current speed of the target.
If the target is not moving, then this condition returns 0 (zero). If the target is at running speed, then this condition returns 100.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The speed of the target.
  2. A boolean value for the result of the comparison.

Usage

if Speed(more 0) and not BuffPresent(aspect_of_the_fox)
    Spell(aspect_of_the_fox)


SpellChargeCooldown

(number ) Get the cooldown in seconds on a spell before it gains another charge.

Parameters

id
The spell ID.

Return value

The number of seconds.

Usage

if SpellChargeCooldown(roll) <2
    Spell(roll usable=1)

See also

  • SpellCharges


SpellCharges

(number or boolean ) Get the number of charges of the spell.

Parameters

id
The spell ID.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of charges.
  2. A boolean value for the result of the comparison.

Usage

if SpellCharges(savage_defense) >1
    Spell(savage_defense)

See also

  • SpellChargeCooldown


SpellCooldown

(number ) Get the cooldown in seconds before a spell is ready for use.

Parameters

id
The spell ID.

Return value

The number of seconds.

Usage

if ShadowOrbs() ==3 and SpellCooldown(mind_blast) <2
    Spell(devouring_plague)


SpellCritChance

(number or boolean ) Get the current spell critical strike chance of the player.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
unlimited
Optional. Set unlimited=1 to allow critical strike chance to exceed 100%. Defaults to unlimited=0. Valid values: 0, 1

Return values

  1. The current critical strike chance (in percent).
  2. A boolean value for the result of the comparison.

Usage

if SpellCritChance() >30 Spell(immolate)

See also

  • CritChance
  • LastSpellCritChance


SpellData

(number ) Get data for the given spell defined by SpellInfo(...)

Parameters

id
The spell ID.
key
The name of the data set by SpellInfo(...). Valid values are any alphanumeric string.

Return value

The number data associated with the given key.

Usage

if BuffRemains(slice_and_dice) >= SpellData(shadow_blades duration)
    Spell(shadow_blades)


SpellHaste

(number or boolean ) Get the current percent increase to spell haste of the player.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current percent increase to spell haste.
  2. A boolean value for the result of the comparison.

Usage

if SpellHaste() >target.DebuffSpellHaste(moonfire) Spell(moonfire)

See also

  • BuffSpellHaste


SpellKnown

(boolean ) Test if the given spell is in the spellbook.
A spell is known if the player has learned the spell and it is in the spellbook.

Parameters

id
The spell ID.
yesno
Optional. If yes, then return true if the spell has been learned. If no, then return true if the player hasn't learned the spell. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if SpellKnown(avenging_wrath) and SpellCooldown(avenging_wrath) <10
    Spell(guardian_of_ancient_kings_retribution)

See also

  • SpellUsable


SpellUsable

(boolean ) Test if the given spell is usable.
A spell is usable if the player has learned the spell and has the resources required to cast the spell.

Parameters

id
The spell ID.
yesno
Optional. If yes, then return true if the spell has been learned and the player has enough resources to cast it. If no, then return true if the player can't cast the spell for one of the above reasons. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if SpellUsable(avenging_wrath) and SpellCooldown(avenging_wrath) <10
    Spell(guardian_of_ancient_kings_retribution)

See also

  • SpellKnown


Spellpower

(number or boolean ) Get the current spellpower of the player.

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The current spellpower.
  2. A boolean value for the result of the comparison.

Usage

if {Spellpower() / LastSpellpower(living_bomb)} >1.25
    Spell(living_bomb)

See also

  • LastSpellpower


StaggerRemains

(number ) Get the remaining amount of damage Stagger will cause to the target.

Parameters

target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The amount of damage.

Usage

if StaggerRemains() / MaxHealth() >0.4 Spell(purifying_brew)


Stance

(boolean ) Test if the player is in a given stance.

Parameters

stance
The stance name or a number representing the stance index.

Return value

A boolean value.

Usage

unless Stance(druid_bear_form) Spell(bear_form)


Stealthed

() Test if the player is currently stealthed.
The player is stealthed if rogue Stealth, druid Prowl, or a similar ability is active. Note that the rogue Vanish buff causes this condition to return false, but as soon as the buff disappears and the rogue is stealthed, this condition will return true.

Parameters

yesno
Optional. If yes, then return true if stealthed. If no, then return true if it not stealthed. Default is yes. Valid values: yes, no.

Return value

A boolean value.

Usage

if Stealthed() or BuffPresent(vanish_buff) or BuffPresent(shadow_dance)
    Spell(ambush)


TalentPoints

(number or boolean ) Get the number of points spent in a talent (0 or 1)

Parameters

talent
Talent to inspect.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of talent points.
  2. A boolean value for the result of the comparison.

Usage

if TalentPoints(blood_tap_talent) Spell(blood_tap)


TargetIsPlayer

(boolean ) Test if the player is the in-game target of the target.

Parameters

yesno
Optional. If yes, then return true if it matches. If no, then return true if it doesn't match. Default is yes. Valid values: yes, no.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

A boolean value.

Usage

if target.TargetIsPlayer() Spell(feign_death)


Threat

(number or boolean ) Get the amount of threat on the current target relative to the its primary aggro target, scaled to between 0 (zero) and 100.
This is a number between 0 (no threat) and 100 (will become the primary aggro target).

Parameters

operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=target. Valid values: player, target, focus, pet.

Return values

  1. The amount of threat.
  2. A boolean value for the result of the comparison.

Usage

if Threat() >90 Spell(fade)
if Threat(more 90) Spell(fade)


TickTime

(number or boolean ) Get the number of seconds between ticks of a periodic aura on a target.

Parameters

id
The spell ID of the aura or the name of a spell list.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.
filter
Optional. The type of aura to check. Default is any. Valid values: any, buff, debuff
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The number of seconds.
  2. A boolean value for the result of the comparison.

See also

  • NextTick
  • Ticks
  • TicksRemain


TickValue

(number or boolean ) Get the current tick value of a periodic aura on the target.

Parameters

id
The spell ID of the aura or the name of a spell list.
operator
Optional. Comparison operator: equal, less, more.
filter
Optional. The type of aura to check. Default is any. Valid values: any, buff, debuff
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The tick value.
  2. A boolean value for the result of the comparison.

Usage

if DebuffRemains(light_stagger) >0 and TickValue(light_stagger) >10000
    Spell(purifying_brew)

See also

  • TicksRemain


Ticks

(number or boolean ) Get the total number of ticks of a periodic aura.

Parameters

id
The spell ID of the aura or the name of a spell list.
operator
Optional. Comparison operator: equal, less, more.
number
Optional. The number to compare against.

Return values

  1. The number of ticks.
  2. A boolean value for the result of the comparison.

See also

  • NextTick
  • TicksRemain
  • TickTime


TicksAdded

(number ) Get the number of ticks that would be added if the dot is refreshed.
Not implemented, always returns 0.

Parameters

id
The aura spell ID

Return value

The number of added ticks.


TicksRemain

(number ) Get the remaining number of ticks of a periodic aura on a target.

Parameters

id
The spell ID of the aura or the name of a spell list.
filter
Optional. The type of aura to check. Default is any. Valid values: any, buff, debuff
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return value

The number of ticks.

Usage

if target.TicksRemain(shadow_word_pain) <2
    Spell(shadow_word_pain)

See also

  • NextTick
  • Ticks
  • TickTime


TimeInCombat

(number or boolean ) Get the number of seconds elapsed since the player entered combat.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.

Return values

  1. The number of seconds.
  2. A boolean value for the result of the comparison.

Usage

if TimeInCombat(more 5) Spell(bloodlust)


TimeToDie

(number or boolean ) Get the estimated number of seconds remaining before the target is dead.

Parameters

operator
Optional. Comparison operator: less, more.
number
Optional. The number to compare against.
target
Optional. Sets the target to check. The target may also be given as a prefix to the condition. Defaults to target=player. Valid values: player, target, focus, pet.

Return values

  1. The number of seconds.
  2. A boolean value for the result of the comparison.

Usage

if target.TimeToDie() <2 and ComboPoints() >0 Spell(eviscerate)
if target.TimeToDie(less 2) and ComboPoints() >0 Spell(eviscerate)

See also

  • DeadIn


TimeToMaxEnergy

(number or boolean ) Get the number of seconds before the player reaches maximum energy for feral druids, non-mistweaver monks and rogues.

Return value

The number of seconds.

Usage

if TimeToMaxEnergy() < 1.2 Spell(sinister_strike)

See also

  • TimeToEnergyFor


TimeToPowerFor

(number ) Get the number of seconds before the player has enough primary resources to cast the given spell.

Parameters

id
The spell ID.

Return value

The number of seconds.

See also

  • TimeToEnergyFor
  • TimeToFocusFor
  • TimeToMaxEnergy


TimeWithHaste

(number ) Get the time scaled by the specified haste type, defaulting to spell haste.
For example, if a DoT normally ticks every 3 seconds and is scaled by spell haste, then it ticks every TimeWithHaste(3 haste=spell) seconds.

Parameters

time
The time in seconds.
haste
Optional. Sets whether "time" should be lengthened or shortened due to haste. Defaults to haste=spell. Valid values: melee, spell.

Return value

The time in seconds scaled by haste.

Usage

if target.DebuffRemains(flame_shock) < TimeWithHaste(3)
    Spell(flame_shock)


TotemExpires

(boolean ) Test if the totem for shamans, the ghoul for death knights, or the statue for monks has expired.

Parameters

id
The totem ID of the totem, ghoul or statue, or the type of totem. Valid types: fire, water, air, earth, ghoul, statue.
seconds
Optional. The maximum number of seconds before the totem should expire. Defaults to 0 (zero).
totem
Optional. Sets the specific totem to check of given totem ID type. Valid values: any totem spell ID

Return value

A boolean value.

Usage

if TotemExpires(fire) Spell(searing_totem)
if TotemPresent(water totem=healing_stream_totem) and TotemExpires(water 3) Spell(totemic_recall)

See also

  • TotemPresent


TotemPresent

(boolean ) Test if the totem for shamans, the ghoul for death knights, or the statue for monks is present.

Parameters

id
The totem ID of the totem, ghoul or statue, or the type of totem. Valid types: fire, water, air, earth, ghoul, statue.
totem
Optional. Sets the specific totem to check of given totem ID type. Valid values: any totem spell ID

Return value

A boolean value.

Usage

if not TotemPresent(fire) Spell(searing_totem)
if TotemPresent(water totem=healing_stream_totem) and TotemExpires(water 3) Spell(totemic_recall)

See also

  • TotemExpires


True

(boolean ) A condition that always returns true.

Return value

A boolean value.


WeaponDamage

(number ) The normalized weapon damage of the weapon in the given hand.

Parameters

hand
Optional. Sets which hand weapon. Defaults to mainhand. Valid values: mainhand, offhand.

Return value

The normalized weapon damage.

Usage

AddFunction MangleDamage {
    WeaponDamage() * 5 + 78
}


WeaponEnchantExpires

(boolean ) Test if the weapon imbue on the given weapon has expired or will expire after a given number of seconds.

Parameters

hand
Sets which hand weapon. Valid values: mainhand, offhand.
seconds
Optional. The maximum number of seconds before the weapon imbue should expire. Defaults to 0 (zero).

Return value

A boolean value.

Usage

if WeaponEnchantExpires(mainhand) Spell(windfury_weapon)


You must login to post a comment. Don't have an account? Register to get one!

Table of contents

  1. 1 ArmorSetParts
    1. 1.1 Parameters
    2. 1.2 Return values
    3. 1.3 Usage
  2. 2 AttackPower
    1. 2.1 Parameters
    2. 2.2 Return values
    3. 2.3 Usage
    4. 2.4 See also
  3. 3 BuffAttackPower
    1. 3.1 Parameters
    2. 3.2 Return value
    3. 3.3 Usage
    4. 3.4 See also
  4. 4 BuffComboPoints
    1. 4.1 Parameters
    2. 4.2 Return value
    3. 4.3 Usage
    4. 4.4 See also
  5. 5 BuffCount
    1. 5.1 Parameters
    2. 5.2 Return value
    3. 5.3 See also
  6. 6 BuffDamageMultiplier
    1. 6.1 Parameters
    2. 6.2 Return value
    3. 6.3 Usage
    4. 6.4 See also
  7. 7 BuffDuration
    1. 7.1 Parameters
    2. 7.2 Return values
    3. 7.3 See also
  8. 8 BuffExpires
    1. 8.1 Parameters
    2. 8.2 Return value
    3. 8.3 Usage
    4. 8.4 See also
  9. 9 BuffMastery
    1. 9.1 Parameters
    2. 9.2 Return value
    3. 9.3 Usage
    4. 9.4 See also
  10. 10 BuffMeleeCritChance
    1. 10.1 Parameters
    2. 10.2 Return value
    3. 10.3 Usage
    4. 10.4 See also
  11. 11 BuffPresent
    1. 11.1 Parameters
    2. 11.2 Return value
    3. 11.3 Usage
    4. 11.4 See also
  12. 12 BuffRangedAttackPower
    1. 12.1 Parameters
    2. 12.2 Return value
    3. 12.3 Usage
    4. 12.4 See also
  13. 13 BuffRangedCritChance
    1. 13.1 Parameters
    2. 13.2 Return value
    3. 13.3 Usage
    4. 13.4 See also
  14. 14 BuffRemains
    1. 14.1 Parameters
    2. 14.2 Return value
    3. 14.3 Usage
    4. 14.4 See also
  15. 15 BuffSpellCritChance
    1. 15.1 Parameters
    2. 15.2 Return value
    3. 15.3 Usage
    4. 15.4 See also
  16. 16 BuffSpellHaste
    1. 16.1 Parameters
    2. 16.2 Return value
    3. 16.3 Usage
    4. 16.4 See also
  17. 17 BuffSpellpower
    1. 17.1 Parameters
    2. 17.2 Return value
    3. 17.3 Usage
    4. 17.4 See also
  18. 18 BuffStacks
    1. 18.1 Parameters
    2. 18.2 Return value
    3. 18.3 Usage
    4. 18.4 See also
  19. 19 BuffStealable
    1. 19.1 Parameters
    2. 19.2 Return value
    3. 19.3 Usage
  20. 20 BurningEmbers
    1. 20.1 Parameters
    2. 20.2 Return values
    3. 20.3 Usage
  21. 21 CastTime
    1. 21.1 Parameters
    2. 21.2 Return values
    3. 21.3 Usage
    4. 21.4 See also
  22. 22 Casting
    1. 22.1 Parameters
    2. 22.2 Return value
    3. 22.3 Usage
  23. 23 Charges
    1. 23.1 Parameters
    2. 23.2 Return values
  24. 24 CheckBoxOff
    1. 24.1 Parameters
    2. 24.2 Return value
    3. 24.3 Usage
    4. 24.4 See also
  25. 25 CheckBoxOn
    1. 25.1 Parameters
    2. 25.2 Return value
    3. 25.3 Usage
    4. 25.4 See also
  26. 26 Chi
    1. 26.1 Parameters
    2. 26.2 Return values
    3. 26.3 Usage
  27. 27 Class
    1. 27.1 Parameters
    2. 27.2 Return value
    3. 27.3 Usage
  28. 28 Classification
    1. 28.1 Parameters
    2. 28.2 Return value
    3. 28.3 Usage
  29. 29 ComboPoints
    1. 29.1 Parameters
    2. 29.2 Return values
    3. 29.3 Usage
    4. 29.4 See also
  30. 30 Counter
    1. 30.1 Parameters
    2. 30.2 Return values
  31. 31 CreatureFamily
    1. 31.1 Parameters
    2. 31.2 Return value
    3. 31.3 Usage
  32. 32 CreatureType
    1. 32.1 Parameters
    2. 32.2 Return value
    3. 32.3 Usage
  33. 33 CritDamage
    1. 33.1 Parameters
    2. 33.2 Return value
    3. 33.3 See also
  34. 34 Damage
    1. 34.1 Parameters
    2. 34.2 Return value
    3. 34.3 Usage
    4. 34.4 See also
  35. 35 DamageMultiplier
    1. 35.1 Parameters
    2. 35.2 Return value
    3. 35.3 Usage
    4. 35.4 See also
  36. 36 DamageTaken
    1. 36.1 Parameters
    2. 36.2 Return value
    3. 36.3 Usage
    4. 36.4 See also
  37. 37 DemonicFury
    1. 37.1 Parameters
    2. 37.2 Return values
    3. 37.3 Usage
  38. 38 Distance
    1. 38.1 Parameters
    2. 38.2 Return values
    3. 38.3 Usage
  39. 39 Eclipse
    1. 39.1 Parameters
    2. 39.2 Return values
    3. 39.3 Usage
    4. 39.4 See also
  40. 40 EclipseDir
    1. 40.1 Parameters
    2. 40.2 Return values
    3. 40.3 Usage
    4. 40.4 See also
  41. 41 Enemies
    1. 41.1 Parameters
    2. 41.2 Return values
    3. 41.3 Usage
  42. 42 Energy
    1. 42.1 Parameters
    2. 42.2 Return values
    3. 42.3 Usage
  43. 43 EnergyRegen
    1. 43.1 Parameters
    2. 43.2 Return values
    3. 43.3 Usage
  44. 44 Exists
    1. 44.1 Parameters
    2. 44.2 Return value
    3. 44.3 Usage
    4. 44.4 See also
  45. 45 False
    1. 45.1 Return value
  46. 46 Focus
    1. 46.1 Parameters
    2. 46.2 Return values
    3. 46.3 Usage
  47. 47 FocusRegen
    1. 47.1 Parameters
    2. 47.2 Return values
    3. 47.3 Usage
  48. 48 GCD
    1. 48.1 Parameters
    2. 48.2 Return values
    3. 48.3 Usage
  49. 49 Glyph
    1. 49.1 Parameters
    2. 49.2 Return value
    3. 49.3 Usage
  50. 50 HasFullControl
    1. 50.1 Parameters
    2. 50.2 Return value
    3. 50.3 Usage
  51. 51 HasShield
    1. 51.1 Parameters
    2. 51.2 Return value
    3. 51.3 Usage
  52. 52 HasTrinket
    1. 52.1 Parameters
    2. 52.2 Return value
    3. 52.3 Usage
  53. 53 HasWeapon
    1. 53.1 Parameters
    2. 53.2 Return value
    3. 53.3 Usage
  54. 54 Health
    1. 54.1 Parameters
    2. 54.2 Return values
    3. 54.3 Usage
    4. 54.4 See also
  55. 55 HealthMissing
    1. 55.1 Parameters
    2. 55.2 Return values
    3. 55.3 Usage
    4. 55.4 See also
  56. 56 HealthPercent
    1. 56.1 Parameters
    2. 56.2 Return values
    3. 56.3 Usage
    4. 56.4 See also
  57. 57 HolyPower
    1. 57.1 Parameters
    2. 57.2 Return values
    3. 57.3 Usage
  58. 58 InCombat
    1. 58.1 Parameters
    2. 58.2 Return value
    3. 58.3 Usage
  59. 59 InFlightToTarget
    1. 59.1 Parameters
    2. 59.2 Return value
    3. 59.3 Usage
  60. 60 InRange
    1. 60.1 Parameters
    2. 60.2 Return value
    3. 60.3 Usage
  61. 61 IsAggroed
    1. 61.1 Parameters
    2. 61.2 Return value
    3. 61.3 Usage
  62. 62 IsFeared
    1. 62.1 Parameters
    2. 62.2 Return value
    3. 62.3 Usage
  63. 63 IsFriend
    1. 63.1 Parameters
    2. 63.2 Return value
    3. 63.3 Usage
  64. 64 IsIncapacitated
    1. 64.1 Parameters
    2. 64.2 Return value
    3. 64.3 Usage
  65. 65 IsInterruptible
    1. 65.1 Parameters
    2. 65.2 Return value
    3. 65.3 Usage
  66. 66 IsPVP
    1. 66.1 Parameters
    2. 66.2 Return value
    3. 66.3 Usage
  67. 67 IsRooted
    1. 67.1 Parameters
    2. 67.2 Return value
    3. 67.3 Usage
  68. 68 IsStunned
    1. 68.1 Parameters
    2. 68.2 Return value
    3. 68.3 Usage
  69. 69 ItemCharges
    1. 69.1 Parameters
    2. 69.2 Return values
    3. 69.3 Usage
  70. 70 ItemCooldown
    1. 70.1 Parameters
    2. 70.2 Return value
    3. 70.3 Usage
  71. 71 ItemCount
    1. 71.1 Parameters
    2. 71.2 Return values
    3. 71.3 Usage
  72. 72 LastAttackPower
    1. 72.1 Parameters
    2. 72.2 Return values
    3. 72.3 Usage
    4. 72.4 See also
  73. 73 LastComboPoints
    1. 73.1 Parameters
    2. 73.2 Return values
    3. 73.3 Usage
    4. 73.4 See also
  74. 74 LastDamage
    1. 74.1 Parameters
    2. 74.2 Return values
    3. 74.3 Usage
    4. 74.4 See also
  75. 75 LastDamageMultiplier
    1. 75.1 Parameters
    2. 75.2 Return values
    3. 75.3 Usage
    4. 75.4 See also
  76. 76 LastEstimatedDamage
    1. 76.1 Parameters
    2. 76.2 Return value
    3. 76.3 Usage
    4. 76.4 See also
  77. 77 LastMastery
    1. 77.1 Parameters
    2. 77.2 Return values
    3. 77.3 Usage
    4. 77.4 See also
  78. 78 LastMeleeCritChance
    1. 78.1 Parameters
    2. 78.2 Return values
    3. 78.3 Usage
    4. 78.4 See also
  79. 79 LastRangedCritChance
    1. 79.1 Parameters
    2. 79.2 Return values
    3. 79.3 Usage
    4. 79.4 See also
  80. 80 LastSpellCritChance
    1. 80.1 Parameters
    2. 80.2 Return values
    3. 80.3 Usage
    4. 80.4 See also
  81. 81 LastSpellpower
    1. 81.1 Parameters
    2. 81.2 Return values
    3. 81.3 Usage
    4. 81.4 See also
  82. 82 LastSwing
    1. 82.1 Parameters
    2. 82.2 Return value
    3. 82.3 See also
  83. 83 Latency
    1. 83.1 Parameters
    2. 83.2 Return values
    3. 83.3 Usage
  84. 84 Level
    1. 84.1 Parameters
    2. 84.2 Return values
    3. 84.3 Usage
  85. 85 List
    1. 85.1 Parameters
    2. 85.2 Return value
    3. 85.3 Usage
  86. 86 Mana
    1. 86.1 Parameters
    2. 86.2 Return values
    3. 86.3 Usage
  87. 87 ManaPercent
    1. 87.1 Parameters
    2. 87.2 Return values
    3. 87.3 Usage
  88. 88 Mastery
    1. 88.1 Parameters
    2. 88.2 Return values
    3. 88.3 Usage
    4. 88.4 See also
  89. 89 MaxHealth
    1. 89.1 Parameters
    2. 89.2 Return values
    3. 89.3 Usage
  90. 90 MaxMana
    1. 90.1 Parameters
    2. 90.2 Return values
    3. 90.3 Usage
  91. 91 MeleeCritChance
    1. 91.1 Parameters
    2. 91.2 Return values
    3. 91.3 Usage
    4. 91.4 See also
  92. 92 NextSwing
    1. 92.1 Parameters
    2. 92.2 Return value
    3. 92.3 See also
  93. 93 NextTick
    1. 93.1 Parameters
    2. 93.2 Return value
    3. 93.3 See also
  94. 94 OtherDebuffExpires
    1. 94.1 Parameters
    2. 94.2 Return value
    3. 94.3 Usage
    4. 94.4 See also
  95. 95 OtherDebuffPresent
    1. 95.1 Parameters
    2. 95.2 Return value
    3. 95.3 Usage
    4. 95.4 See also
  96. 96 OtherDebuffRemains
    1. 96.1 Parameters
    2. 96.2 Return value
    3. 96.3 Usage
    4. 96.4 See also
  97. 97 OvaleCondition.conditions.ptr(boolean
    1. 97.1 Parameters
    2. 97.2 Return value
  98. 98 PetPresent
    1. 98.1 Parameters
    2. 98.2 Return value
    3. 98.3 Usage
    4. 98.4 See also
  99. 99 PowerCost
    1. 99.1 Parameters
    2. 99.2 Return value
    3. 99.3 Usage
    4. 99.4 See also
  100. 100 Present
    1. 100.1 Parameters
    2. 100.2 Return value
    3. 100.3 Usage
    4. 100.4 See also
  101. 101 PreviousSpell
    1. 101.1 Parameters
    2. 101.2 Return value
  102. 102 Rage
    1. 102.1 Parameters
    2. 102.2 Return values
    3. 102.3 Usage
  103. 103 RangedCritChance
    1. 103.1 Parameters
    2. 103.2 Return values
    3. 103.3 Usage
    4. 103.4 See also
  104. 104 RelativeLevel
    1. 104.1 Parameters
    2. 104.2 Return values
    3. 104.3 Usage
  105. 105 RemainingCastTime
    1. 105.1 Parameters
    2. 105.2 Return value
    3. 105.3 Usage
    4. 105.4 See also
  106. 106 RuneCount
    1. 106.1 Parameters
    2. 106.2 Return value
    3. 106.3 Usage
  107. 107 Runes
    1. 107.1 Parameters
    2. 107.2 Return value
    3. 107.3 Usage
  108. 108 RunesCooldown
    1. 108.1 Parameters
    2. 108.2 Return value
    3. 108.3 Usage
  109. 109 RunicPower
    1. 109.1 Parameters
    2. 109.2 Return values
    3. 109.3 Usage
  110. 110 ShadowOrbs
    1. 110.1 Parameters
    2. 110.2 Return values
    3. 110.3 Usage
  111. 111 SoulShards
    1. 111.1 Parameters
    2. 111.2 Return values
    3. 111.3 Usage
  112. 112 Speed
    1. 112.1 Parameters
    2. 112.2 Return values
    3. 112.3 Usage
  113. 113 SpellChargeCooldown
    1. 113.1 Parameters
    2. 113.2 Return value
    3. 113.3 Usage
    4. 113.4 See also
  114. 114 SpellCharges
    1. 114.1 Parameters
    2. 114.2 Return values
    3. 114.3 Usage
    4. 114.4 See also
  115. 115 SpellCooldown
    1. 115.1 Parameters
    2. 115.2 Return value
    3. 115.3 Usage
  116. 116 SpellCritChance
    1. 116.1 Parameters
    2. 116.2 Return values
    3. 116.3 Usage
    4. 116.4 See also
  117. 117 SpellData
    1. 117.1 Parameters
    2. 117.2 Return value
    3. 117.3 Usage
  118. 118 SpellHaste
    1. 118.1 Parameters
    2. 118.2 Return values
    3. 118.3 Usage
    4. 118.4 See also
  119. 119 SpellKnown
    1. 119.1 Parameters
    2. 119.2 Return value
    3. 119.3 Usage
    4. 119.4 See also
  120. 120 SpellUsable
    1. 120.1 Parameters
    2. 120.2 Return value
    3. 120.3 Usage
    4. 120.4 See also
  121. 121 Spellpower
    1. 121.1 Parameters
    2. 121.2 Return values
    3. 121.3 Usage
    4. 121.4 See also
  122. 122 StaggerRemains
    1. 122.1 Parameters
    2. 122.2 Return value
    3. 122.3 Usage
  123. 123 Stance
    1. 123.1 Parameters
    2. 123.2 Return value
    3. 123.3 Usage
  124. 124 Stealthed
    1. 124.1 Parameters
    2. 124.2 Return value
    3. 124.3 Usage
  125. 125 TalentPoints
    1. 125.1 Parameters
    2. 125.2 Return values
    3. 125.3 Usage
  126. 126 TargetIsPlayer
    1. 126.1 Parameters
    2. 126.2 Return value
    3. 126.3 Usage
  127. 127 Threat
    1. 127.1 Parameters
    2. 127.2 Return values
    3. 127.3 Usage
  128. 128 TickTime
    1. 128.1 Parameters
    2. 128.2 Return values
    3. 128.3 See also
  129. 129 TickValue
    1. 129.1 Parameters
    2. 129.2 Return values
    3. 129.3 Usage
    4. 129.4 See also
  130. 130 Ticks
    1. 130.1 Parameters
    2. 130.2 Return values
    3. 130.3 See also
  131. 131 TicksAdded
    1. 131.1 Parameters
    2. 131.2 Return value
  132. 132 TicksRemain
    1. 132.1 Parameters
    2. 132.2 Return value
    3. 132.3 Usage
    4. 132.4 See also
  133. 133 TimeInCombat
    1. 133.1 Parameters
    2. 133.2 Return values
    3. 133.3 Usage
  134. 134 TimeToDie
    1. 134.1 Parameters
    2. 134.2 Return values
    3. 134.3 Usage
    4. 134.4 See also
  135. 135 TimeToMaxEnergy
    1. 135.1 Return value
    2. 135.2 Usage
    3. 135.3 See also
  136. 136 TimeToPowerFor
    1. 136.1 Parameters
    2. 136.2 Return value
    3. 136.3 See also
  137. 137 TimeWithHaste
    1. 137.1 Parameters
    2. 137.2 Return value
    3. 137.3 Usage
  138. 138 TotemExpires
    1. 138.1 Parameters
    2. 138.2 Return value
    3. 138.3 Usage
    4. 138.4 See also
  139. 139 TotemPresent
    1. 139.1 Parameters
    2. 139.2 Return value
    3. 139.3 Usage
    4. 139.4 See also
  140. 140 True
    1. 140.1 Return value
  141. 141 WeaponDamage
    1. 141.1 Parameters
    2. 141.2 Return value
    3. 141.3 Usage
  142. 142 WeaponEnchantExpires
    1. 142.1 Parameters
    2. 142.2 Return value
    3. 142.3 Usage

Facts

Date created
Sep 24, 2012
Last updated
Sep 02, 2013

Author