root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/services/DropService.java
| 945 | 1003 | ||
|---|---|---|---|
225 | { | 225 | { |
226 | PacketSendUtility.sendPacket(player, new SM_LOOT_STATUS(npcId, 3)); | 226 | PacketSendUtility.sendPacket(player, new SM_LOOT_STATUS(npcId, 3)); |
227 | PacketSendUtility.broadcastPacket(player, new SM_EMOTION(player, 36, 0, 0), true); | 227 | PacketSendUtility.broadcastPacket(player, new SM_EMOTION(player, 36, 0, 0), true); |
228 | Creature creature = (Creature) world.findAionObject(npcId); | 228 | Npc npc = (Npc) world.findAionObject(npcId); |
229 | if(creature != null) | 229 | if(npc != null) |
230 | { | 230 | { |
231 | PacketSendUtility.broadcastPacket(creature, new SM_DELETE(creature)); | 231 | npc.getController().onDespawn(true); |
232 | } | 232 | } |
233 | |||
234 | //TODO send 7B ?? | ||
235 | //7B 54 38 00 00 0D 00 00 00 00 00 00 | ||
236 | // or | ||
237 | //7B 54 38 00 00 0E 00 00 00 00 00 00 | ||
238 | } | 233 | } |
239 | } | 234 | } |
240 | } | 235 | } |
Download diff