И все дружно бросились изобретать лисапед....
Код:
public class RebornCorpse extends Quest {
List<L2NpcInstance> _currentMobs = new ArrayList<L2NpcInstance>();
int _activePhase = 0;
public String onKill(L2NpcInstance npc, L2PcInstance killer, boolean isPet) {
_currentMobs.remove(npc);
if(_currentMobs.isEmpty())
nextPhase();
return null;
}
private void nextPhase() {
_activePhase++;
if(_activePhase>4) _activePhase = 1;
switch(_activePhase) {
case 1: _currentMobs.add(addSpawn(21336, 119319, 112238, -3695, 9074, false, 0));
_currentMobs.add(addSpawn(21336, 119247, 112349, -3691, 9438, false, 0));
break;
}
}
Идею я наисал, реализация - за вами