Skip to content
Snippets Groups Projects
Commit 2ff2b18e authored by MELERIX's avatar MELERIX
Browse files

BETA: Minor Improvement for '''Q10267''' by nonom, also minor fix for...

BETA: Minor Improvement for '''Q10267''' by nonom, also minor fix for '''L2StaticObjectInstanceAction.java''' by jurchiks.
parent addcca79
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ public class L2StaticObjectInstanceAction implements IActionHandler
{
if (staticObject.getType() == 2)
{
final String filename = (staticObject.getStaticObjectId() == 24230101) ? "data/html/signboards/pvp_signboard.htm" : "data/html/signboards/tomb_of_crystalgolem.htm";
final String filename = (staticObject.getStaticObjectId() == 24230101) ? "data/html/signboards/tomb_of_crystalgolem.htm" : "data/html/signboards/pvp_signboard.htm";
final String content = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), filename);
final NpcHtmlMessage html = new NpcHtmlMessage(staticObject.getObjectId());
......
......@@ -81,7 +81,7 @@ public class Q10267_JourneyToGracia extends Quest
}
else if (npcId == PAPIKU)
{
if (Integer.valueOf(st.get("cond")) == 1)
if (st.getInt("cond") == 1)
{
htmltext = "32564-01.htm";
}
......@@ -90,12 +90,9 @@ public class Q10267_JourneyToGracia extends Quest
htmltext = "32564-03.htm";
}
}
else if (npcId == KEUCEREUS)
else if (npcId == KEUCEREUS && st.getInt("cond") == 2)
{
if (Integer.valueOf(st.get("cond")) == 2)
{
htmltext = "32548-01.htm";
}
}
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment