Mage Pet Triggers

Mage Pet Triggers

Postby galacticat » Tue May 09, 2017 7:12 am

I am trying to figure out a regular expression for the random Mage pet names, to trigger a timer when I buff my pet.

For example for Burnout.
XXXXX goes berserk.

What would the regular expression be for a randomly generated pet name.

Also is it possible to store the pet name as a variable from a previous log line when I summoned by pet?
Posts: 1
Joined: Tue May 09, 2017 6:54 am

Re: Mage Pet Triggers

Postby Sirene » Wed May 10, 2017 8:31 pm

You could do something like this:

^\w+ goes berserk\.

But it will fire on any mage pet who gets Burnout.

You could also do:

^You begin casting Frenzied Burnout

For pet name in a variable, afaik you can't save it.

If you name your pet something unique, all of these problems will be solved. :mrgreen:

Edit: Oops, this isn't really about Frenzied Burnout. Also there is a much easier way -
Here is a better solution -

^Your pet's Burnout(\s\w+)?(\sRk\. III?)? spell has worn off\.

Matches (for example):
Your pet's Burnout XII Rk. II spell has worn off.
Your pet's Burnout XII Rk. III spell has worn off.
Your pet's Burnout spell has worn off.
Your pet's Burnout III spell has worn off.
Posts: 37
Joined: Fri Sep 27, 2013 2:52 pm

Return to Specific Trigger Questions

Who is online

Users browsing this forum: No registered users and 1 guest