package ai;
import com.aionemu.gameserver.ai.AIName;
import com.aionemu.gameserver.ai.NpcAI;
import com.aionemu.gameserver.model.gameobjects.Creature;
import com.aionemu.gameserver.model.gameobjects.Npc;
/**
* @author ATracer
*/
@AIName("noaction")
public class NoActionAI extends NpcAI {
public NoActionAI(Npc owner) {
super(owner);
}
@Override
protected void handleAttack(Creature creature) {
switch (getOwner().getObjectTemplate().getTribe()) { // hp regen for training dummies
case TARGETBASFELT_DF1:
case TARGETBASFELT2_DF1:
case DUMMY:
case DUMMY2:
case LF5_DUMMY1:
case LF5_DUMMY2:
case DF5_DUMMY1:
case DF5_DUMMY2:
getOwner().getController().loseAggro(true);
}
}
}
순위 | 닉네임 | 포인트 |
---|---|---|
1 |
![]() |
100,792 |
2 |
![]() |
58,079 |
3 |
![]() |
51,771 |
4 |
![]() |
36,923 |
5 |
![]() |
35,011 |
6 |
![]() |
29,969 |
7 |
![]() |
29,470 |
8 |
![]() |
29,077 |
9 |
![]() |
28,199 |
10 |
![]() |
17,020 |