Skill auto-repeater

Posted by Xandler on Wed 13 Jan 2021 02:23 PM — 2 posts, 11,596 views.

#0
I am trying to rebuild triggers as I have lost everything due to a HDD failure which I wasn't expecting.

I have it somewhat working, but I want it to trigger off the damage send the skill ONCE per round and repeat until everything is dead, right now it is triggering off the autocompass within the mud when I look and fires (I don't want that as I don't want to keep looking)


<triggers>
  <trigger
   expand_variables="y"
   group="aoe"
   match="[(\d+)]$"
   name="aoe1"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>Send '@aoe'
EnableTrigger ("aoe1", false)</send>
  </trigger>
  <trigger
   enabled="y"
   group="aoe"
   keep_evaluating="y"
   match="You jump into the sky while charging a large amount of energy into your shield. Shockwaves of ki begin to emit around the edges of your shield as you rush towards your enemy, crashing into the ground causing an earthquake of seismic proportions."
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send>EnableTrigger ("aoe1", true)</send>
  </trigger>
</triggers>


I'm not sure what's wrong with this as I have copy and pasted this from someone else and it is working differently (it goes off the skills damage and not the compass)


[--Dead--]=-=[790082]


Is what it should match and fire ONCE per round (it hits multiple NPCs if applicable). Do I have some global preference not enabled to make this work properly? It's a fresh download of the latest version of mushclient so everything is the default.
Australia Forum Administrator #1
What does the compass look like? Your trigger will match anything with digits at the end of the line.

Perhaps you mean to match on:


\[(\d+)\]$


Square brackets on their own (without the backslash) starts a set.