09 April 2007

Backstab circle trig

This trig is to automaticly circle your victim after backstabing them. It will continue to circle and backstab until you kill them or flee. The only problem I've seen with it so far is that after the battle has ended you will attempt to bstab and circle the last mob even if they are dead. I'm going to continue working with this trig and am in the process of trying to get a bstab flee trig working. It is kind of a pain since when you flee it doen't tell you the direction you flee. I'll post it when ever I get it complete. If you find any problems with this feel free to post a comment and I'll see what I can do.

#CLASS {backstab-circle}
#VAR backstab {}
#TRIGGER {*%s(%w) avoids your backstab and you nearly cut your own finger!} { #if {%1!="quickly"} { #additem backstab %1 #forall @backstab {circle %1} #forall @backstab {backstab %1} } }
#TRIGGER {*%s(%w) quickly avoids your backstab and you nearly cut your own finger!} { #additem backstab %1 #forall @backstab {circle %1} #forall @backstab {backstab %1} }
#TRIGGER {You failed to circle your victim!} { #forall @backstab {circle %i} #forall @backstab {backstab %i} }
#TRIGGER {*%s(%w) makes a strange sound as you place} { #additem backstab %1 #forall @backstab {circle %1} #forall @backstab {backstab %1} }
#TRIGGER {You receive %d experience points.} {#DELNITEM backstab 1}#TRIGGER {You flee head over heels.} {#DELNITEM backstab 1}
#CLASS 0

1 comment:

Anonymous said...

This is great info to know.