Fixes for quest Tomb Raiders (933).
Contributed by CostyKiller.
This commit is contained in:
parent
d91189c1fc
commit
bc51006120
@ -1,4 +1,4 @@
|
|||||||
<html><body>Search Team's Teleporter:<br>
|
<html><body>Leopard:<br>
|
||||||
You have completed all the tasks and passed the trial.<br>
|
Have you killed all the monsters?<br>
|
||||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00933_TombRaiders 32594-04.htm">"Yes, sure."</Button>
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00933_TombRaiders 32594-04.htm">"Yes, sure."</Button>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<html><body>Search Team's Teleporter:<br>
|
<html><body>Leopard:<br>
|
||||||
Congratulations. You have completed all the tasks and passed the trial.
|
Congratulations. You have completed all the tasks and passed the trial.
|
||||||
</body></html>
|
</body></html>
|
@ -1,4 +1,4 @@
|
|||||||
<html><body>Search Team's Teleporter:<br>
|
<html><body>Leopard:<br>
|
||||||
Password Decoder Leopard from the Town of Goddard asks you to defeat the monsters who have conquered the Imperial Tomb. You need to defeat 150 monsters in total.<br>
|
You did not finish your job, you have to defeat the monsters who have conquered the Imperial Tomb: <br>
|
||||||
To hunt: Tomb Guardian, Tomb Raider, Tomb Watcher, Tomb Soultaker, Tomb Patrol.
|
Tomb Guardian, Tomb Raider, Tomb Watcher, Tomb Soultaker, Tomb Patrol.
|
||||||
</body></html>
|
</body></html>
|
@ -20,6 +20,7 @@ import java.util.HashSet;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||||
|
import org.l2jmobius.gameserver.enums.QuestType;
|
||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||||
@ -64,7 +65,7 @@ public class Q00933_TombRaiders extends Quest
|
|||||||
final QuestState qs = getQuestState(player, false);
|
final QuestState qs = getQuestState(player, false);
|
||||||
if (qs == null)
|
if (qs == null)
|
||||||
{
|
{
|
||||||
return htmltext;
|
return null;
|
||||||
}
|
}
|
||||||
switch (event)
|
switch (event)
|
||||||
{
|
{
|
||||||
@ -81,7 +82,7 @@ public class Q00933_TombRaiders extends Quest
|
|||||||
{
|
{
|
||||||
addExpAndSp(player, 20700253956096L, 1450359376);
|
addExpAndSp(player, 20700253956096L, 1450359376);
|
||||||
giveItems(player, BENUSTA_REWARD_BOX, 1);
|
giveItems(player, BENUSTA_REWARD_BOX, 1);
|
||||||
qs.exitQuest(true, true);
|
qs.exitQuest(QuestType.DAILY, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -99,24 +100,41 @@ public class Q00933_TombRaiders extends Quest
|
|||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
{
|
{
|
||||||
htmltext = "34552-01.htm";
|
if (npc.getId() == SEARCH_TEAM_TELEPORTER)
|
||||||
|
{
|
||||||
|
htmltext = "34552-01.htm";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case State.STARTED:
|
case State.STARTED:
|
||||||
{
|
{
|
||||||
if (qs.isCond(2))
|
if (npc.getId() == LEOPARD)
|
||||||
{
|
{
|
||||||
htmltext = "32594-03.htm";
|
if (qs.isCond(2))
|
||||||
}
|
{
|
||||||
else
|
htmltext = "32594-03.htm";
|
||||||
{
|
}
|
||||||
htmltext = "32594-06.htm";
|
else
|
||||||
|
{
|
||||||
|
htmltext = "32594-06.htm";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case State.COMPLETED:
|
case State.COMPLETED:
|
||||||
{
|
{
|
||||||
htmltext = getAlreadyCompletedMsg(player);
|
if (npc.getId() == SEARCH_TEAM_TELEPORTER)
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "34552-01.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<html><body>Search Team's Teleporter:<br>
|
<html><body>Leopard:<br>
|
||||||
You have completed all the tasks and passed the trial.<br>
|
Have you killed all the monsters?<br>
|
||||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00933_TombRaiders 32594-04.htm">"Yes, sure."</Button>
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00933_TombRaiders 32594-04.htm">"Yes, sure."</Button>
|
||||||
</body></html>
|
</body></html>
|
@ -1,3 +1,3 @@
|
|||||||
<html><body>Search Team's Teleporter:<br>
|
<html><body>Leopard:<br>
|
||||||
Congratulations. You have completed all the tasks and passed the trial.
|
Congratulations. You have completed all the tasks and passed the trial.
|
||||||
</body></html>
|
</body></html>
|
@ -1,4 +1,4 @@
|
|||||||
<html><body>Search Team's Teleporter:<br>
|
<html><body>Leopard:<br>
|
||||||
Password Decoder Leopard from the Town of Goddard asks you to defeat the monsters who have conquered the Imperial Tomb. You need to defeat 150 monsters in total.<br>
|
You did not finish your job, you have to defeat the monsters who have conquered the Imperial Tomb: <br>
|
||||||
To hunt: Tomb Guardian, Tomb Raider, Tomb Watcher, Tomb Soultaker, Tomb Patrol.
|
Tomb Guardian, Tomb Raider, Tomb Watcher, Tomb Soultaker, Tomb Patrol.
|
||||||
</body></html>
|
</body></html>
|
@ -20,6 +20,7 @@ import java.util.HashSet;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||||
|
import org.l2jmobius.gameserver.enums.QuestType;
|
||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||||
@ -64,7 +65,7 @@ public class Q00933_TombRaiders extends Quest
|
|||||||
final QuestState qs = getQuestState(player, false);
|
final QuestState qs = getQuestState(player, false);
|
||||||
if (qs == null)
|
if (qs == null)
|
||||||
{
|
{
|
||||||
return htmltext;
|
return null;
|
||||||
}
|
}
|
||||||
switch (event)
|
switch (event)
|
||||||
{
|
{
|
||||||
@ -81,7 +82,7 @@ public class Q00933_TombRaiders extends Quest
|
|||||||
{
|
{
|
||||||
addExpAndSp(player, 20700253956096L, 1450359376);
|
addExpAndSp(player, 20700253956096L, 1450359376);
|
||||||
giveItems(player, BENUSTA_REWARD_BOX, 1);
|
giveItems(player, BENUSTA_REWARD_BOX, 1);
|
||||||
qs.exitQuest(true, true);
|
qs.exitQuest(QuestType.DAILY, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -99,24 +100,41 @@ public class Q00933_TombRaiders extends Quest
|
|||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
{
|
{
|
||||||
htmltext = "34552-01.htm";
|
if (npc.getId() == SEARCH_TEAM_TELEPORTER)
|
||||||
|
{
|
||||||
|
htmltext = "34552-01.htm";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case State.STARTED:
|
case State.STARTED:
|
||||||
{
|
{
|
||||||
if (qs.isCond(2))
|
if (npc.getId() == LEOPARD)
|
||||||
{
|
{
|
||||||
htmltext = "32594-03.htm";
|
if (qs.isCond(2))
|
||||||
}
|
{
|
||||||
else
|
htmltext = "32594-03.htm";
|
||||||
{
|
}
|
||||||
htmltext = "32594-06.htm";
|
else
|
||||||
|
{
|
||||||
|
htmltext = "32594-06.htm";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case State.COMPLETED:
|
case State.COMPLETED:
|
||||||
{
|
{
|
||||||
htmltext = getAlreadyCompletedMsg(player);
|
if (npc.getId() == SEARCH_TEAM_TELEPORTER)
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "34552-01.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user