Converting Ertheia quests to follow showHtmlFile logic.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
Now, we will go to a specially designed Training Camp for a real combat training. There are fake monsters in the Training Camp to simulate a real-life training for you.<br>
|
||||
I will be with you, so it won't be dangerous. You can ease up.<br>
|
||||
Shall we begin?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10736_ASpecialPower 33943-02.htm">"Sure."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10736_ASpecialPower 33943-02.html">"Sure."</Button>
|
||||
</body></html>
|
@@ -1,4 +1,4 @@
|
||||
<html><body>Master Katalin:<br>
|
||||
Focus on your battle!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10736_ASpecialPower 33945-03.htm">"More monsters please."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10736_ASpecialPower 33945-03.html">"More monsters please."</Button>
|
||||
</body></html>
|
@@ -3,5 +3,5 @@ Do you know what just happened? You were able to use a lot of abilities when you
|
||||
But you just unlocked one of those abilities. They call them <font color="LEVEL">Skills</font> here.<br>
|
||||
As you train more, you will be able to get more skills back.<br>
|
||||
Shall we fight a more powerfull enemy with your new skill?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10736_ASpecialPower 33945-07.htm">"Okay."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10736_ASpecialPower 33945-07.html">"Okay."</Button>
|
||||
</body></html>
|
@@ -62,10 +62,10 @@ public class Q10736_ASpecialPower extends Quest
|
||||
addStartNpc(KATALIN);
|
||||
addTalkId(KATALIN, KATALIN_2);
|
||||
addKillId(FLOATO, RATEL);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "fixme.htm");
|
||||
addCondRace(Race.ERTHEIA, "fixme.htm");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "fixme.html");
|
||||
addCondRace(Race.ERTHEIA, "fixme.html");
|
||||
addCondClassId(ClassId.ERTHEIA_FIGHTER, "fixme.html");
|
||||
addCondCompletedQuest(Q10734_DoOrDie.class.getSimpleName(), "fixme.htm");
|
||||
addCondCompletedQuest(Q10734_DoOrDie.class.getSimpleName(), "fixme.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -80,13 +80,13 @@ public class Q10736_ASpecialPower extends Quest
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "33943-02.htm":
|
||||
case "33943-02.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33945-03.htm":
|
||||
case "33945-03.html":
|
||||
{
|
||||
htmltext = event;
|
||||
showOnScreenMsg(player, NpcStringId.ATTACK_THE_MONSTER, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
@@ -97,7 +97,7 @@ public class Q10736_ASpecialPower extends Quest
|
||||
showOnScreenMsg(player, NpcStringId.AUTOMATE_SOULSHOT_AS_SHOWN_IN_THE_TUTORIAL, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
break;
|
||||
}
|
||||
case "33945-07.htm":
|
||||
case "33945-07.html":
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
@@ -141,7 +141,7 @@ public class Q10736_ASpecialPower extends Quest
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "33943-02.htm";
|
||||
htmltext = "33943-02.html";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
@@ -150,12 +150,12 @@ public class Q10736_ASpecialPower extends Quest
|
||||
case 5:
|
||||
case 6:
|
||||
{
|
||||
htmltext = "33943-04.htm";
|
||||
htmltext = "33943-04.html";
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
htmltext = "33943-03.htm";
|
||||
htmltext = "33943-03.html";
|
||||
giveAdena(player, 900, true);
|
||||
rewardItems(player, SOULSHOTS_REWARD);
|
||||
addExpAndSp(player, 3154, 0);
|
||||
@@ -178,14 +178,14 @@ public class Q10736_ASpecialPower extends Quest
|
||||
qs.setCond(2, true);
|
||||
addSpawn(FLOATO, MOB_1, false, 0, false, player.getInstanceId());
|
||||
addSpawn(FLOATO, MOB_2, false, 0, false, player.getInstanceId());
|
||||
htmltext = "33945-01.htm";
|
||||
htmltext = "33945-01.html";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
case 4:
|
||||
case 6:
|
||||
{
|
||||
htmltext = "33945-02.htm";
|
||||
htmltext = "33945-02.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
@@ -195,7 +195,7 @@ public class Q10736_ASpecialPower extends Quest
|
||||
addSpawn(FLOATO, MOB_1, false, 0, false, player.getInstanceId());
|
||||
addSpawn(FLOATO, MOB_2, false, 0, false, player.getInstanceId());
|
||||
showOnScreenMsg(player, NpcStringId.ATTACK_THE_MONSTER, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
htmltext = "33945-05.htm";
|
||||
htmltext = "33945-05.html";
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
else
|
||||
@@ -204,20 +204,20 @@ public class Q10736_ASpecialPower extends Quest
|
||||
showOnScreenMsg(player, NpcStringId.SOULSHOT_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
startQuestTimer("showscreen_1", 4500, npc, player);
|
||||
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_003_bullet_01.htm", TutorialShowHtml.LARGE_WINDOW));
|
||||
htmltext = "33945-04.htm";
|
||||
htmltext = "33945-04.html";
|
||||
qs.set("ss", 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
htmltext = "33945-06.htm";
|
||||
htmltext = "33945-06.html";
|
||||
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_004_skill_01.htm", TutorialShowHtml.LARGE_WINDOW));
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
htmltext = "33945-08.htm";
|
||||
htmltext = "33945-08.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user