up on closer look, the problem occur at the scope of fighting. right now, the rules are set like this :
FIGHT BEGIN :
BOT) stop moving
BOT melee) if have LOS, move to mob and attack
else, stand and do nothing
BOT caster) if have LOS and mob distance < spell range, nuke/debuff/dot
else, stand and do nothing
BOT healer) if have LOS with melee, heal
else, stand and do nothing
BOT pet) if no LOS with MOB, attack anyway, pet can walk thought walls ... -_-;;
if mob distance < pet/master, move and attack
else, run back and forth from master to mob
FIGHT END
I think the problems is the else part, need more work in there, like ...
melee ) if no LOS with mob, move to me
caster ) if no LOS with mob || mob too far, move to me
healer ) if no LOS with melee || move to me
pet class) if mob too far, move to me ......
maybe this will help ???
|