Sync with L2JServer Feb 7th 2015.
This commit is contained in:
@@ -24,13 +24,13 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import ai.npc.AbstractNpcAI;
|
||||
|
||||
import com.l2jserver.gameserver.enums.ChatType;
|
||||
import com.l2jserver.gameserver.model.L2Spawn;
|
||||
import com.l2jserver.gameserver.model.Location;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.network.NpcStringId;
|
||||
import com.l2jserver.gameserver.network.clientpackets.Say2;
|
||||
|
||||
/**
|
||||
* Manages Darion's Enforcer's and Darion's Executioner spawn/despawn
|
||||
@@ -161,7 +161,7 @@ public final class Keltas extends AbstractNpcAI
|
||||
final L2Npc keltas = _spawnedKeltas;
|
||||
if ((keltas != null) && !keltas.isDead())
|
||||
{
|
||||
broadcastNpcSay(keltas, Say2.NPC_SHOUT, NpcStringId.THAT_IS_IT_FOR_TODAY_LET_S_RETREAT_EVERYONE_PULL_BACK);
|
||||
broadcastNpcSay(keltas, ChatType.NPC_SHOUT, NpcStringId.THAT_IS_IT_FOR_TODAY_LET_S_RETREAT_EVERYONE_PULL_BACK);
|
||||
keltas.deleteMe();
|
||||
keltas.getSpawn().decreaseCount(keltas);
|
||||
despawnMinions();
|
||||
@@ -182,7 +182,7 @@ public final class Keltas extends AbstractNpcAI
|
||||
public final String onSpawn(L2Npc npc)
|
||||
{
|
||||
_spawnedKeltas = (L2MonsterInstance) npc;
|
||||
broadcastNpcSay(_spawnedKeltas, Say2.NPC_SHOUT, NpcStringId.GUYS_SHOW_THEM_OUR_POWER);
|
||||
broadcastNpcSay(_spawnedKeltas, ChatType.NPC_SHOUT, NpcStringId.GUYS_SHOW_THEM_OUR_POWER);
|
||||
spawnMinions();
|
||||
startQuestTimer("despawn", 1800000, null, null);
|
||||
return super.onSpawn(npc);
|
||||
|
Reference in New Issue
Block a user