Also..
TO whom it may concern:
modifier.last(insert spell here)
Doesnt work per se, the (insert spell here) part doesnt work right. for instance:
using this test code:
A. { "!Soothing Mist", { "lowest.health <= 100", "!player.moving", "!modifier.last" }, "lowest" }, -- Soothing Mist
B. { "!Soothing Mist", { "lowest.health <= 100", "!player.moving", "!modifier.last(Soothing Mist)" }, "lowest" }, -- Soothing Mist
you would think it funcitons the same. But code B SPAMS soothing mist, even though it was indeed the last spell cast. Whereas Code A only casts Soothing Mist if it WASNT cast last.
--------------
ALSO:
test code2:
{ "Surging Mist", { "player.casting","lowest.health <= 100" }, "lowest" }, -- Surging Mist
{ "Surging Mist", { "player.casting(Soothing Mist)","lowest.health <= 100" }, "lowest" }, -- Surging Mist
{ "Surging Mist", { "player.casting(I Love Boobs)","lowest.health <= 100" }, "lowest" }, -- Surging Mist
all work the EXACT same. Doesnt Matter what you put in (), it only checks to see if the player is casting. I tried "player.spell(Soothing Mist).casting, but that always returns false and the spell wont cast. Some clarity on how the conditions work would be nice.