GOAL
Fully automate the following process (roughly):
- Check affects list for specific spell(s)
- If criteria OK, look in room for mob to kill based on pre-approved list per area
- if no mob, move to new room within existing map
- Send targeting command to Mud
- Kill mob
- Check tank current HP
- if ok, proceed
- else send heal command
- Check affects list
I currently have triggers for targeting across different profiles. Tank behavior starts the fight immediately, support / DPS wait for tank to start, then attack target enemy.
(\w+) tells the group 'target (\w+)'
- Tank:
send ("c 'start fight' " .. matches[3])
- Support:
targetEnemy = matches[3]
I feel like its close, but I'd like to put the finishing touches on things. I'm not very comfortable with the mapping tool either, and would really love to integrate that into the speedwalk triggers i've got wired now as well. Any guidance here would be MUCH appreciated.
Thanks!
Then as a subset,
Pattern: Tank utters the words 'start fight'
Command: debuff .. targetEnemy
Once the fight is on in earnest there is basic per-round attacks, no biggie there. Then, mob dies.
Mob is DEAD!!
- Check affects
Affects checkCode: Select all
(\d+) hours: Damage_reduction x 1 : Nothing. Command: local sancHours = tonumber(matches[2]) send("gt affect hours: " ..affectHours) --affectHours is an existing variable if (sancHours < 2) then send("gt Affect low. Hours remaining: " ..matches[2]) disableTrigger("Autowalk") -- needs dev, not functional else enableTrigger("Scan") -- needs dev, not functional send("look") end
- If criteria OK, look in room for mob to kill based on pre-approved list per area