package com.aionemu.gameserver.ai;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.aionemu.gameserver.configs.main.AIConfig;
import com.aionemu.gameserver.model.gameobjects.Creature;
/**
* @author ATracer
*/
public class AILogger {
private static final Logger log = LoggerFactory.getLogger(AILogger.class);
public static final void info(AbstractAI<? extends Creature> ai, String message) {
if (ai.isLogging()) {
log.info("[AI] " + ai.getOwner().getObjectId() + " - " + message);
}
}
/**
* @param owner
* @param message
*/
public static void moveinfo(Creature owner, String message) {
if (AIConfig.MOVE_DEBUG && owner.getAi().isLogging()) {
log.info("[AI] " + owner.getObjectId() + " - " + message);
}
}
}
순위 | 닉네임 | 포인트 |
---|---|---|
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 |