_globalAggro
Posted: Wed Jan 19, 2011 3:06 pm
L2J Revision 4486:
L2JDP Revision 7756:
L2AttackableAI
Doesn't work. L2Monster becomes aggro immediately after respawn and starts attacking player. Should wait 10 seconds after respawn and get all visible objects inside its Aggro Range. How to fix it?
L2JDP Revision 7756:
L2AttackableAI
Code: Select all
_globalAggro = -10; // 10 seconds timeout of ATTACK after respawn...// Add all autoAttackable L2Character in L2Attackable Aggro Range to its _aggroList with 0 damage and 1 hate// A L2Attackable isn't aggressive during 10s after its spawn because _globalAggro is set to -10