GINA Trigger Question

Discussion in 'Casters' started by Nevermore_Trak, Nov 24, 2020.

  1. Nevermore_Trak New Member

    I been searching and I just cannot find exactly how to create a trigger for resisted spells.

    For Example
    (Mob) resisted your (Spell)

    Where mob is any named mob , and Spell is and DOT or DD spells..

    Any help would be appreciated.

    Thank you
  2. Bigstomp Augur

    {S} resisted your {S}
  3. Nevermore_Trak New Member

    Thank you!
  4. Xyroff-cazic. Director of Sarcasm

  5. Szilent Augur

    excluding procs will save you a ton of spam. like this:

    ^{S1} resisted your (?!Surge|Obulus|Frostreave|Icerend|Fiery){s2}( Rk\. III?)?!$
    Bigstomp and Tucoh like this.
  6. Nevermore_Trak New Member

    For some reason when I entered this and then I tested it using /tell to my character with the character it didn't work
  7. Zipe The Healer

    That's because our dear Xyroff used ^ to cleanup the regex and let you have les CPU usage on your triggers!
    ^ means it's a sentence start, so won't work with your tells.

    Just remove the ^ for testing purposes.

    Then use what Szilent posted for the best performance.
    Note that Szilent used {s1} and {s2} so u'll have to use that on the Display text
    Xyroff-cazic. likes this.
  8. Bigstomp Augur

    My example would work but you really want to use the more advanced samples. Anchoring your regex's makes them much more efficient.