package com.aionemu.gameserver.ai.handler;
import com.aionemu.gameserver.ai.AILogger;
import com.aionemu.gameserver.ai.AIState;
import com.aionemu.gameserver.ai.AISubState;
import com.aionemu.gameserver.ai.NpcAI;
/**
* @author ATracer
*/
public class DiedEventHandler {
public static void onDie(NpcAI npcAI) {
if (npcAI.isLogging()) {
AILogger.info(npcAI, "onDie");
}
ShoutEventHandler.onDied(npcAI);
npcAI.setStateIfNot(AIState.DIED);
npcAI.setSubStateIfNot(AISubState.NONE);
npcAI.getOwner().getController().loseAggro(false);
}
}
순위 | 닉네임 | 포인트 |
---|---|---|
1 |
![]() |
102,949 |
2 |
![]() |
63,733 |
3 |
![]() |
51,771 |
4 |
![]() |
36,923 |
5 |
![]() |
35,011 |
6 |
![]() |
29,470 |
7 |
![]() |
29,077 |
8 |
![]() |
28,199 |
9 |
![]() |
26,731 |
10 |
![]() |
17,020 |