Is there a way to make it so that if my char needs to go to town to repair, he would clear the area first. As it is now, if my toon dies, and needs repair, he respawns on where he died (usually surrounded by tons of mobs), and tries to tp. Since there are so many enemies, he just continually dies until all his gear is broken, then finally leaves game.
Here's what the log looks like in this scenario:
Clicked revive at corpse button
[Trinity] Items may need repair, now running town-run routine.
[Trinity] Waiting for town run timer (Target Check)
Using town portal
[Trinity] Items may need repair, now running town-run routine.
Using town portal
[QuestTools][BotEvents] Player died! Position=<2833.667, 4513.299, 100.1> QuestId=312429 StepId=2 WorldId=70885
Clicked revive at corpse button
Using town portal
[Trinity] Using Legendary Potion
[Trinity] Items may need repair, now running town-run routine.
Using town portal
Using town portal
[QuestTools][BotEvents] Player died! Position=<2872.271, 4527.476, 100.1> QuestId=312429 StepId=2 WorldId=70885
Clicked revive at corpse button
Using town portal
[Trinity] Using Legendary Potion
Using town portal
[Trinity] Items may need repair, now running town-run routine.
Using town portal
[QuestTools][BotEvents] Player died! Position=<2840.162, 4547.43, 100.1> QuestId=312429 StepId=2 WorldId=70885
Clicked revive at last checkpoint button
Using town portal
Using town portal