arcemu/arcemu — Issue #6: #220: IsInCombat Issue
Author: Phi92
Created: 2011-11-10 15:01:27+00:00
State: open

Another issue (pardon me for posting such a lot all the sudden)
Latest WhyDB, Arc from 2011-11-07 14:53:52

On some occasions, mostly when you run away from mobs, your IsInCombat
bool true will not be removed. The next check usually occurs when porting,
logging out etc.
Another occasion would be a duell with other players (Here also the pet
will keep on attacking your opponent even if the duell is over)

I couldn't find exactly where in the source the aggro time and how long
creatures charge you is handled, I looked for it in CombatHandler and
Creature but couldn't find the right spot to fix this

The only annoying thing about this is, that you are of course not able to
perform most actions because you are still flagged as InCombat

Anyways ;) It is just a minor issue