Basic Rescue Trigger for Newbie
Posted: Fri Jan 26, 2018 10:01 pm
So, I have a rescue trigger that works. It looks like this:
TN: (\w+) perl regex
target = matches[2]
if target ~= "Honeythorn" then
send("stand")
send("rescue " .. target)
end
__________
TN stands for tank in the prompt during battle
My question is this:
I now have two tanks in a group. If my first tank dies I want my second tank to then rescue whoever is hit next and take over tanking duties. The first tanks name is 'Brasidas'. Can anyone steer me in the right direction?
TN: (\w+) perl regex
target = matches[2]
if target ~= "Honeythorn" then
send("stand")
send("rescue " .. target)
end
__________
TN stands for tank in the prompt during battle
My question is this:
I now have two tanks in a group. If my first tank dies I want my second tank to then rescue whoever is hit next and take over tanking duties. The first tanks name is 'Brasidas'. Can anyone steer me in the right direction?