Quest adjustments.
Contributed by quangnguyen.
This commit is contained in:
8
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.htm
vendored
Normal file
8
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Bathis regards Sylphs as not very strong, but he is a nice fellow. Let's show him that we are not weak!<br>
|
||||||
|
First press <font color="LEVEL">Tab</font> or <font color="LEVEL">Alt + K</font> to open your <font color="LEVEL">Inventory. Equip the weapons and armor</font> you need if you haven't done it yet.<br>
|
||||||
|
You can open the <font color="LEVEL">Skill List</font> by pressing <font color="LEVEL">ALT + K</font>. If you have changed your class to become a <font color="LEVEL">Sharpshooter</font>, you will see there new skills that can be learn. <font color="LEVEL">To learn skills</font> you need to spend <font color="LEVEL">SP</font>, and sometimes you will need special items.<br>
|
||||||
|
Master Kerkir should have told you about <font color="LEVEL">Automatic Hunting</font>. Do you want to know more about it?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting.html">Ask about Automatic Hunting</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30332-02.htm">"Let's skip it."</Button>
|
||||||
|
</body></html>
|
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.htm
vendored
Normal file
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Okay, it looks like you are up to dare on everything. Ready to head out?<br>
|
||||||
|
Adventurers usually start with Gludio. It's a great place to make your first steps into big wide world.<br>
|
||||||
|
It doesn't make much sense to just wander the streets of Gludio, though. You need to find a place to train and grow stronger.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30332-03.htm">"And where is that?"</Button>
|
||||||
|
</body></html>
|
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.htm
vendored
Normal file
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
If you need some guidance, talk to a <font color="LEVEL">Gatekeeper</font>. They'll tell you where you need to go to improve your skills.<br>
|
||||||
|
We have a <font color="LEVEL">Gatekeeper</font> in Wind Village as well.<br>
|
||||||
|
Talk to <font color="LEVEL">Gatekeeper Mellos</font> or find <font color="LEVEL">Gatekeeper Bella</font> in <font color="LEVEL">Gludio</font>.<br>
|
||||||
|
If you want to go straight to Gludio's Gatekeeper, I can send you there right now.<br>
|
||||||
|
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-04.htm
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Have you talked to a Gatekeeper yet?<br>
|
||||||
|
You have? Go to the place they recommended then. The Ruins of Agony, I assume.<br>
|
||||||
|
It's a great place to hunt. Go there and kill some monsters.
|
||||||
|
</body></html>
|
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332.htm
vendored
Normal file
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Bathis iis the Captain of Gludio. Travellers from around the world come to him to learn useful things. I've met him, too.<br>
|
||||||
|
Bathis is a natural born teacher. He doesn't discriminate and helps everyone regardless of their race.<br>
|
||||||
|
Before I left he asked to send other Sylphs his way if anyone else decided to explore the world. He said he would help them.<br>
|
||||||
|
That is a long andd dangerous journey, though, You need to prepare really well if you decide to undertake it.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30332-01.htm">Ask what needs to be done</Button>
|
||||||
|
</body></html>
|
@@ -106,6 +106,9 @@ public class Q10290_ATripBegins extends Quest
|
|||||||
case "30256-01.html":
|
case "30256-01.html":
|
||||||
case "30256-02.html":
|
case "30256-02.html":
|
||||||
case "30332-01.html":
|
case "30332-01.html":
|
||||||
|
case "30332.htm":
|
||||||
|
case "30332-01.htm":
|
||||||
|
case "30332-02.htm":
|
||||||
{
|
{
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
break;
|
break;
|
||||||
@@ -123,6 +126,13 @@ public class Q10290_ATripBegins extends Quest
|
|||||||
htmltext = event;
|
htmltext = event;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "30332-03.htm":
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
npc.broadcastPacket(new NpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.USING_THE_GATEKEEPER));
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case "30256-03.html":
|
case "30256-03.html":
|
||||||
{
|
{
|
||||||
qs.setCond(2, true);
|
qs.setCond(2, true);
|
||||||
@@ -228,11 +238,11 @@ public class Q10290_ATripBegins extends Quest
|
|||||||
{
|
{
|
||||||
if (qs.isCond(1))
|
if (qs.isCond(1))
|
||||||
{
|
{
|
||||||
htmltext = "30332-03.htm";
|
htmltext = "30332.htm";
|
||||||
}
|
}
|
||||||
else if (qs.isCond(2))
|
else if (qs.isCond(2))
|
||||||
{
|
{
|
||||||
htmltext = "30332-04.html";
|
htmltext = "30332-04.htm";
|
||||||
}
|
}
|
||||||
else if (qs.isCond(3))
|
else if (qs.isCond(3))
|
||||||
{
|
{
|
||||||
|
@@ -33,8 +33,8 @@ public class Q10971_TalismanEnchant extends Quest
|
|||||||
// NPC
|
// NPC
|
||||||
private static final int CAPTAIN_BATHIS = 30332;
|
private static final int CAPTAIN_BATHIS = 30332;
|
||||||
// Item
|
// Item
|
||||||
private static final ItemHolder TALISMAN_OF_ADEN = new ItemHolder(91745, 1);
|
private static final ItemHolder ADVENTURERS_TALISMAN = new ItemHolder(91937, 1);
|
||||||
private static final ItemHolder TALISMAN_OF_ADEN_ENCHANT = new ItemHolder(91756, 1);
|
private static final ItemHolder SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN = new ItemHolder(95688, 1);
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
private static final int MIN_LEVEL = 25;
|
private static final int MIN_LEVEL = 25;
|
||||||
@@ -73,13 +73,13 @@ public class Q10971_TalismanEnchant extends Quest
|
|||||||
qs.startQuest();
|
qs.startQuest();
|
||||||
player.sendPacket(new ExTutorialShowId(47));
|
player.sendPacket(new ExTutorialShowId(47));
|
||||||
// TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting).
|
// TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting).
|
||||||
if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId()).isEmpty())
|
if (player.getInventory().getItemsByItemId(ADVENTURERS_TALISMAN.getId()).isEmpty())
|
||||||
{
|
{
|
||||||
giveItems(player, TALISMAN_OF_ADEN);
|
giveItems(player, ADVENTURERS_TALISMAN);
|
||||||
}
|
}
|
||||||
if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN_ENCHANT.getId()).isEmpty())
|
if (player.getInventory().getItemsByItemId(SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN.getId()).isEmpty())
|
||||||
{
|
{
|
||||||
giveItems(player, TALISMAN_OF_ADEN_ENCHANT);
|
giveItems(player, SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN);
|
||||||
}
|
}
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
break;
|
break;
|
||||||
@@ -100,7 +100,7 @@ public class Q10971_TalismanEnchant extends Quest
|
|||||||
else if (qs.isStarted())
|
else if (qs.isStarted())
|
||||||
{
|
{
|
||||||
boolean foundEnchant = false;
|
boolean foundEnchant = false;
|
||||||
SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId()))
|
SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(ADVENTURERS_TALISMAN.getId()))
|
||||||
{
|
{
|
||||||
if (item.getEnchantLevel() > 0)
|
if (item.getEnchantLevel() > 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user