NOTE: the below code I was using for testing purposes
{ "!115175", { "lowest.health <= 100", "!player.moving", "!modifier.last(Soothing Mist)" }, "lowest" }, -- Soothing Mist
yet it spams Soothing Mist.
PE AL:
What I want to do:
(again just using this as testing, actual usage will vary)
--Testing
{ "!115175", { "lowest.health <= 100", "!player.moving", "!modifier.last(Soothing Mist)" }, "lowest" }, -- Soothing Mist
{ "124682", { "player.spell(Soothing Mist).casting", "lowest.health <= 100", "player.chi >= 3" }, "lowest" }, -- EnM
{ "116694", { "player.spell(Soothing Mist).casting", "lowest.health <= 100" }, "lowest" }, -- Surging Mist
The LOGiC behind this:
--- ! soothing mist, so itll cancel the previous one (as long as it wasnt the last thing cast)
---It'll enveloping Mist (if channeling) if >3 chi
---It'll surging (if channeling)
The reason I dont do it like this:
- enveliping
-surging
-soothing
Is because I want it to Envelop/Surging the most recent target of Soothing. If arrange like above, itll EM/SM the previous target (because of the mechanics of those abilities)
--- So in essence I want it to:
1. Aquire New soothing target
2. EM that target if applicable, then back to step 1 (otherwise proceed to step 3)
3. Surg that target then proceed back to step 1
Now, what stops this from working correctly, is !modifier.last(soothing mist), and just plain !modifier.last arent working, so it spams soothing even though soothign was inded that last spell casted.
(also, for surging/EM, would I use: "player.spell(Soothing Mist).casting" OR "player.spell(Soothing Mist).channeling")