From 48dc417ed53a4f70c80c7bd0b4d955fb096c14b1 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Mon, 27 Jul 2026 22:48:20 -0500 Subject: [PATCH] Clarify `mod` conditional in Conditionals.md Expand the `mod` conditional docs to clarify it checks modifier keys held (ctrl/alt/shift), documents side-specific forms (lctrl/rctrl/lalt/ralt/lshift/rshift), and that a bare `mod` matches any modifier. Update examples to show `[mod:lshift]` and `[nomod:ralt]`. Documentation-only clarification; no behavior changes. --- Conditionals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Conditionals.md b/Conditionals.md index dfb96bc..8e4b6e5 100644 --- a/Conditionals.md +++ b/Conditionals.md @@ -37,7 +37,7 @@ These always evaluate against the player. Cannot be redirected with `@unit`. | `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]` | | | +| `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]` | | |