trigger if string1 and string2 are not in text ?

Post Reply
Angahran
Posts: 23
Joined: Thu Jul 17, 2014 8:04 pm

trigger if string1 and string2 are not in text ?

Post by Angahran » Thu Jan 31, 2019 1:03 pm

Hi,

I have a trigger that goes off when a spell i cast is blocked.
However, it also catches procs and I have a belt that procs Tendon Slice which is blocked whenever a shaman is in the group or when various other slow spells are on the mob.

So, I was trying to figure out the regex that would show the blocked message except when it was blocked by spellA or spellB.

My current trigger is just a simple "spell did not take hold".
The full log is:
Your Tendon Slice spell did not take hold on ...

I'd like to have something like:

Your {not Tendon Slice and not SpellX and not SpellY etc...} spell did not take hold on {s1}

Is this possible ?

Thanks.

Notanothernecro
Posts: 5
Joined: Sun Sep 09, 2018 12:31 pm

Re: trigger if string1 and string2 are not in text ?

Post by Notanothernecro » Sat Nov 30, 2019 10:51 am

This is a really old post, but this is a really old forum.

I made a trigger for each of the spells that I WANTED to be included in this blocked spell notification, instead of just all spells. Figured that would be simpler than adding all of the exclusions from things such as sympathetic procs and the like.

Trigger name: Cytotoxic Wounds Rk. III
Search text: (Your Cytotoxic Wounds Rk. III spell has worn off of {S}|Your Cytotoxic Wounds Rk. III spell did not take hold on {S}|Your target resisted the Cytotoxic Wounds)\.

Timer type: Timer (Count Down)
Timer name: Cytotoxic-{S}
End early text: You begin casting Cytotoxic Wounds
{C} tells you, 'clear dot timers'
{C} tells you, 'clear all timers'
You have slain {S}
LOADING, PLEASE WAIT...

Post Reply