Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: dist/game/data/scripts/quests/Q00933_TombRaiders/32594-03.htm
- ===================================================================
- --- dist/game/data/scripts/quests/Q00933_TombRaiders/32594-03.htm (revision 8382)
- +++ dist/game/data/scripts/quests/Q00933_TombRaiders/32594-03.htm (working copy)
- @@ -1,4 +1,4 @@
- -<html><body>Search Team's Teleporter:<br>
- -You have completed all the tasks and passed the trial.<br>
- +<html><body>Leopard:<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>
- </body></html>
- \ No newline at end of file
- Index: dist/game/data/scripts/quests/Q00933_TombRaiders/32594-04.htm
- ===================================================================
- --- dist/game/data/scripts/quests/Q00933_TombRaiders/32594-04.htm (revision 8382)
- +++ dist/game/data/scripts/quests/Q00933_TombRaiders/32594-04.htm (working copy)
- @@ -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.
- </body></html>
- \ No newline at end of file
- Index: dist/game/data/scripts/quests/Q00933_TombRaiders/32594-06.htm
- ===================================================================
- --- dist/game/data/scripts/quests/Q00933_TombRaiders/32594-06.htm (revision 8382)
- +++ dist/game/data/scripts/quests/Q00933_TombRaiders/32594-06.htm (working copy)
- @@ -1,4 +1,4 @@
- -<html><body>Search Team's Teleporter:<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>
- -To hunt: Tomb Guardian, Tomb Raider, Tomb Watcher, Tomb Soultaker, Tomb Patrol.
- +<html><body>Leopard:<br>
- +You did not finish your job, you have to defeat the monsters who have conquered the Imperial Tomb: <br>
- +Tomb Guardian, Tomb Raider, Tomb Watcher, Tomb Soultaker, Tomb Patrol.
- </body></html>
- \ No newline at end of file
- Index: dist/game/data/scripts/quests/Q00933_TombRaiders/Q00933_TombRaiders.java
- ===================================================================
- --- dist/game/data/scripts/quests/Q00933_TombRaiders/Q00933_TombRaiders.java (revision 8382)
- +++ dist/game/data/scripts/quests/Q00933_TombRaiders/Q00933_TombRaiders.java (working copy)
- @@ -20,6 +20,7 @@
- import java.util.Set;
- 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.instance.PlayerInstance;
- import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
- @@ -64,7 +65,7 @@
- final QuestState qs = getQuestState(player, false);
- if (qs == null)
- {
- - return htmltext;
- + return null;
- }
- switch (event)
- {
- @@ -81,7 +82,7 @@
- {
- addExpAndSp(player, 20700253956096L, 1450359376);
- giveItems(player, BENUSTA_REWARD_BOX, 1);
- - qs.exitQuest(true, true);
- + qs.exitQuest(QuestType.DAILY, true);
- htmltext = event;
- }
- break;
- @@ -99,24 +100,41 @@
- {
- case State.CREATED:
- {
- - htmltext = "34552-01.htm";
- + if (npc.getId() == SEARCH_TEAM_TELEPORTER)
- + {
- + htmltext = "34552-01.htm";
- + }
- break;
- }
- case State.STARTED:
- {
- - if (qs.isCond(2))
- + if (npc.getId() == LEOPARD)
- {
- - htmltext = "32594-03.htm";
- + if (qs.isCond(2))
- + {
- + htmltext = "32594-03.htm";
- + }
- + else
- + {
- + htmltext = "32594-06.htm";
- + }
- }
- - else
- - {
- - htmltext = "32594-06.htm";
- - }
- break;
- }
- 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement