Code improvements.
This commit is contained in:
@@ -271,12 +271,9 @@ public final class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
|
||||
{
|
||||
htmltext = "32593-06.html";
|
||||
}
|
||||
else if (qs.isCond(6))
|
||||
else if (qs.isCond(6) && hasQuestItems(player, MYSTERIOUS_HAND_WRITTEN_TEXT, SCULPTURE_OF_DOUBT))
|
||||
{
|
||||
if (hasQuestItems(player, MYSTERIOUS_HAND_WRITTEN_TEXT, SCULPTURE_OF_DOUBT))
|
||||
{
|
||||
htmltext = "32593-07.html";
|
||||
}
|
||||
htmltext = "32593-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -308,14 +305,7 @@ public final class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
if (isBusy)
|
||||
{
|
||||
htmltext = "32595-05.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "32595-01.html";
|
||||
}
|
||||
htmltext = isBusy ? "32595-05.html" : "32595-01.html";
|
||||
}
|
||||
else if (qs.isCond(4))
|
||||
{
|
||||
@@ -324,12 +314,9 @@ public final class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
|
||||
htmltext = "32595-06.html";
|
||||
}
|
||||
}
|
||||
else if (qs.getCond() >= 5)
|
||||
else if ((qs.getCond() >= 5) && hasQuestItems(player, SCULPTURE_OF_DOUBT))
|
||||
{
|
||||
if (hasQuestItems(player, SCULPTURE_OF_DOUBT))
|
||||
{
|
||||
htmltext = "32595-10.html";
|
||||
}
|
||||
htmltext = "32595-10.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -342,12 +329,9 @@ public final class Q00197_SevenSignsTheSacredBookOfSeal extends Quest
|
||||
htmltext = "32596-01.html";
|
||||
}
|
||||
}
|
||||
else if (qs.getCond() >= 6)
|
||||
else if ((qs.getCond() >= 6) && hasQuestItems(player, SCULPTURE_OF_DOUBT, MYSTERIOUS_HAND_WRITTEN_TEXT))
|
||||
{
|
||||
if (hasQuestItems(player, SCULPTURE_OF_DOUBT, MYSTERIOUS_HAND_WRITTEN_TEXT))
|
||||
{
|
||||
htmltext = "32596-05.html";
|
||||
}
|
||||
htmltext = "32596-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user