package com.aionemu.gameserver.ai.handler;
import com.aionemu.gameserver.ai.AISubState;
import com.aionemu.gameserver.ai.AbstractAI;
import com.aionemu.gameserver.model.gameobjects.Creature;
/**
* @author Rolandas, Neon
*/
public class FreezeEventHandler {
public static void onUnfreeze(AbstractAI<? extends Creature> ai) {
if (ai.isInSubState(AISubState.FREEZE)) {
ai.setSubStateIfNot(AISubState.NONE);
ai.think();
}
}
public static void onFreeze(AbstractAI<? extends Creature> ai) {
ai.setSubStateIfNot(AISubState.FREEZE);
ai.think();
}
}
순위 | 닉네임 | 포인트 |
---|---|---|
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 |