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?
Basic Rescue Trigger for Newbie
Re: Basic Rescue Trigger for Newbie
The key question is what would you see when this happens? It seems to me that there are a few potential cases.
- 1st tank alive and tanking -- do nothing
- 1st tank alive, some other group member tanking -- have 1st tank rescue
- 1st tank dead, 2nd tank alive and tanking -- do nothing
- 1st tank dead, 2nd tank alive, some other group member tanking -- have 2nd tank rescue
- 1st and 2nd tanks dead -- do nothing