Sync with L2JServer Jan 24th 2015.
This commit is contained in:
@ -27,6 +27,7 @@ import java.util.logging.Logger;
|
||||
|
||||
import com.l2jserver.gameserver.ThreadPoolManager;
|
||||
import com.l2jserver.gameserver.model.actor.L2Character;
|
||||
import com.l2jserver.gameserver.model.actor.L2Summon;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2CubicInstance;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.network.serverpackets.AutoAttackStop;
|
||||
@ -129,7 +130,12 @@ public class AttackStanceTaskManager
|
||||
actor.getAI().setAutoAttacking(false);
|
||||
if (actor.isPlayer() && actor.hasSummon())
|
||||
{
|
||||
actor.getSummon().broadcastPacket(new AutoAttackStop(actor.getSummon().getObjectId()));
|
||||
final L2Summon pet = actor.getPet();
|
||||
if (pet != null)
|
||||
{
|
||||
pet.broadcastPacket(new AutoAttackStop(pet.getObjectId()));
|
||||
}
|
||||
actor.getServitors().values().forEach(s -> s.broadcastPacket(new AutoAttackStop(s.getObjectId())));
|
||||
}
|
||||
}
|
||||
iter.remove();
|
||||
|
@ -63,7 +63,7 @@ public final class DecayTaskManager
|
||||
delay = Config.DEFAULT_CORPSE_TIME;
|
||||
}
|
||||
|
||||
if ((character instanceof L2Attackable) && (((L2Attackable) character).isSpoil() || ((L2Attackable) character).isSeeded()))
|
||||
if ((character instanceof L2Attackable) && (((L2Attackable) character).isSpoiled() || ((L2Attackable) character).isSeeded()))
|
||||
{
|
||||
delay += Config.SPOILED_CORPSE_EXTEND_TIME;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ import java.util.logging.Level;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.L2DatabaseFactory;
|
||||
import com.l2jserver.gameserver.datatables.CharNameTable;
|
||||
import com.l2jserver.gameserver.data.sql.impl.CharNameTable;
|
||||
import com.l2jserver.gameserver.enums.MailType;
|
||||
import com.l2jserver.gameserver.instancemanager.MailManager;
|
||||
import com.l2jserver.gameserver.model.entity.Message;
|
||||
|
@ -21,7 +21,7 @@ package com.l2jserver.gameserver.taskmanager.tasks;
|
||||
import java.util.Calendar;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.datatables.ClanTable;
|
||||
import com.l2jserver.gameserver.data.sql.impl.ClanTable;
|
||||
import com.l2jserver.gameserver.model.L2Clan;
|
||||
import com.l2jserver.gameserver.model.L2ClanMember;
|
||||
import com.l2jserver.gameserver.taskmanager.Task;
|
||||
|
@ -22,7 +22,7 @@ import java.util.Calendar;
|
||||
import java.util.Map;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.datatables.ClanTable;
|
||||
import com.l2jserver.gameserver.data.sql.impl.ClanTable;
|
||||
import com.l2jserver.gameserver.instancemanager.RaidBossPointsManager;
|
||||
import com.l2jserver.gameserver.model.L2Clan;
|
||||
import com.l2jserver.gameserver.taskmanager.Task;
|
||||
|
Reference in New Issue
Block a user