From cfab8577e64fc46f4b566a6c431e709a38210c77 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Mon, 27 Jul 2026 18:48:06 -0500 Subject: [PATCH] Remove Dispel-Type Conditionals section --- Conditionals.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Conditionals.md b/Conditionals.md index 22f2ab9..0c6daa9 100644 --- a/Conditionals.md +++ b/Conditionals.md @@ -137,26 +137,6 @@ These default to checking the current target. Most can be redirected with `@unit | `ttk` | Time to kill target (seconds) | ✅ | ✅ | `[ttk:<10]` | | TimeToKill | | `type` | Creature type | ✅ | ✅ | `[type:Undead/Beast]` | | | -## Dispel-Type Conditionals (ClassicAPI) - -`magic`, `curse`, `disease`, `poison`, and `dispellable` detect the **dispel type** of a unit's auras — something vanilla can't normally read, which is why [ClassicAPI](https://github.com/brues-code/ClassicAPI) (`C_UnitAuras`) is a requirement of this addon. They are no-argument booleans, default to `@target`, and can be redirected with `@unit`. - -- **Debuff side (defensive cleanse):** `magic` / `curse` / `disease` / `poison` are true when the unit has a **harmful** aura of that dispel type. `dispellable` is true when the unit has any dispel-typed debuff. -- **Buff side (offensive dispel / strip):** `magicbuff` and `dispellablebuff` check the unit's **buffs** instead — use these to detect an enemy buff you can remove (e.g. Dispel Magic / Purge). 1.12 offensive dispel only removes Magic, so `magicbuff` is the practical one. - -> **Note:** `dispellable` is class-agnostic — it's true for *any* dispel type, including ones your class can't remove. On a class with limited dispels (e.g. a Priest, who can only clear Magic and Disease) use the specific `magic` / `disease` keywords rather than `dispellable`. - -```lua --- Priest: Dispel Magic on yourself, else friendly target's magic, else strip an enemy's magic buff -/cast [@player,magic] Dispel Magic; [help,magic] Dispel Magic; [harm,magicbuff] Dispel Magic - --- Druid: decurse / depoison your target or focus -/cast [curse] Remove Curse; [poison] Cure Poison; [@focus,curse] Remove Curse - --- Paladin: one-button Cleanse covering all three types it can remove -/cast [magic] Cleanse; [disease] Cleanse; [poison] Cleanse -``` - ## Extended Unit Tokens (Nampower v2.41+) With Nampower v2.41+, all `[@unit]` redirects support additional token formats beyond standard tokens: