From 42d9fb5153f6cea14a51991d63a21bbd8bb8b2c2 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Mon, 27 Jul 2026 22:46:17 -0500 Subject: [PATCH] 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. --- Conditionals.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Conditionals.md b/Conditionals.md index cc26178..dfb96bc 100644 --- a/Conditionals.md +++ b/Conditionals.md @@ -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]` | | |