Browse Source

Fix in Q00025
Broken HTML tag
Duplicate HTMLs for Broken Bookshelf deleted

Joxit 10 years ago
parent
commit
0a096c30f9

+ 1 - 1
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31532-19.html

@@ -1,5 +1,5 @@
 <html><body>Maid of Lidia:<br>
 Lidia signed a contract with Nidrah, that is, Hardin, to summon the devil Triol.<br>
 She gave her life to Hardin, who then played a trick on her.<br>
-<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31532-20.html">"What trick?"</a)
+<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31532-20.html">"What trick?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-01.html

@@ -1,5 +1,5 @@
 <html><body>Broken Bookshelf:<br>
 Several books are on the shelves. The locker on the bottom is secured with an old, rusty padlock.<br>
 It should be easy to break.<br>
-<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-05.html">Break the lock.</a>
+<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-04.html">Break the lock.</a>
 </body></html>

+ 3 - 2
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-04.html

@@ -1,4 +1,5 @@
 <html><body>Broken Bookshelf:<br>
-The locker contains a few old clippings. There's nothing of value here.<br>
-It seems that what you're looking for isn't here.
+The locker contains a few old clippings.<br>
+In the midst of the odds and ends, you notice something glittering with a golden light!<br>
+<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-05.html">Search for the source of the light.</a>
 </body></html>

+ 1 - 3
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-05.html

@@ -1,5 +1,3 @@
 <html><body>Broken Bookshelf:<br>
-The locker contains a few old clippings.<br>
-In the midst of the odds and ends, you notice something glittering with a golden light!<br>
-<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-07.html">Search for the source of the light.</a>
+It's a small Gem Box! While examining it, you feel a murderous sensation roll over you!
 </body></html>

+ 1 - 3
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-06.html

@@ -1,5 +1,3 @@
 <html><body>Broken Bookshelf:<br>
-The locker contains a few old clippings.<br>
-In the midst of the odds and ends, you notice something glittering with a golden light!<br>
-<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-07.html">Search for the source of the light.</a>
+There's no time to examine it closely. That meddler needs to be taught a lesson!
 </body></html>

+ 1 - 1
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-07.html

@@ -1,3 +1,3 @@
 <html><body>Broken Bookshelf:<br>
-It's a small Gem Box! While examining it, you feel a murderous sensation roll over you!
+It's too noisy and chaotic right now to find the source of the glittering gold light. Try later when things quieten down.
 </body></html>

+ 2 - 1
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-08.html

@@ -1,3 +1,4 @@
 <html><body>Broken Bookshelf:<br>
-There's no time to examine it closely. That meddler needs to be taught a lesson!
+It's a small Gem Box! It's locked with a padlock bearing the mark of Rune Castle.<br>
+<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-09.html">Use a Gemstone Key.</a>
 </body></html>

+ 1 - 1
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-09.html

@@ -1,3 +1,3 @@
 <html><body>Broken Bookshelf:<br>
-It's too noisy and chaotic right now to find the source of the glittering gold light. Try later when things quieten down.
+There's a piece of paper inside the box.
 </body></html>

+ 0 - 4
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-10.html

@@ -1,4 +0,0 @@
-<html><body>Broken Bookshelf:<br>
-It's a small Gem Box! It's locked with a padlock bearing the mark of Rune Castle.<br>
-<a action="bypass -h Quest Q00025_HidingBehindTheTruth 31533-11.html">Use a Gemstone Key.</a>
-</body></html>

+ 0 - 3
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/31533-11.html

@@ -1,3 +0,0 @@
-<html><body>Broken Bookshelf:<br>
-There's a piece of paper inside the box.
-</body></html>

+ 17 - 21
L2J_DataPack/dist/game/data/scripts/quests/Q00025_HidingBehindTheTruth/Q00025_HidingBehindTheTruth.java

@@ -257,7 +257,7 @@ public class Q00025_HidingBehindTheTruth extends Quest
 				}
 				break;
 			}
-			case "31533-05.html":
+			case "31533-04.html":
 			{
 				if (qs.getMemoStateEx(npc.getId()) != 0)
 				{
@@ -267,17 +267,17 @@ public class Q00025_HidingBehindTheTruth extends Quest
 				{
 					qs.setMemoStateEx(1, qs.getMemoStateEx(1) + 20);
 					qs.setMemoStateEx(npc.getId(), 1);
-					htmltext = "31533-04.html";
+					htmltext = "31533-03.html";
 				}
 				else
 				{
 					qs.setMemoState(8);
-					htmltext = "31533-05.html";
+					htmltext = event;
 					playSound(player, QuestSound.AMDSOUND_HORROR_02);
 				}
 				break;
 			}
-			case "31533-07.html":
+			case "31533-05.html":
 			{
 				if (qs.isMemoState(8))
 				{
@@ -294,26 +294,26 @@ public class Q00025_HidingBehindTheTruth extends Quest
 							startQuestTimer("DESPAWN_TRIYOL", 120000, triyol, player);
 							triyol.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
 							
-							htmltext = "31533-07.html";
+							htmltext = event;
 							qs.setCond(7);
 						}
 						else if (brokenDeskOwner == player.getObjectId())
 						{
-							htmltext = "31533-08.html";
+							htmltext = "31533-06.html";
 						}
 						else
 						{
-							htmltext = "31533-09.html";
+							htmltext = "31533-07.html";
 						}
 					}
 					else
 					{
-						htmltext = "31533-10.html";
+						htmltext = "31533-08.html";
 					}
 				}
 				break;
 			}
-			case "31533-11.html":
+			case "31533-09.html":
 			{
 				if (qs.isMemoState(8) && hasQuestItems(player, TOTEM_DOLL3, GEMSTONE_KEY))
 				{
@@ -634,7 +634,7 @@ public class Q00025_HidingBehindTheTruth extends Quest
 						}
 						else if (qs.isMemoState(8))
 						{
-							htmltext = "31533-06.html";
+							htmltext = "31533-04.html";
 						}
 						break;
 					}
@@ -726,18 +726,14 @@ public class Q00025_HidingBehindTheTruth extends Quest
 					}
 					case COFFIN:
 					{
-						switch (qs.getMemoState())
+						if (qs.isMemoState(11))
 						{
-							case 11:
-							{
-								giveItems(talker, LIDAS_DRESS, 1);
-								cancelQuestTimer("DESPAWN_BOX", npc, talker);
-								startQuestTimer("DESPAWN_BOX", 3000, npc, talker);
-								qs.setMemoState(12);
-								qs.setCond(13, true);
-								htmltext = "31536-01.html";
-								break;
-							}
+							giveItems(talker, LIDAS_DRESS, 1);
+							cancelQuestTimer("DESPAWN_BOX", npc, talker);
+							startQuestTimer("DESPAWN_BOX", 3000, npc, talker);
+							qs.setMemoState(12);
+							qs.setCond(13, true);
+							htmltext = "31536-01.html";
 						}
 						break;
 					}