Project update.
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2015 L2J DataPack
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This file is part of L2J DataPack.
|
||||
*
|
||||
* L2J DataPack is free software: you can redistribute it and/or modify
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* L2J DataPack is distributed in the hope that it will be useful,
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
@@ -21,12 +19,12 @@ package quests.Q00336_CoinsOfMagic;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.gameserver.enums.QuestSound;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.util.Util;
|
||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
|
||||
/**
|
||||
* Coin Of Magic (336)
|
||||
@@ -1096,7 +1094,6 @@ public final class Q00336_CoinsOfMagic extends Quest
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case HARIT_LIZARDMAN_SHAMAN:
|
||||
@@ -1345,7 +1342,6 @@ public final class Q00336_CoinsOfMagic extends Quest
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
@@ -1806,7 +1802,6 @@ public final class Q00336_CoinsOfMagic extends Quest
|
||||
{
|
||||
player.getParty().getMembers().stream().forEach(pm ->
|
||||
{
|
||||
|
||||
final QuestState qss = getQuestState(pm, false);
|
||||
if ((qss != null) && qss.isStarted() && (qss.getMemoState() == memoState) && Util.checkIfInRange(1500, npc, pm, true))
|
||||
{
|
||||
@@ -1831,7 +1826,6 @@ public final class Q00336_CoinsOfMagic extends Quest
|
||||
{
|
||||
player.getParty().getMembers().stream().forEach(pm ->
|
||||
{
|
||||
|
||||
final QuestState qss = getQuestState(pm, false);
|
||||
if ((qss != null) && qss.isStarted() && (qss.getMemoState() == memoState) && !qss.hasQuestItems(Q_KALDIS_GOLD_DRAGON) && Util.checkIfInRange(1500, npc, pm, true))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user