Ver código fonte

BETA: Misc changes.
* Removes SuppressWarning warning.

Zoey76 12 anos atrás
pai
commit
2253b85d97

+ 3 - 1
L2J_DataPack_BETA/dist/game/data/html/fortress/logistics-1.htm

@@ -1 +1,3 @@
-<html><body>We cannot predict exactly when we may be attacked by forces from an enemy castle or fortress. We are constantly on guard, but the tension is making our soldiers nervous... </body></html>
+<html><body>
+We cannot predict exactly when we may be attacked by forces from an enemy castle or fortress. We are constantly on guard, but the tension is making our soldiers nervous...
+</body></html>

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/html/fortress/logistics-noprivs.htm

@@ -1,2 +1,3 @@
-<html><body><center>You are not authorized to perform that function.</center>
+<html><body>
+<center>You are not authorized to perform that function.</center>
 </body></html>

+ 4 - 3
L2J_DataPack_BETA/dist/game/data/html/fortress/logistics.htm

@@ -1,6 +1,6 @@
-<html><body>It is our responsibility as the Supply Department to manage all the supplies used by the fortress garrison. This includes supplies from the castle as well as weapons and armor designed to help increase the soldiers' effectiveness. There are even some very special rewards that can be found here...  <br>
+<html><body>
+It is our responsibility as the Supply Department to manage all the supplies used by the fortress garrison. This includes supplies from the castle as well as weapons and armor designed to help increase the soldiers' effectiveness. There are even some very special rewards that can be found here...<br>
 <br>
-
 <center>
 <br>
 <a action="bypass -h npc_%objectId%_Chat 1">Check fortress security.</a>
@@ -8,4 +8,5 @@
 <a action="bypass -h npc_%objectId%_supplylvl">Check supplies.</a>
 <br>
 <a action="bypass -h npc_%objectId%_rewards">Check rewards.</a>
-</center></body></html>
+</center>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00194_SevenSignsMammonsContract/Q00194_SevenSignsMammonsContract.java

@@ -361,7 +361,7 @@ public class Q00194_SevenSignsMammonsContract extends Quest
 				if (npc.getNpcId() == SIR_GUSTAV_ATHEBALDT)
 				{
 					st = player.getQuestState(Q00193_SevenSignsDyingMessage.class.getSimpleName());
-					htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "30760-01.htm" : "30760-05.html";
+					htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && st.isCompleted()) ? "30760-01.htm" : "30760-05.html";
 				}
 				break;
 			}

+ 1 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00197_SevenSignsTheSacredBookOfSeal/Q00197_SevenSignsTheSacredBookOfSeal.java

@@ -219,7 +219,6 @@ public class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
 	}
 	
 	@Override
-	@SuppressWarnings("null")
 	public String onTalk(L2Npc npc, L2PcInstance player)
 	{
 		QuestState st = player.getQuestState(getName());
@@ -240,7 +239,7 @@ public class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
 			{
 				if (npc.getNpcId() == WOOD)
 				{
-					// st = player.getQuestState(Q00196_SevenSignsSealOfTheEmperor.class.getSimpleName()); // TODO: Un-comment when quest is committed.
+					st = player.getQuestState("Q00196_SevenSignsSealOfTheEmperor");
 					htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "32593-01.htm" : "32593-05.html";
 				}
 				break;