Quest Marionette Spirit (10762).

Contributed by Stayway.
This commit is contained in:
MobiusDev
2016-01-20 12:36:38 +00:00
parent a01d51338b
commit b129af39ca
12 changed files with 211 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ public class Q10761_AnOrcInLove extends Quest
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc);
if ((qs != null) && qs.isStarted() && qs.isCond(1) && (Util.checkIfInRange(1500, npc, qs.getPlayer(), false)))
if ((qs != null) && qs.isStarted() && qs.isCond(1) && Util.checkIfInRange(1500, npc, qs.getPlayer(), false))
{
int kills = qs.getInt(Integer.toString(TUREK_ORC_ELDER));
kills++;