mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
Add mhenchant and ohenchant conditionals
Document two new conditional checks for temporary enchantments on main and off-hand weapons. Both use ClassicAPI and support checking by enchantment ID or name.
@@ -35,6 +35,7 @@ These always evaluate against the player. Cannot be redirected with `@unit`.
|
||||
| `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 pressed | ✅ | ✅ | `[mod:alt/ctrl]` | | |
|
||||
| `mounted` | Player is mounted | ✅ | — | `[mounted]` `[nomounted]` | | |
|
||||
@@ -59,6 +60,7 @@ These always evaluate against the player. Cannot be redirected with `@unit`.
|
||||
| `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]` | | |
|
||||
|
||||
Reference in New Issue
Block a user