root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/controllers/MonsterController.java

9801003
38
import com.aionemu.gameserver.network.aion.serverpackets.SM_ATTACK_STATUS.TYPE;
38
import com.aionemu.gameserver.network.aion.serverpackets.SM_ATTACK_STATUS.TYPE;
39
import com.aionemu.gameserver.questEngine.QuestEngine;
39
import com.aionemu.gameserver.questEngine.QuestEngine;
40
import com.aionemu.gameserver.questEngine.model.QuestEnv;
40
import com.aionemu.gameserver.questEngine.model.QuestEnv;
41
import com.aionemu.gameserver.services.DecayService;
42
import com.aionemu.gameserver.services.RespawnService;
43
import com.aionemu.gameserver.utils.PacketSendUtility;
41
import com.aionemu.gameserver.utils.PacketSendUtility;
44
import com.aionemu.gameserver.utils.stats.StatFunctions;
42
import com.aionemu.gameserver.utils.stats.StatFunctions;
45
import com.aionemu.gameserver.world.World;
43
import com.aionemu.gameserver.world.World;
...
...
195
		this.doReward(target);
193
		this.doReward(target);
196
		this.doDrop(target);
194
		this.doDrop(target);
197
		this.getOwner().getAi().handleEvent(Event.DIED);
195
		this.getOwner().getAi().handleEvent(Event.DIED);
198
		
199
		if(decayTask == null)
200
		{
201
			decayTask = DecayService.getInstance().scheduleDecayTask(this.getOwner());
202
			RespawnService.getInstance().scheduleRespawnTask(this.getOwner());
203
		}	
204
196
205
		//deselect target at the end
197
		//deselect target at the end
206
		getOwner().setTarget(null);
198
		getOwner().setTarget(null);