diff --git a/Conditionals.md b/Conditionals.md index a275800..1a90c9e 100644 --- a/Conditionals.md +++ b/Conditionals.md @@ -91,6 +91,7 @@ These default to checking the current target. Most can be redirected with `@unit | `debuffcapped` | Target debuff bar full | ✅ | — | `[nodebuffcapped]` | v2.20 | | | `distance` | Distance in yards | ✅ | ✅ | `[distance:<40]` | | UnitXP_SP3 | | `exists` | Unit exists | ✅ | — | `[@mouseover,exists]` | | | +| `facing` | Facing target / count facing | ✅ | ✅ | `[facing]` `[facing:>2]` | | UnitXP_SP3 | | `harm` | Unit is hostile | ✅ | — | `[harm]` | | | | `help` | Unit is friendly | ✅ | — | `[help]` | | | | `hp` | Target HP % | — | ✅ | `[hp:<20]` `[hp:>30&<70]` | | | @@ -145,11 +146,12 @@ With Nampower v2.41+, all `[@unit]` redirects support additional token formats b ## Multi-Unit Count Mode -Range and position conditionals (`meleerange`, `behind`, `insight`, `inrange`, `outrange`) support counting enemies when given an operator + number. Requires UnitXP_SP3. Operators: `>`, `<`, `>=`, `<=`, `=`, `~=` +Range and position conditionals (`meleerange`, `behind`, `facing`, `insight`, `inrange`, `outrange`) support counting enemies when given an operator + number. Requires UnitXP_SP3. Operators: `>`, `<`, `>=`, `<=`, `=`, `~=` ```lua /cast [meleerange:>1] Whirlwind -- AoE if 2+ enemies in melee /cast [behind:>=2] Blade Flurry -- Cleave if behind 2+ enemies +/cast [facing:>2] Cone of Cold -- Frontal AoE if facing 3+ enemies /cast [inrange:Multi-Shot>1] Multi-Shot -- AoE if 2+ in spell range /cast [insight:>0] Arcane Explosion -- AoE if any enemy in LoS ```