mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
Remove NP column from conditionals tables
Remove the 'NP' (minimum Nampower version) column from the player and target conditional tables in Conditionals.md. Shifted the Addon column into the previous NP position and removed NP/version entries (e.g. v2.20, v2.24) from affected rows. Minor table formatting adjusted to keep columns aligned.
+127
-128
@@ -6,80 +6,79 @@ All conditionals support negation with `no` prefix unless noted. Some have seman
|
||||
- **Description** — what the conditional checks
|
||||
- **No** — supports `no` prefix negation
|
||||
- **Multi** — supports multi-value OR (`/`), AND (`&`), or comparison operators (`>`, `<`, `>=`, `<=`, `=`, `~=`)
|
||||
- **NP** — minimum Nampower version required
|
||||
- **Addon** — addon required or recommended
|
||||
|
||||
## Player Conditionals (@player)
|
||||
|
||||
These always evaluate against the player. Cannot be redirected with `@unit`.
|
||||
|
||||
| Conditional | Description | No | Multi | Example | NP | Addon |
|
||||
|-------------|-------------|:--:|:-----:|---------|:--:|-------|
|
||||
| `cdgcd` | Spell/item CD remaining (includes GCD) | ✅ | ✅ | `[cdgcd:Sprint>0]` | | |
|
||||
| `channeled` | Player is channeling | ✅ | ✅ | `[channeled]` `[channeled:Arcane_Missiles]` | | |
|
||||
| `checkcasting` | True if NOT casting (specific spell) | — | ✅ | `[checkcasting]` `[checkcasting:Frostbolt]` | | |
|
||||
| `checkchanneled` | True if NOT channeling (specific spell) | — | ✅ | `[checkchanneled]` `[checkchanneled:Evocation]` | | |
|
||||
| `combat` | In combat (player default, or unit) | ✅ | ✅ | `[combat]` `[combat:target]` | | |
|
||||
| `combo` | Combo points | ✅ | ✅ | `[combo:>=4]` | | |
|
||||
| `cooldown` | Spell/item CD remaining (ignores GCD) | ✅ | ✅ | `[cooldown:Sprint<5]` | | |
|
||||
| `druidmana` | Druid mana while shapeshifted | — | ✅ | `[druidmana:>=500]` | | |
|
||||
| `equipped` | Item or weapon type equipped | ✅ | ✅ | `[equipped:Daggers/Swords]` | | |
|
||||
| `equipset` | Saved equipment set is equipped (ClassicAPI) | ✅ | ✅ | `[equipset:Raid]` `[noequipset:PvP]` `[equipset:Raid/Farm]` | | |
|
||||
| `focus` | A focus is set (`/focus`, FOCUSTARGET keybind, or pfUI) | ✅ | — | `[focus]` `[nofocus]` | | |
|
||||
| `form` / `stance` | Shapeshift form or stance index | ✅ | ✅ | `[form:1/3]` `[stance:2]` | | |
|
||||
| `gcd` | GCD is active / time remaining | ✅ | ✅ | `[gcd]` `[gcd:<1]` | | |
|
||||
| `group` | Player is in group type | ✅ | ✅ | `[group:party/raid]` | | |
|
||||
| `hastarget` | Player has a target | — | — | `[hastarget]` | | |
|
||||
| `inbag` | Item exists in bags (with optional count) | ✅ | ✅ | `[inbag:Hearthstone]` `[noinbag:Soul_Shard]` `[inbag:Soul_Shard<12]` | | |
|
||||
| `incominghit` | Incoming attack type/timing | ✅ | ✅ | `[incominghit:crushing]` `[noincominghit:crit]` | v2.24 | |
|
||||
| `keydown` | Key is currently held down | ✅ | ✅ | `[keydown:f]` `[keydown:space/enter]` | v2.41 | |
|
||||
| `known` | Spell/talent known (with rank) | ✅ | ✅ | `[known:Berserk]` `[known:Frostbolt>#2]` | | |
|
||||
| `lastswing` | Player melee swing type/timing | ✅ | ✅ | `[lastswing:dodge]` `[lastswing:<2]` | v2.24 | |
|
||||
| `mhenchant` | Main hand temp enchant by ID/name (ClassicAPI) | ✅ | — | `[mhenchant:Deadly_Poison]` `[mhenchant:2823/2824]` `[nomhenchant]` | | |
|
||||
| `mhimbue` | Main hand has temporary imbue | ✅ | ✅ | `[mhimbue:Instant_Poison<300]` `[mhimbue:>#5]` | | |
|
||||
| `mod` | Modifier key held (`ctrl`/`alt`/`shift`, side-specific `lctrl`/`rctrl`/`lalt`/`ralt`/`lshift`/`rshift`; bare = any) | ✅ | ✅ | `[mod:alt/ctrl]` `[mod:lshift]` `[nomod:ralt]` | | |
|
||||
| `mounted` | Player is mounted | ✅ | — | `[mounted]` `[nomounted]` | | |
|
||||
| `moving` | Moving / speed % | ✅ | ✅ | `[moving]` `[moving:>100&<200]` | | speed % |
|
||||
| `mybuff` | Player has buff (with time/stacks) | ✅ | ✅ | `[mybuff:Thorns<5]` `[nomybuff:MotW/GotW]` | | |
|
||||
| `mybuffcapped` | Player buff bar full (32) | ✅ | — | `[nomybuffcapped]` | v2.20 | |
|
||||
| `mybuffcount` | Player buff slot count (32 max) | ✅ | ✅ | `[mybuffcount:>15]` `[nomybuffcount:>28]` | | |
|
||||
| `mycc` | Player has CC effect | ✅ | ✅ | `[mycc:stun/silence]` `[nomycc]` | | |
|
||||
| `mydebuff` | Player has debuff (with time/stacks) | ✅ | ✅ | `[mydebuff:Curse_of_Agony]` | | |
|
||||
| `mydebuffcapped` | Player debuff bar full (16) | ✅ | — | `[nomydebuffcapped]` | v2.20 | |
|
||||
| `myenergy` | Player energy % (specific slot) | — | ✅ | `[myenergy:>50]` | | |
|
||||
| `myhp` | Player HP % | — | ✅ | `[myhp:<30]` `[myhp:>20&<50]` | | |
|
||||
| `myhplost` | Player HP deficit (max - current) | — | ✅ | `[myhplost:>500]` | | |
|
||||
| `mylevel` | Player level | — | ✅ | `[mylevel:=60]` | | |
|
||||
| `mymana` | Player mana % (specific slot, cross-form) | — | ✅ | `[mymana:>30]` | | |
|
||||
| `mypower` | Player mana/rage/energy % | — | ✅ | `[mypower:>50]` | | |
|
||||
| `mypowerlost` | Player power deficit | — | ✅ | `[mypowerlost:>200]` | | |
|
||||
| `myrage` | Player rage % (specific slot, cross-form) | — | ✅ | `[myrage:>=50]` | | |
|
||||
| `myrawhp` | Player raw HP value | — | ✅ | `[myrawhp:>1000]` | | |
|
||||
| `myrawpower` | Player raw power value | — | ✅ | `[myrawpower:>=40]` | | |
|
||||
| `nextslamclip` / `nonextslamclip` | Instant now will/won't cause next Slam to clip | ✅ | — | `[nonextslamclip]` | | SP_SwingTimer |
|
||||
| `rangedclip` / `norangedclip` | Action cast will/won't clip ranged auto-shot | ✅ | — | `[norangedclip]` | | SP_SwingTimer |
|
||||
| `rangedtimer` | Ranged swing timer % elapsed | ✅ | ✅ | `[rangedtimer:>80]` | | SP_SwingTimer |
|
||||
| `notarget` | Player has no target | — | — | `[notarget]` | | |
|
||||
| `ohenchant` | Off hand temp enchant by ID/name (ClassicAPI) | ✅ | — | `[ohenchant:Crippling_Poison]` `[noohenchant]` | | |
|
||||
| `ohimbue` | Off hand has temporary imbue | ✅ | ✅ | `[noohimbue]` `[ohimbue:Crippling_Poison]` | | |
|
||||
| `onswingpending` | On-swing spell pending | ✅ | — | `[onswingpending]` | v2.12 | |
|
||||
| `pet` | Has active pet (with family) | ✅ | ✅ | `[pet]` `[pet:Cat/Wolf]` | | |
|
||||
| `queuedspell` | Spell is queued | ✅ | ✅ | `[queuedspell]` `[queuedspell:Fireball]` | v2.12 | |
|
||||
| `reactive` | Reactive ability available (on bar) | ✅ | ✅ | `[reactive:Overpower]` | | |
|
||||
| `resting` | In rest area | ✅ | — | `[resting]` | | |
|
||||
| `rooted` | Player is rooted | ✅ | — | `[rooted]` `[norooted]` | v2.36 | |
|
||||
| `rtimer` | Alias for rangedtimer | ✅ | ✅ | `[rtimer:<15]` | | SP_SwingTimer |
|
||||
| `selfcasting` | Player is casting or channeling | ✅ | ✅ | `[selfcasting]` `[noselfcasting:Hearthstone]` | | |
|
||||
| `slamclip` / `noslamclip` | Slam now will/won't clip auto-attack | ✅ | — | `[noslamclip]` | | SP_SwingTimer |
|
||||
| `spellcasttime` | Spell cast time from tooltip (real-time) | ✅ | ✅ | `[spellcasttime:>1.5]` `[spellcasttime:Frostbolt<2]` | | |
|
||||
| `standing` / `sitting` | Player is standing / seated (sit, chair, sleep, kneel) | — | — | `[standing]` `[sitting]` | | |
|
||||
| `stat` | Player stat value | ✅ | ✅ | `[stat:agi>100]` `[stat:ap>1000]` | | |
|
||||
| `stealth` | In stealth (Rogue/Druid) | ✅ | — | `[stealth]` | | |
|
||||
| `stimer` | Alias for swingtimer | ✅ | ✅ | `[stimer:<15]` | | SP_SwingTimer |
|
||||
| `swimming` | Swimming (Druid only) | ✅ | — | `[swimming]` | | |
|
||||
| `swingtimer` | Swing timer % elapsed | ✅ | ✅ | `[swingtimer:>80]` | | SP_SwingTimer |
|
||||
| `usable` | Spell/item is usable now | ✅ | ✅ | `[usable:Overpower]` | | |
|
||||
| `zone` | Current zone name | ✅ | ✅ | `[zone:Ironforge/Stormwind]` | | |
|
||||
| Conditional | Description | No | Multi | Example | Addon |
|
||||
|-------------|-------------|:--:|:-----:|---------|-------|
|
||||
| `cdgcd` | Spell/item CD remaining (includes GCD) | ✅ | ✅ | `[cdgcd:Sprint>0]` | |
|
||||
| `channeled` | Player is channeling | ✅ | ✅ | `[channeled]` `[channeled:Arcane_Missiles]` | |
|
||||
| `checkcasting` | True if NOT casting (specific spell) | — | ✅ | `[checkcasting]` `[checkcasting:Frostbolt]` | |
|
||||
| `checkchanneled` | True if NOT channeling (specific spell) | — | ✅ | `[checkchanneled]` `[checkchanneled:Evocation]` | |
|
||||
| `combat` | In combat (player default, or unit) | ✅ | ✅ | `[combat]` `[combat:target]` | |
|
||||
| `combo` | Combo points | ✅ | ✅ | `[combo:>=4]` | |
|
||||
| `cooldown` | Spell/item CD remaining (ignores GCD) | ✅ | ✅ | `[cooldown:Sprint<5]` | |
|
||||
| `druidmana` | Druid mana while shapeshifted | — | ✅ | `[druidmana:>=500]` | |
|
||||
| `equipped` | Item or weapon type equipped | ✅ | ✅ | `[equipped:Daggers/Swords]` | |
|
||||
| `equipset` | Saved equipment set is equipped (ClassicAPI) | ✅ | ✅ | `[equipset:Raid]` `[noequipset:PvP]` `[equipset:Raid/Farm]` | |
|
||||
| `focus` | A focus is set (`/focus`, FOCUSTARGET keybind, or pfUI) | ✅ | — | `[focus]` `[nofocus]` | |
|
||||
| `form` / `stance` | Shapeshift form or stance index | ✅ | ✅ | `[form:1/3]` `[stance:2]` | |
|
||||
| `gcd` | GCD is active / time remaining | ✅ | ✅ | `[gcd]` `[gcd:<1]` | |
|
||||
| `group` | Player is in group type | ✅ | ✅ | `[group:party/raid]` | |
|
||||
| `hastarget` | Player has a target | — | — | `[hastarget]` | |
|
||||
| `inbag` | Item exists in bags (with optional count) | ✅ | ✅ | `[inbag:Hearthstone]` `[noinbag:Soul_Shard]` `[inbag:Soul_Shard<12]` | |
|
||||
| `incominghit` | Incoming attack type/timing | ✅ | ✅ | `[incominghit:crushing]` `[noincominghit:crit]` | |
|
||||
| `keydown` | Key is currently held down | ✅ | ✅ | `[keydown:f]` `[keydown:space/enter]` | |
|
||||
| `known` | Spell/talent known (with rank) | ✅ | ✅ | `[known:Berserk]` `[known:Frostbolt>#2]` | |
|
||||
| `lastswing` | Player melee swing type/timing | ✅ | ✅ | `[lastswing:dodge]` `[lastswing:<2]` | |
|
||||
| `mhenchant` | Main hand temp enchant by ID/name (ClassicAPI) | ✅ | — | `[mhenchant:Deadly_Poison]` `[mhenchant:2823/2824]` `[nomhenchant]` | |
|
||||
| `mhimbue` | Main hand has temporary imbue | ✅ | ✅ | `[mhimbue:Instant_Poison<300]` `[mhimbue:>#5]` | |
|
||||
| `mod` | Modifier key held (`ctrl`/`alt`/`shift`, side-specific `lctrl`/`rctrl`/`lalt`/`ralt`/`lshift`/`rshift`; bare = any) | ✅ | ✅ | `[mod:alt/ctrl]` `[mod:lshift]` `[nomod:ralt]` | |
|
||||
| `mounted` | Player is mounted | ✅ | — | `[mounted]` `[nomounted]` | |
|
||||
| `moving` | Moving / speed % | ✅ | ✅ | `[moving]` `[moving:>100&<200]` | speed % |
|
||||
| `mybuff` | Player has buff (with time/stacks) | ✅ | ✅ | `[mybuff:Thorns<5]` `[nomybuff:MotW/GotW]` | |
|
||||
| `mybuffcapped` | Player buff bar full (32) | ✅ | — | `[nomybuffcapped]` | |
|
||||
| `mybuffcount` | Player buff slot count (32 max) | ✅ | ✅ | `[mybuffcount:>15]` `[nomybuffcount:>28]` | |
|
||||
| `mycc` | Player has CC effect | ✅ | ✅ | `[mycc:stun/silence]` `[nomycc]` | |
|
||||
| `mydebuff` | Player has debuff (with time/stacks) | ✅ | ✅ | `[mydebuff:Curse_of_Agony]` | |
|
||||
| `mydebuffcapped` | Player debuff bar full (16) | ✅ | — | `[nomydebuffcapped]` | |
|
||||
| `myenergy` | Player energy % (specific slot) | — | ✅ | `[myenergy:>50]` | |
|
||||
| `myhp` | Player HP % | — | ✅ | `[myhp:<30]` `[myhp:>20&<50]` | |
|
||||
| `myhplost` | Player HP deficit (max - current) | — | ✅ | `[myhplost:>500]` | |
|
||||
| `mylevel` | Player level | — | ✅ | `[mylevel:=60]` | |
|
||||
| `mymana` | Player mana % (specific slot, cross-form) | — | ✅ | `[mymana:>30]` | |
|
||||
| `mypower` | Player mana/rage/energy % | — | ✅ | `[mypower:>50]` | |
|
||||
| `mypowerlost` | Player power deficit | — | ✅ | `[mypowerlost:>200]` | |
|
||||
| `myrage` | Player rage % (specific slot, cross-form) | — | ✅ | `[myrage:>=50]` | |
|
||||
| `myrawhp` | Player raw HP value | — | ✅ | `[myrawhp:>1000]` | |
|
||||
| `myrawpower` | Player raw power value | — | ✅ | `[myrawpower:>=40]` | |
|
||||
| `nextslamclip` / `nonextslamclip` | Instant now will/won't cause next Slam to clip | ✅ | — | `[nonextslamclip]` | SP_SwingTimer |
|
||||
| `rangedclip` / `norangedclip` | Action cast will/won't clip ranged auto-shot | ✅ | — | `[norangedclip]` | SP_SwingTimer |
|
||||
| `rangedtimer` | Ranged swing timer % elapsed | ✅ | ✅ | `[rangedtimer:>80]` | SP_SwingTimer |
|
||||
| `notarget` | Player has no target | — | — | `[notarget]` | |
|
||||
| `ohenchant` | Off hand temp enchant by ID/name (ClassicAPI) | ✅ | — | `[ohenchant:Crippling_Poison]` `[noohenchant]` | |
|
||||
| `ohimbue` | Off hand has temporary imbue | ✅ | ✅ | `[noohimbue]` `[ohimbue:Crippling_Poison]` | |
|
||||
| `onswingpending` | On-swing spell pending | ✅ | — | `[onswingpending]` | |
|
||||
| `pet` | Has active pet (with family) | ✅ | ✅ | `[pet]` `[pet:Cat/Wolf]` | |
|
||||
| `queuedspell` | Spell is queued | ✅ | ✅ | `[queuedspell]` `[queuedspell:Fireball]` | |
|
||||
| `reactive` | Reactive ability available (on bar) | ✅ | ✅ | `[reactive:Overpower]` | |
|
||||
| `resting` | In rest area | ✅ | — | `[resting]` | |
|
||||
| `rooted` | Player is rooted | ✅ | — | `[rooted]` `[norooted]` | |
|
||||
| `rtimer` | Alias for rangedtimer | ✅ | ✅ | `[rtimer:<15]` | SP_SwingTimer |
|
||||
| `selfcasting` | Player is casting or channeling | ✅ | ✅ | `[selfcasting]` `[noselfcasting:Hearthstone]` | |
|
||||
| `slamclip` / `noslamclip` | Slam now will/won't clip auto-attack | ✅ | — | `[noslamclip]` | SP_SwingTimer |
|
||||
| `spellcasttime` | Spell cast time from tooltip (real-time) | ✅ | ✅ | `[spellcasttime:>1.5]` `[spellcasttime:Frostbolt<2]` | |
|
||||
| `standing` / `sitting` | Player is standing / seated (sit, chair, sleep, kneel) | — | — | `[standing]` `[sitting]` | |
|
||||
| `stat` | Player stat value | ✅ | ✅ | `[stat:agi>100]` `[stat:ap>1000]` | |
|
||||
| `stealth` | In stealth (Rogue/Druid) | ✅ | — | `[stealth]` | |
|
||||
| `stimer` | Alias for swingtimer | ✅ | ✅ | `[stimer:<15]` | SP_SwingTimer |
|
||||
| `swimming` | Swimming (Druid only) | ✅ | — | `[swimming]` | |
|
||||
| `swingtimer` | Swing timer % elapsed | ✅ | ✅ | `[swingtimer:>80]` | SP_SwingTimer |
|
||||
| `usable` | Spell/item is usable now | ✅ | ✅ | `[usable:Overpower]` | |
|
||||
| `zone` | Current zone name | ✅ | ✅ | `[zone:Ironforge/Stormwind]` | |
|
||||
|
||||
## Target Conditionals (default @target)
|
||||
|
||||
@@ -87,66 +86,66 @@ These default to checking the current target. Most can be redirected with `@unit
|
||||
|
||||
> **Note on `mana`/`rage`/`energy` for other units:** these read a *specific* power slot rather than the unit's primary power, so they work regardless of form (a druid's mana in Cat Form, etc.). For units other than the player, vanilla only broadcasts the unit's *active* power, so a non-primary slot may read stale/empty — a unit with no such pool fails the check. The reliable case is reading the slot that *is* that unit's primary power (e.g. `[@target,mana:<15]` on a caster to catch it near OOM).
|
||||
|
||||
| Conditional | Description | No | Multi | Example | NP | Addon |
|
||||
|-------------|-------------|:--:|:-----:|---------|:--:|-------|
|
||||
| `alive` | Unit is alive | ✅ | — | `[alive]` | | |
|
||||
| `behind` | Behind target / count behind | ✅ | ✅ | `[behind]` `[behind:>=2]` `[behind:meleerange>1]` | | UnitXP_SP3 |
|
||||
| `buff` | Target has buff (with time/stacks/rank) | ✅ | ✅ | `[buff:Shield>#3]` `[nobuff:Renew/Rejuv]` `[buff:Regrowth(Rank_9)]` | | |
|
||||
| `buffcapped` | Target buff bar full (32) | ✅ | — | `[nobuffcapped]` | v2.20 | |
|
||||
| `casting` | Target is casting (specific spell) | ✅ | ✅ | `[casting]` `[casting:Heal]` | | |
|
||||
| `casttime` | Target cast time remaining (seconds) | ✅ | ✅ | `[casttime:<0.5]` | | |
|
||||
| `cc` | Target has CC effect | ✅ | ✅ | `[cc:stun/fear]` `[nocc:polymorph]` | | |
|
||||
| `channeltime` | Target channel time remaining (seconds) | ✅ | ✅ | `[channeltime:<0.5]` | | |
|
||||
| `class` | Target class (players only) | ✅ | ✅ | `[class:Warrior/Priest]` | | |
|
||||
| `curse` | Target has a Curse debuff | ✅ | — | `[curse]` `[@focus,curse]` | | |
|
||||
| `cursive` | GUID-based debuff tracking (time remaining) | ✅ | ✅ | `[cursive:Rake<3]` `[nocursive:Rip]` | | Cursive |
|
||||
| `dead` | Unit is dead | ✅ | — | `[dead]` | | |
|
||||
| `debuff` | Target has debuff (with time/stacks/rank) | ✅ | ✅ | `[debuff:Moonfire<4]` `[nodebuff:Rake]` `[debuff:Moonfire(Rank_10)]` | | |
|
||||
| `debuffcapped` | Target debuff bar full | ✅ | — | `[nodebuffcapped]` | v2.20 | |
|
||||
| `disease` | Target has a Disease debuff | ✅ | — | `[disease]` `[@party1,disease]` | | |
|
||||
| `dispellable` | Target has any dispellable debuff | ✅ | — | `[dispellable]` | | |
|
||||
| `dispellablebuff` | Target has any dispellable buff (offensive) | ✅ | — | `[harm,dispellablebuff]` | | |
|
||||
| `distance` | Distance in yards / count within range | ✅ | ✅ | `[distance:<40]` `[distance:30>1]` `[distance:30:facing>1]` | | UnitXP_SP3 |
|
||||
| `energy` | Target energy % (specific slot) | — | ✅ | `[@target,energy:<30]` | | |
|
||||
| `exists` | Unit exists | ✅ | — | `[@mouseover,exists]` | | |
|
||||
| `facing` | Facing target / count facing | ✅ | ✅ | `[facing]` `[facing:>2]` `[facing:meleerange>1]` | | UnitXP_SP3 |
|
||||
| `harm` | Unit is hostile | ✅ | — | `[harm]` | | |
|
||||
| `help` | Unit is friendly | ✅ | — | `[help]` | | |
|
||||
| `hp` | Target HP % | — | ✅ | `[hp:<20]` `[hp:>30&<70]` | | |
|
||||
| `hplost` | Target HP deficit (max - current) | — | ✅ | `[hplost:>1000]` | | |
|
||||
| `immune` | Target is immune (school or CC type) | ✅ | ✅ | `[noimmune:fire]` `[noimmune:stun]` | | |
|
||||
| `inrange` | In spell range / count in range | ✅ | ✅ | `[inrange:Charge]` `[inrange:Multi-Shot>1]` | | UnitXP_SP3 (count) |
|
||||
| `insight` | In line of sight / count in LoS | ✅ | ✅ | `[insight]` `[insight:>0]` | | UnitXP_SP3 |
|
||||
| `isnpc` | Unit is an NPC | ✅ | — | `[isnpc]` | | |
|
||||
| `isplayer` | Unit is a player | ✅ | — | `[isplayer]` | | |
|
||||
| `istank` | Unit is marked as tank | ✅ | — | `[istank]` `[@focus,istank]` | | pfUI |
|
||||
| `level` | Target level (skull = 63) | — | ✅ | `[level:>60]` | | |
|
||||
| `magic` | Target has a Magic debuff | ✅ | — | `[magic]` `[@focus,magic]` | | |
|
||||
| `magicbuff` | Target has a dispellable Magic buff (offensive) | ✅ | — | `[harm,magicbuff]` | | |
|
||||
| `mana` | Target mana % (specific slot) | — | ✅ | `[@target,mana:<15]` | | |
|
||||
| `meleerange` | In melee range / count in melee | ✅ | ✅ | `[meleerange]` `[meleerange:>1]` `[meleerange:facing>1]` | | UnitXP_SP3 |
|
||||
| `member` | Target is in party or raid | ✅ | — | `[member]` | | |
|
||||
| `multiscan` | Scan enemies by priority, soft-cast | — | ✅ | `[multiscan:nearest]` `[multiscan:skull]` | | UnitXP_SP3 |
|
||||
| `mytag` | Target is tapped by you | ✅ | — | `[mytag]` `[nomytag]` | | |
|
||||
| `name` | Exact name match (case-insensitive) | ✅ | ✅ | `[name:Onyxia]` `[noname:Critter/Dummy]` | | |
|
||||
| `othertag` | Target is tapped by someone else | ✅ | — | `[othertag]` `[noothertag]` | | |
|
||||
| `outrange` | Out of spell range / count out | ✅ | ✅ | `[outrange:Charge]` `[outrange:Charge>0]` | | UnitXP_SP3 (count) |
|
||||
| `party` | Unit is in your party | ✅ | ✅ | `[party]` `[party:focus]` | | |
|
||||
| `poison` | Target has a Poison debuff | ✅ | — | `[poison]` `[@party1,poison]` | | |
|
||||
| `power` | Target mana/rage/energy % | — | ✅ | `[power:<30]` | | |
|
||||
| `powerlost` | Target power deficit | — | ✅ | `[powerlost:>100]` | | |
|
||||
| `powertype` | Target power type | ✅ | ✅ | `[powertype:mana/rage]` | | |
|
||||
| `rage` | Target rage % (specific slot) | — | ✅ | `[@target,rage:<10]` | | |
|
||||
| `raid` | Unit is in your raid | ✅ | ✅ | `[raid]` `[raid:mouseover]` | | |
|
||||
| `rawhp` | Target raw HP value | — | ✅ | `[rawhp:>5000]` | | |
|
||||
| `rawpower` | Target raw power value | — | ✅ | `[rawpower:>500]` | | |
|
||||
| `resisted` | Last spell was resisted | ✅ | ✅ | `[resisted]` `[resisted:full/partial]` | | |
|
||||
| `tag` | Target is tapped by anyone | ✅ | — | `[tag]` `[notag]` | | |
|
||||
| `targeting` | Unit is targeting you or a tank | ✅ | ✅ | `[targeting:player]` `[notargeting:tank]` | | pfUI (for tank) |
|
||||
| `threat` | Threat % on target (100 = pull) | ✅ | ✅ | `[threat:>80]` | | TWThreat |
|
||||
| `tte` | Time to execute threshold (seconds) | ✅ | ✅ | `[tte:<5]` | | TimeToKill |
|
||||
| `ttk` | Time to kill target (seconds) | ✅ | ✅ | `[ttk:<10]` | | TimeToKill |
|
||||
| `type` | Creature type | ✅ | ✅ | `[type:Undead/Beast]` | | |
|
||||
| Conditional | Description | No | Multi | Example | Addon |
|
||||
|-------------|-------------|:--:|:-----:|---------|-------|
|
||||
| `alive` | Unit is alive | ✅ | — | `[alive]` | |
|
||||
| `behind` | Behind target / count behind | ✅ | ✅ | `[behind]` `[behind:>=2]` `[behind:meleerange>1]` | UnitXP_SP3 |
|
||||
| `buff` | Target has buff (with time/stacks/rank) | ✅ | ✅ | `[buff:Shield>#3]` `[nobuff:Renew/Rejuv]` `[buff:Regrowth(Rank_9)]` | |
|
||||
| `buffcapped` | Target buff bar full (32) | ✅ | — | `[nobuffcapped]` | |
|
||||
| `casting` | Target is casting (specific spell) | ✅ | ✅ | `[casting]` `[casting:Heal]` | |
|
||||
| `casttime` | Target cast time remaining (seconds) | ✅ | ✅ | `[casttime:<0.5]` | |
|
||||
| `cc` | Target has CC effect | ✅ | ✅ | `[cc:stun/fear]` `[nocc:polymorph]` | |
|
||||
| `channeltime` | Target channel time remaining (seconds) | ✅ | ✅ | `[channeltime:<0.5]` | |
|
||||
| `class` | Target class (players only) | ✅ | ✅ | `[class:Warrior/Priest]` | |
|
||||
| `curse` | Target has a Curse debuff | ✅ | — | `[curse]` `[@focus,curse]` | |
|
||||
| `cursive` | GUID-based debuff tracking (time remaining) | ✅ | ✅ | `[cursive:Rake<3]` `[nocursive:Rip]` | Cursive |
|
||||
| `dead` | Unit is dead | ✅ | — | `[dead]` | |
|
||||
| `debuff` | Target has debuff (with time/stacks/rank) | ✅ | ✅ | `[debuff:Moonfire<4]` `[nodebuff:Rake]` `[debuff:Moonfire(Rank_10)]` | |
|
||||
| `debuffcapped` | Target debuff bar full | ✅ | — | `[nodebuffcapped]` | |
|
||||
| `disease` | Target has a Disease debuff | ✅ | — | `[disease]` `[@party1,disease]` | |
|
||||
| `dispellable` | Target has any dispellable debuff | ✅ | — | `[dispellable]` | |
|
||||
| `dispellablebuff` | Target has any dispellable buff (offensive) | ✅ | — | `[harm,dispellablebuff]` | |
|
||||
| `distance` | Distance in yards / count within range | ✅ | ✅ | `[distance:<40]` `[distance:30>1]` `[distance:30:facing>1]` | UnitXP_SP3 |
|
||||
| `energy` | Target energy % (specific slot) | — | ✅ | `[@target,energy:<30]` | |
|
||||
| `exists` | Unit exists | ✅ | — | `[@mouseover,exists]` | |
|
||||
| `facing` | Facing target / count facing | ✅ | ✅ | `[facing]` `[facing:>2]` `[facing:meleerange>1]` | UnitXP_SP3 |
|
||||
| `harm` | Unit is hostile | ✅ | — | `[harm]` | |
|
||||
| `help` | Unit is friendly | ✅ | — | `[help]` | |
|
||||
| `hp` | Target HP % | — | ✅ | `[hp:<20]` `[hp:>30&<70]` | |
|
||||
| `hplost` | Target HP deficit (max - current) | — | ✅ | `[hplost:>1000]` | |
|
||||
| `immune` | Target is immune (school or CC type) | ✅ | ✅ | `[noimmune:fire]` `[noimmune:stun]` | |
|
||||
| `inrange` | In spell range / count in range | ✅ | ✅ | `[inrange:Charge]` `[inrange:Multi-Shot>1]` | UnitXP_SP3 (count) |
|
||||
| `insight` | In line of sight / count in LoS | ✅ | ✅ | `[insight]` `[insight:>0]` | UnitXP_SP3 |
|
||||
| `isnpc` | Unit is an NPC | ✅ | — | `[isnpc]` | |
|
||||
| `isplayer` | Unit is a player | ✅ | — | `[isplayer]` | |
|
||||
| `istank` | Unit is marked as tank | ✅ | — | `[istank]` `[@focus,istank]` | pfUI |
|
||||
| `level` | Target level (skull = 63) | — | ✅ | `[level:>60]` | |
|
||||
| `magic` | Target has a Magic debuff | ✅ | — | `[magic]` `[@focus,magic]` | |
|
||||
| `magicbuff` | Target has a dispellable Magic buff (offensive) | ✅ | — | `[harm,magicbuff]` | |
|
||||
| `mana` | Target mana % (specific slot) | — | ✅ | `[@target,mana:<15]` | |
|
||||
| `meleerange` | In melee range / count in melee | ✅ | ✅ | `[meleerange]` `[meleerange:>1]` `[meleerange:facing>1]` | UnitXP_SP3 |
|
||||
| `member` | Target is in party or raid | ✅ | — | `[member]` | |
|
||||
| `multiscan` | Scan enemies by priority, soft-cast | — | ✅ | `[multiscan:nearest]` `[multiscan:skull]` | UnitXP_SP3 |
|
||||
| `mytag` | Target is tapped by you | ✅ | — | `[mytag]` `[nomytag]` | |
|
||||
| `name` | Exact name match (case-insensitive) | ✅ | ✅ | `[name:Onyxia]` `[noname:Critter/Dummy]` | |
|
||||
| `othertag` | Target is tapped by someone else | ✅ | — | `[othertag]` `[noothertag]` | |
|
||||
| `outrange` | Out of spell range / count out | ✅ | ✅ | `[outrange:Charge]` `[outrange:Charge>0]` | UnitXP_SP3 (count) |
|
||||
| `party` | Unit is in your party | ✅ | ✅ | `[party]` `[party:focus]` | |
|
||||
| `poison` | Target has a Poison debuff | ✅ | — | `[poison]` `[@party1,poison]` | |
|
||||
| `power` | Target mana/rage/energy % | — | ✅ | `[power:<30]` | |
|
||||
| `powerlost` | Target power deficit | — | ✅ | `[powerlost:>100]` | |
|
||||
| `powertype` | Target power type | ✅ | ✅ | `[powertype:mana/rage]` | |
|
||||
| `rage` | Target rage % (specific slot) | — | ✅ | `[@target,rage:<10]` | |
|
||||
| `raid` | Unit is in your raid | ✅ | ✅ | `[raid]` `[raid:mouseover]` | |
|
||||
| `rawhp` | Target raw HP value | — | ✅ | `[rawhp:>5000]` | |
|
||||
| `rawpower` | Target raw power value | — | ✅ | `[rawpower:>500]` | |
|
||||
| `resisted` | Last spell was resisted | ✅ | ✅ | `[resisted]` `[resisted:full/partial]` | |
|
||||
| `tag` | Target is tapped by anyone | ✅ | — | `[tag]` `[notag]` | |
|
||||
| `targeting` | Unit is targeting you or a tank | ✅ | ✅ | `[targeting:player]` `[notargeting:tank]` | pfUI (for tank) |
|
||||
| `threat` | Threat % on target (100 = pull) | ✅ | ✅ | `[threat:>80]` | TWThreat |
|
||||
| `tte` | Time to execute threshold (seconds) | ✅ | ✅ | `[tte:<5]` | TimeToKill |
|
||||
| `ttk` | Time to kill target (seconds) | ✅ | ✅ | `[ttk:<10]` | TimeToKill |
|
||||
| `type` | Creature type | ✅ | ✅ | `[type:Undead/Beast]` | |
|
||||
|
||||
## Extended Unit Tokens (Nampower v2.41+)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user