Quest additions and adjustments.
Contributed by quangnguyen.
This commit is contained in:
parent
8deb4df186
commit
24bfda4669
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-01.html
vendored
Normal file
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-01.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
Hm... You are a Sylph, aren't you?<br>
|
||||
Nice to meet you! Since I heard that Sylphs had come to the continent, I've been whishing to meet one of them. Now my dream becomes true!<br>
|
||||
I've heard Gatekeeper Mellos was sent to the Wind Village, but it seems you haven't met her.<br>
|
||||
Well, you should learn to find suitable places to train then.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30256-02.html">Ask what to do</Button>
|
||||
</body></html>
|
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-02.html
vendored
Normal file
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-02.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
So, first of all you need to know that the fastest and the mos comfortable way to travel around the world is to use <font color="LEVEL">teleports</font>.<br>
|
||||
To use a teleport just talk to a <font color="LEVEL">Gatekeeper</font> in any town. Or you can click the <font color="LEVEL">yellow windmill icon</font>.<br>
|
||||
Thanks to teleports you can travel from one place to another very fast.<br>
|
||||
What's more, you can use the <font color="LEVEL">Favorites</font> function to create a list of places you teleport to the most.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30256-03.html">"Do you have anything to add to this?"</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-03.html
vendored
Normal file
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
One more important thing is the <font color="LEVEL">map</font>. It will help you to know a lot of interesting. Open the map to see the details about your where abouts as well as recommendations and information where you should go. Now I'm going to say you a few words about the recommendations.<br>
|
||||
We, Gatekeeper, are always asking adventurers about the places they've been. Doing so we can define the danger of that places. You can believe us on this matter.<br>
|
||||
So, are you ready to travel somewhere to try new knowledge out?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30256-04.html">"Where should I go?"</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-04.html
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-04.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
Well... I'd recommend the <font color="LEVEL">Ruins of Agony</font>.<br>
|
||||
That's a place full of ancient buildings. The indigenous inhabitant had abandoned that place long ago.<br>
|
||||
You can get there using teleportation. To travel there select the <font color="LEVEL">teleport</font> to <font color="LEVEL">Gludio</font> from the <font color="LEVEL">list of hunting zone teleports</font>.
|
||||
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-05.html
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Gatekeeper Bella:<br>
|
||||
Go to the <font color="LEVEL">Ruins of Agony</font>. You can get there using teleportation. To travel there use the <font color="LEVEL">teleport</font> to <font color="LEVEL">Gludio</font> from the <font color="LEVEL">list of hunting zone teleports</font>.<br>
|
||||
I think this place is not dangerous for you.<br>
|
||||
Nobody has been living there for a long time, just beasts. I suppose good hunting will benefit you: you'll try out and improve your skills.
|
||||
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.html
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Have you dealt with the monsters?<br>
|
||||
Yes, I see you've become a bit stronger.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30332-02.html">Nod</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.html
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Have you dealt with the monsters?<br>
|
||||
Yes, I see you've become a bit stronger.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 30332-02.html">Nod</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.html
vendored
Normal file
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
To mark your advancements I'm going to give you a small present. It'll help you to become stronger.<br>
|
||||
And if you have a <font color="LEVEL">Weapon of Aden</font> use the <font color="LEVEL">Scroll: Enchant Weapon of Aden</font> to make it <font color="LEVEL">better</font>.<br>
|
||||
There's one more thing I'd like to give you. Here, take it. It's a special bracelet. The path you're on is a dangerous one and items like this can save your life.<br>
|
||||
If you want I can tell you more about bracelets. Are you interested?<br>
|
||||
</body></html>
|
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-01.html
vendored
Normal file
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-01.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Grocer Evia:<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 34211-02.html">Ask what needs to be done</Button>
|
||||
</body></html>
|
8
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-02.html
vendored
Normal file
8
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-02.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Grocer Avia:<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 34211-03.html">"Let's skip it."</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-03.html
vendored
Normal file
6
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Grocer Avia:<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 34211-04.html">"And where is that?"</Button>
|
||||
</body></html>
|
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-04.html
vendored
Normal file
7
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-04.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Grocer Avia:<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>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins TELEPORT_TO_GLUDIO">"Yes, I would like to go to Gludio."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-05.html
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Grocer Avia:<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>
|
@ -0,0 +1,9 @@
|
||||
<html><body>Grocer Avia:<br>
|
||||
<font color="LEVEL">Automatic hunting</font> is a function that let's you automatically target the next monster and contiinue hunting.<br>
|
||||
Automatic hunting function includes such options as <font color="LEVEL">distance to target, look pick-up</font> and <font color="LEVEL">Manner Mode</font> that prevents the character from attacking targets that are attacked by other players. During Automatic Hunting the character uses their basic <font color="LEVEL">Attack</font>.<br>
|
||||
If you press <font color="LEVEL">ALT+K</font>, however, then <font color="LEVEL">drag any non-buffing skill marked with two green arrows in a circle</font> from the <font color="LEVEL">Skill window</font> to the <font color="LEVEL">Shortcut</font> and click it with the <font color="LEVEL">right mouse button</font>, the character will attack using the assigned skill.<br>
|
||||
Same goes for buffing skills. If you put a <font color="LEVEL">buffing skill</font> to the <font color="LEVEL">shortcut</font> and click it with the <font color="LEVEL">right mouse button, this skill will be automatically used</font> at the right moment.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-02.html"><font color="LEVEL">Ask about the automatic use of supplies</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-03.html"><font color="LEVEL">Ask about the automatic use of potions</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 34211-03.html">"Let's skip this part and move on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,8 @@
|
||||
<html><body>Grocer Avia:<br>
|
||||
The <font color="LEVEL">auto-use supplies</font> function lets you automatically use <font color="LEVEL">the supplies you need while hunting.</font><br>
|
||||
If there is an <font color="LEVEL">item marked with two green arrows in a circle</font> in your <font color="LEVEL">inventory</font>, that means that <font color="LEVEL">it can be used automatically</font>.<br>
|
||||
To automatically use supplies you need to <font color="LEVEL">drag the item</font> to a <font color="LEVEL">slot</font>, press the <font color="LEVEL">right mouse button</font> and active the auto-use function. Items with actived auto-use will be <font color="LEVEL">used automatically as soon as you leave the city</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-01.html"><font color="LEVEL">"Tell me about automatic hunting."</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-03.html"><font color="LEVEL">Ask about the automatic use of potions</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 34211-03.html">"Let's skip this part and move on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,9 @@
|
||||
<html><body>Grocer Avia:<br>
|
||||
<font color="LEVEL">Automatic use of potions</font> is slightly different from automatic hunting and automatic use of supplies.<br>
|
||||
In the shortcut slots, <font color="LEVEL">next to the Soulshot</font> there is a slot where you can <font color="LEVEL">put a potion for auto-use</font>. You will see a <font color="LEVEL">slot that looks like a potion</font> and a small <font color="LEVEL">options button</font>. This button lets you configure automatic use.<br>
|
||||
After <font color="LEVEL">setting</font> the amount of <font color="LEVEL">HP</font> that is needed for auto-use of potion, <font color="LEVEL">drag</font> the <font color="LEVEL">potion</font> for <font color="LEVEL">auto-use</font> from your inventory to the <font color="LEVEL">potion slot</font> on the <font color="LEVEL">shortcut panel</font>.<br>
|
||||
Now the potions are going to be used automatically.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-01.html"><font color="LEVEL">"Tell me about automatic hunting."</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-02.html"><font color="LEVEL">Ask about the automatic use of supplies</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 34211-03.html">"Let's skip this part and move on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,9 @@
|
||||
<html><body>Grocer Avia:<br>
|
||||
Automatic Hunting is a function that let's you automatically pick a target and continue hunting after you've killed a monster.<br>
|
||||
While hunting you can also automatic use potions and supplies.<br>
|
||||
Would you like to learn more?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-01.html"><font color="LEVEL">"Tell me about automatic hunting."</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-02.html"><font color="LEVEL">Ask about the automatic use of supplies</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins AutomaticHunting-03.html"><font color="LEVEL">Ask about the automatic use of potions</font></Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10290_ATripBegins 34211-03.html">"Let's skip this part and move on."</Button>
|
||||
</body></html>
|
@ -14,11 +14,12 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10966_ATripBegins;
|
||||
package quests.Q10290_ATripBegins;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.l2jmobius.gameserver.data.xml.ExperienceData;
|
||||
import org.l2jmobius.gameserver.enums.ChatType;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
@ -36,19 +37,19 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcSay;
|
||||
* A Trip Begins (10966)
|
||||
* @author RobikBobik, Mobius
|
||||
* @Note: Updated based on 4game server October 2020
|
||||
* @TODO: Update gatekeeper dialogs.
|
||||
*/
|
||||
public class Q10966_ATripBegins extends Quest
|
||||
public class Q10290_ATripBegins extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int CAPTAIN_BATHIS = 30332;
|
||||
private static final int MATHORN = 34139;
|
||||
private static final int EVIA = 34211;
|
||||
private static final int BELLA = 30256;
|
||||
private static final int CAPTAIN_BATHIS = 30332;
|
||||
// Items
|
||||
private static final ItemHolder SOE_TO_CAPTAIN_BATHIS = new ItemHolder(91651, 1);
|
||||
private static final ItemHolder SOE_NOVICE = new ItemHolder(10650, 10);
|
||||
private static final ItemHolder TALISMAN_OF_ADEN = new ItemHolder(91745, 1);
|
||||
private static final ItemHolder SCROLL_OF_ENCHANT_TALISMAN_OF_ADEN = new ItemHolder(91756, 1);
|
||||
private static final ItemHolder SOE_TO_RUIN_OF_AGONY = new ItemHolder(91727, 1);
|
||||
private static final ItemHolder BSOE_EVENT = new ItemHolder(91689, 10);
|
||||
private static final ItemHolder ADVENTURERS_TALISMAN = new ItemHolder(91937, 1);
|
||||
private static final ItemHolder SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN = new ItemHolder(95688, 1);
|
||||
private static final ItemHolder ADVENTURERS_BRACELET = new ItemHolder(91934, 1);
|
||||
private static final ItemHolder SCROLL_OF_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2);
|
||||
// Monsters
|
||||
@ -59,17 +60,17 @@ public class Q10966_ATripBegins extends Quest
|
||||
private static final int TUMRAN_BUGBEAR = 20062;
|
||||
private static final int TUMRAN_BUGBEAR_WARRIOR = 20064;
|
||||
// Location
|
||||
private static final Location TELEPORT_LOCATION = new Location(-14443, 123984, -3120);
|
||||
private static final Location TELEPORT_GLUDIO = new Location(-14489, 123974, -3128);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 20;
|
||||
private static final int MAX_LEVEL = 25;
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
|
||||
public Q10966_ATripBegins()
|
||||
public Q10290_ATripBegins()
|
||||
{
|
||||
super(10966);
|
||||
addStartNpc(CAPTAIN_BATHIS, MATHORN);
|
||||
addTalkId(CAPTAIN_BATHIS, MATHORN, BELLA);
|
||||
super(10290);
|
||||
addStartNpc(EVIA, CAPTAIN_BATHIS);
|
||||
addTalkId(EVIA, BELLA, CAPTAIN_BATHIS);
|
||||
addKillId(ARACHNID_PREDATOR, SKELETON_BOWMAN, RUIN_SPARTOI, RAGING_SPARTOI, RAGING_SPARTOI, TUMRAN_BUGBEAR, TUMRAN_BUGBEAR_WARRIOR);
|
||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||
addCondMaxLevel(MAX_LEVEL, "no_lvl.html");
|
||||
@ -95,78 +96,63 @@ public class Q10966_ATripBegins extends Quest
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "30332-01.htm":
|
||||
case "30332-07.htm":
|
||||
case "30332-08.htm":
|
||||
case "34139-01.htm":
|
||||
case "34139-02.html":
|
||||
case "34139-03.html":
|
||||
case "34139-04.html":
|
||||
case "34139-05.html":
|
||||
case "34139-06.htm":
|
||||
case "34211-02.html":
|
||||
case "34211-04.html":
|
||||
case "34211-05.html":
|
||||
case "AutomaticHunting.html":
|
||||
case "AutomaticHunting-01.html":
|
||||
case "AutomaticHunting-02.html":
|
||||
case "AutomaticHunting-03.html":
|
||||
case "30256-01.html":
|
||||
case "30256-02.html":
|
||||
case "30332-01.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34139-00.htm":
|
||||
case "34211-01.html":
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.CHECK_YOUR_INVENTORY_AND_EQUIP_YOUR_WEAPON, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-03.htm":
|
||||
case "34211-03.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
npc.broadcastPacket(new NpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.USING_THE_GATEKEEPER));
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30256-01.html":
|
||||
case "30256-03.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
showOnScreenMsg(player, NpcStringId.BEFORE_YOU_GO_FOR_A_BATTLE_CHECK_THE_SKILL_WINDOW_ALT_K_NEW_SKILLS_WILL_HELP_YOU_TO_GET_STRONGER, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
||||
giveItems(player, SOE_TO_RUIN_OF_AGONY);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-06.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-05.html":
|
||||
case "30332-02.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.YOU_VE_GOT_ADVENTURER_S_BRACELET_AND_ADVENTURER_S_TALISMAN_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_USE_THE_TALISMAN, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||
addExpAndSp(player, 1000000, 27000);
|
||||
giveItems(player, SOE_NOVICE);
|
||||
giveItems(player, TALISMAN_OF_ADEN);
|
||||
giveItems(player, SCROLL_OF_ENCHANT_TALISMAN_OF_ADEN);
|
||||
addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(25) + 100) - player.getExp(), 42000);
|
||||
giveItems(player, BSOE_EVENT);
|
||||
giveItems(player, ADVENTURERS_BRACELET);
|
||||
giveItems(player, ADVENTURERS_TALISMAN);
|
||||
giveItems(player, SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN);
|
||||
giveItems(player, SCROLL_OF_ENCHANT_ADEN_WEAPON);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
htmltext = "30332-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "34139-07.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "teleport":
|
||||
{
|
||||
case "TELEPORT_TO_GLUDIO":
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
player.teleToLocation(TELEPORT_LOCATION);
|
||||
player.teleToLocation(TELEPORT_GLUDIO);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
@ -180,26 +166,19 @@ public class Q10966_ATripBegins extends Quest
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case CAPTAIN_BATHIS:
|
||||
case EVIA:
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
htmltext = "30332.htm";
|
||||
htmltext = "34211-01.html";
|
||||
break;
|
||||
}
|
||||
case MATHORN:
|
||||
case BELLA:
|
||||
{
|
||||
// Death Knights.
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
htmltext = "34139-01.htm";
|
||||
htmltext = "30256-01.html";
|
||||
break;
|
||||
}
|
||||
case CAPTAIN_BATHIS:
|
||||
{
|
||||
htmltext = "30332.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -208,35 +187,11 @@ public class Q10966_ATripBegins extends Quest
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case CAPTAIN_BATHIS:
|
||||
case EVIA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
htmltext = "30332-03.htm";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30332-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MATHORN:
|
||||
{
|
||||
// Death Knights.
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34139-07.htm";
|
||||
htmltext = "34211-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -244,7 +199,27 @@ public class Q10966_ATripBegins extends Quest
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "30256.html";
|
||||
htmltext = "30256-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30256-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case CAPTAIN_BATHIS:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "30332-03.htm";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30332-04.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30332-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -264,7 +239,7 @@ public class Q10966_ATripBegins extends Quest
|
||||
if ((qs != null) && qs.isCond(2))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 70)
|
||||
if (killCount < 40)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/no_lvl.html
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/no_lvl.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Grocer Evia:<br>
|
||||
Hey, why are you back so quickly?<br>
|
||||
You should get stronger first. I can't waste my time with an inexperienced novice.<br>
|
||||
(The quest is for characters of Lv. 20 and higher.)
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
All right, but no hurry.<br>
|
||||
Do you remember what you're learned from the Gatekeeper Bella?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10291_MoreExperience 30332-02.htm">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10291_MoreExperience 30332-03.htm">"I want to check it once more."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
That's good. You're going to use teleports very often. If you forget something you always can read the tips.<br>
|
||||
Now let's talk about training which is necessary to every adventurer.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10291_MoreExperience 30332-04.htm">Learn more</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
If you don't understand something, don't be shy, ask me once more.<br>
|
||||
If you press the yellow windmill icon, you can use teleportation wherever you want. You should remember that.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10291_MoreExperience 30332-04.htm">Nod</Button>
|
||||
</body></html>
|
@ -0,0 +1,7 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
The most important thing is: do not be in haste. To achieve success you have to make efforts. That's correct for whatever you do.<br>
|
||||
If you want to get the best result, you shouldn't waste your time. At the same time, undue hurry can do a lot of ham. When you are practicing, you should do everything unhurriedly and persistently.<br>
|
||||
I suppose the <font color="LEVEL">Abandoned Camp</font> is the best place for your training. If you're strong enough, you can deal with the creatures living there.<br>
|
||||
You can get to the Abandoned Camp by using <font color="LEVEL">teleport</font> tranfering to <font color="LEVEL">Gludin hunting zones</font>, so it's not a problem to get there.<br>
|
||||
Good luck!<br>
|
||||
</body></html>
|
@ -0,0 +1,7 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
The most important thing is: do not be in haste. To achieve success you have to make efforts. That's correct for whatever you do.<br>
|
||||
If you want to get the best result, you shouldn't waste your time. At the same time, undue hurry can do a lot of ham. When you are practicing, you should do everything unhurriedly and persistently.<br>
|
||||
I suppose the <font color="LEVEL">Abandoned Camp</font> is the best place for your training. If you're strong enough, you can deal with the creatures living there.<br>
|
||||
You can get to the Abandoned Camp by using <font color="LEVEL">teleport</font> tranfering to <font color="LEVEL">Gludin hunting zones</font>, so it's not a problem to get there.<br>
|
||||
Good luck!<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Have you dealt with the monsters in the Abandoned Camp?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10291_MoreExperience 30332-06.html">Nod</Button>
|
||||
</body></html>
|
@ -0,0 +1,7 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
You've done great! By the way, if you have an <font color="LEVEL">XP Scroll</font> in <font color="LEVEL">your inventory</font> don't hesitate to use it.<br>
|
||||
One more thing! I have to tell you about the <font color="LEVEL">Scroll: Enchant Aden Weapon</font>. I've prepared a <font color="LEVEL">Scroll: Enchant Aden Weapon</font> for you, you can use it to enchant an <font color="LEVEL">Aden Weapon</font>.<br>
|
||||
Also I have a special present for you.<br>
|
||||
That's jewel fragments. I'd love to give you a whole jewel as they grant their owners amazing abilities, but the fragments will do for now. You should probably try to find a few whole ones for yourself to experience their astounding power first-hand.<br>
|
||||
If you want I can tell you more about jewels and compounding. Are you interested?<br>
|
||||
</body></html>
|
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332.htm
vendored
Normal file
5
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
You look like experienced warrior next to the other rookies.<br>
|
||||
However you can't just be staisfied with what you have accomplished. You need to keep making your progress, acquiring new knowledge and learning new skills.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10291_MoreExperience 30332-01.htm">"What are you talking about?"</Button>
|
||||
</body></html>
|
@ -14,11 +14,12 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10967_CulturedAdventurer;
|
||||
package quests.Q10291_MoreExperience;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.l2jmobius.gameserver.data.xml.ExperienceData;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
@ -30,12 +31,10 @@ import org.l2jmobius.gameserver.network.NpcStringId;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
/**
|
||||
* Cultured Adventurer (10967)
|
||||
* More Experience (10967)
|
||||
* @author RobikBobik
|
||||
* @Note: Based on NA server September 2019
|
||||
* @TODO: Maybe wrong NpcStringId when you killing monsters in Abandoned Camp
|
||||
*/
|
||||
public class Q10967_CulturedAdventurer extends Quest
|
||||
public class Q10291_MoreExperience extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int CAPTAIN_BATHIS = 30332;
|
||||
@ -46,17 +45,19 @@ public class Q10967_CulturedAdventurer extends Quest
|
||||
private static final int OL_MAHUM_GENERAL = 20438;
|
||||
private static final int OL_MAHUM_COMMANDER = 20076;
|
||||
// Items
|
||||
private static final ItemHolder SOE_TO_CAPTAIN_BATHIS = new ItemHolder(91651, 1);
|
||||
private static final ItemHolder SOE_ABANDNED_CAMP = new ItemHolder(91725, 1);
|
||||
private static final ItemHolder ADVENTURERS_BROOCH = new ItemHolder(91932, 1);
|
||||
private static final ItemHolder ADVENTURERS_BROOCH_GEMS = new ItemHolder(91936, 1);
|
||||
private static final ItemHolder SCROLL_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2);
|
||||
// Misc
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
private static final int MAX_LEVEL = 30;
|
||||
private static final int MIN_LEVEL = 25;
|
||||
private static final int MAX_LEVEL = 30;
|
||||
|
||||
public Q10967_CulturedAdventurer()
|
||||
public Q10291_MoreExperience()
|
||||
{
|
||||
super(10967);
|
||||
super(10291);
|
||||
addStartNpc(CAPTAIN_BATHIS);
|
||||
addTalkId(CAPTAIN_BATHIS);
|
||||
addKillId(OL_MAHUM_SHOOTER, OL_MAHUM_SERGEANT, OL_MAHUM_OFFICER, OL_MAHUM_GENERAL, OL_MAHUM_COMMANDER);
|
||||
@ -78,34 +79,30 @@ public class Q10967_CulturedAdventurer extends Quest
|
||||
switch (event)
|
||||
{
|
||||
case "30332-01.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-05.html":
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
player.sendPacket(new ExShowScreenMessage("You've obtained Adventurer's Brooch and Adventurer's Gem Fragment.#Check the tutorial to equip the gems.", 5000));
|
||||
addExpAndSp(player, 2500000, 67500);
|
||||
giveItems(player, ADVENTURERS_BROOCH);
|
||||
giveItems(player, ADVENTURERS_BROOCH_GEMS);
|
||||
giveItems(player, SCROLL_ENCHANT_ADEN_WEAPON);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, SOE_ABANDNED_CAMP);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30332-06.html":
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.YOU_VE_GOT_ADVENTURER_S_BROOCH_AND_ADVENTURER_S_ROUGH_JEWEL_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_ENCHASE_THE_JEWEL, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||
addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(30) + 100) - player.getExp(), 117500);
|
||||
giveItems(player, ADVENTURERS_BROOCH);
|
||||
giveItems(player, ADVENTURERS_BROOCH_GEMS);
|
||||
giveItems(player, SCROLL_ENCHANT_ADEN_WEAPON);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
@ -122,10 +119,14 @@ public class Q10967_CulturedAdventurer extends Quest
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "30332-04.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30332-05.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
@ -147,7 +148,7 @@ public class Q10967_CulturedAdventurer extends Quest
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_ABANDONED_CAMP_ARE_KILLED_NUSE_THE_TELEPORT_TO_GET_TO_BATHIS_IN_GLUDIO, 2, 5000));
|
||||
}
|
||||
else if (killCount < 150)
|
||||
else if (killCount < 50)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -158,6 +159,7 @@ public class Q10967_CulturedAdventurer extends Quest
|
||||
qs.setCond(2, true);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_ABANDONED_CAMP_ARE_KILLED_NUSE_THE_TELEPORT_TO_GET_TO_BATHIS_IN_GLUDIO, 2, 5000));
|
||||
giveItems(killer, SOE_TO_CAPTAIN_BATHIS);
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
4
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/no_lvl.html
vendored
Normal file
4
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/no_lvl.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Are you interested?<br>
|
||||
(Available to characters of Level 25 or higher.)<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
Do you know there's a Gorgon Flower Garden in the vicinity of Giran?<br>
|
||||
Formerly it was called Secret Garden, but now it's a horrible place occupied by abmoniable creatures.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10964_SecretGarden 30289-02.html">Ask about the place</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10292_SecretGarden 30289-02.html">Ask about the place</Button>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
The garden was a peaceful and nice place before mysterious and dreadful beasts invaded it. There's a rumour that they have turned all garden animals into stone!<br>
|
||||
Now there are no living creatures but Harpies, Medusas, and Bugbears.<br>
|
||||
Word goes around that many strange things have been happening in the garden lately. That worries me a lot, so I'm looking for a brave soul who would go there and find out the truth.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10964_SecretGarden 30289-03.html">Ask what you need to do</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10292_SecretGarden 30289-03.html">Ask what you need to do</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
Have you completed the mission?<br>
|
||||
I haven't heard from you for a long time so I've been worried.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10964_SecretGarden 30289-05.html">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10292_SecretGarden 30289-05.html">Nod</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
Bathis has sent you, am I right? I've been waiting for you for a while.<br>
|
||||
Please, if you have a minute, listen to my plea.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10964_SecretGarden 30289-01.html">Ask what happened</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10292_SecretGarden 30289-01.html">Ask what happened</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
The High Priest Raymond who is in service at the Temple of Einhasad.<br>
|
||||
As I know he has some troubles, that's why he's looking for a help. Are you interestd?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10964_SecretGarden Nod">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10292_SecretGarden Nod">Nod</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Thanks to your heroic deeds you've worked up a good reputation.<br>
|
||||
Now someone wants to ask for your assistance.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10964_SecretGarden 30332-01.htm">"Who is that?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10292_SecretGarden 30332-01.htm">"Who is that?"</Button>
|
||||
</body></html>
|
@ -14,11 +14,12 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10964_SecretGarden;
|
||||
package quests.Q10292_SecretGarden;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.l2jmobius.gameserver.data.xml.ExperienceData;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
@ -32,9 +33,8 @@ import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
/**
|
||||
* Secret Garden (10964)
|
||||
* @author RobikBobik
|
||||
* @Note: Based on NA server September 2019
|
||||
*/
|
||||
public class Q10964_SecretGarden extends Quest
|
||||
public class Q10292_SecretGarden extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int CAPTAIN_BATHIS = 30332;
|
||||
@ -46,6 +46,8 @@ public class Q10964_SecretGarden extends Quest
|
||||
private static final int TURAK_BUGBEAR = 20248;
|
||||
private static final int TURAK_BUGBEAR_WARRIOR = 20249;
|
||||
// Items
|
||||
private static final ItemHolder SOE_GORGON_FLOWER_GARDEN = new ItemHolder(95588, 1);
|
||||
private static final ItemHolder SOE_HIGH_PRIEST_RAYMOND = new ItemHolder(91736, 1);
|
||||
private static final ItemHolder SCROLL_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2);
|
||||
private static final ItemHolder TRAVELER_AGATHION_SUMMON_BRACELET = new ItemHolder(91933, 1);
|
||||
private static final ItemHolder TRAVELER_AGATHION_GRIFFIN = new ItemHolder(91935, 1);
|
||||
@ -54,9 +56,9 @@ public class Q10964_SecretGarden extends Quest
|
||||
private static final int MIN_LEVEL = 30;
|
||||
private static final int MAX_LEVEL = 35;
|
||||
|
||||
public Q10964_SecretGarden()
|
||||
public Q10292_SecretGarden()
|
||||
{
|
||||
super(10964);
|
||||
super(10292);
|
||||
addStartNpc(CAPTAIN_BATHIS);
|
||||
addTalkId(CAPTAIN_BATHIS, RAYMOND);
|
||||
addKillId(HARPY, MEDUSA, WYRM, TURAK_BUGBEAR, TURAK_BUGBEAR_WARRIOR);
|
||||
@ -103,6 +105,7 @@ public class Q10964_SecretGarden extends Quest
|
||||
case "30289-02.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(player, SOE_GORGON_FLOWER_GARDEN);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
@ -117,7 +120,7 @@ public class Q10964_SecretGarden extends Quest
|
||||
if (qs.isStarted())
|
||||
{
|
||||
player.sendPacket(new ExShowScreenMessage(NpcStringId.YOU_VE_GOT_ADVENTURER_S_AGATHION_BRACELET_AND_ADVENTURER_S_AGATHION_GRIFFIN_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_USE_THE_AGATHION, 2, 5000));
|
||||
addExpAndSp(player, 3500000, 95000);
|
||||
addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(35) + 100) - player.getExp(), 135000);
|
||||
giveItems(player, TRAVELER_AGATHION_SUMMON_BRACELET);
|
||||
giveItems(player, TRAVELER_AGATHION_GRIFFIN);
|
||||
giveItems(player, SCROLL_ENCHANT_ADEN_WEAPON);
|
||||
@ -137,7 +140,7 @@ public class Q10964_SecretGarden extends Quest
|
||||
if ((qs != null) && qs.isCond(2))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 150)
|
||||
if (killCount < 70)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -147,6 +150,7 @@ public class Q10964_SecretGarden extends Quest
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
giveItems(killer, SOE_HIGH_PRIEST_RAYMOND);
|
||||
killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_GORGON_FLOWER_GARDEN_ARE_KILLED_NUSE_THE_TELEPORT_TO_GET_TO_HIGH_PRIEST_RAYMOND_IN_GLUDIO, 2, 5000));
|
||||
}
|
||||
}
|
4
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/no_lvl.html
vendored
Normal file
4
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/no_lvl.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Captain Bathis:<br>
|
||||
Interested? Raymond is looking for an experienced adventurer to assign to a mission. But I've fears you're not strong enough for this quest. You've to improve your skills first.<br>
|
||||
(This quest is available to characters of Level 30 or higher.)<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
Yes, that's right. I have to admit that I've heard a lot about your heroic deeds. So when strange things had started happening in the Gorgon Flower Garden, I thought about you and asked Raymond to arrange our meeting.<br>
|
||||
It is very important. Otherwise, I wouldn't have asked that you leave Gludio in such a hurry.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30120-02.html">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30120-02.html">Learn more</Button>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
I need help of an experienced adventurer.<br>
|
||||
Someone has to deal with the monsters inhabiting the Death Pass. When I was informed about that, I thought about you and asked Raymond to arrgane our meeting.<br>
|
||||
I hope you agree to help me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30120-03.html">Ask what you need to do</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30120-03.html">Ask what you need to do</Button>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
You've killed monsters in Death Pass, aren't you?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30120-05.html">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30120-05.html">Nod</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
Thank you! That's one load off my mind. May the blessing of Einhasad be with you.<br>
|
||||
You've reached <font color=LEVEL>Lv. 40</font>. Now you can uuse 2nd class transfer. Remember that <font color=LEVEL>class transfer</font> helps you grow your power and makes you stronger.<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
That's exactly how Raymond has described you to me.<br>
|
||||
Greetings, I'm High Priest Maximillian, a servant of the Temple of Einhasad in Giran.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30120-01.html">"I've heard that you're in need of help."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30120-01.html">"I've heard that you're in need of help."</Button>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
Do you remember exploring the Gorgon Flower Garden near Giran?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30289-02.htm">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30289-02.htm">Nod</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
This time the High Priest Maximilian is in need of your help. You can find him in the Temple of Einhasad in Giran.<br>
|
||||
He has heard a lot about your achievements, that's why he wants to give you and assignment. But Maximilian supposed that you wouldn't listen to a stranger. So he asked me to tell you his plea.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30289-03.htm">"What I'm supposed to do?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30289-03.htm">"What I'm supposed to do?"</Button>
|
||||
</body></html>
|
@ -3,5 +3,5 @@ Unfortunately, I don't know all the details, I'm just a mediator.<br>
|
||||
The High Priest of Giran can provide full information on the mission.<br>
|
||||
The long journey to Giran is awaiting you. But I see you're tired, so I can teleport you to Maximilian.<br>
|
||||
Of course, if you still have other businesses here, come to me after you've finished them. When you come to Giran, look for the Temple of Einhasad.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries TELEPORT_TO_MAXIMILLIAN">"I do."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries TELEPORT_TO_MAXIMILLIAN">"I do."</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
I know you have a lot of work to do, but still I want to ask a favour.<br>
|
||||
I have some news that help of experienced adventurer is needed in Giran.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10965_DeathMysteries 30289-01.htm">Hear him out</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10293_DeathMysteries 30289-01.htm">Hear him out</Button>
|
||||
</body></html>
|
@ -14,11 +14,12 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10965_DeathMysteries;
|
||||
package quests.Q10293_DeathMysteries;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.l2jmobius.gameserver.data.xml.ExperienceData;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
@ -32,9 +33,8 @@ import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
/**
|
||||
* Death Mysteries (10965)
|
||||
* @author RobikBobik
|
||||
* @Note: Based on NA server September 2019
|
||||
*/
|
||||
public class Q10965_DeathMysteries extends Quest
|
||||
public class Q10293_DeathMysteries extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int RAYMOND = 30289;
|
||||
@ -47,17 +47,19 @@ public class Q10965_DeathMysteries extends Quest
|
||||
private static final int WINDUS = 20553;
|
||||
private static final int GRANDIS = 20554;
|
||||
// Items
|
||||
private static final ItemHolder BLUE_LANTERNT = new ItemHolder(93074, 1);
|
||||
private static final ItemHolder SOE_DEATH_PASS = new ItemHolder(95589, 1);
|
||||
private static final ItemHolder SOE_HIGH_PRIEST_MAXIMILIAN = new ItemHolder(95595, 1);
|
||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||
private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 1);
|
||||
private static final ItemHolder SCROLL_OF_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2);
|
||||
// Misc
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
private static final int MAX_LEVEL = 40;
|
||||
private static final int MIN_LEVEL = 35;
|
||||
private static final int MAX_LEVEL = 40;
|
||||
|
||||
public Q10965_DeathMysteries()
|
||||
public Q10293_DeathMysteries()
|
||||
{
|
||||
super(10965);
|
||||
super(10293);
|
||||
addStartNpc(RAYMOND);
|
||||
addTalkId(RAYMOND, MAXIMILLIAN);
|
||||
addKillId(WYRM, GUARDIAN_BASILISK, ROAD_SCAVENGER, FETTERED_SOUL, WINDUS, GRANDIS);
|
||||
@ -120,6 +122,7 @@ public class Q10965_DeathMysteries extends Quest
|
||||
case "30120-03.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(player, SOE_DEATH_PASS);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
@ -127,8 +130,8 @@ public class Q10965_DeathMysteries extends Quest
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
addExpAndSp(player, 5000000, 135000);
|
||||
giveItems(player, BLUE_LANTERNT);
|
||||
addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(40) + 100) - player.getExp(), 160000);
|
||||
giveItems(player, SAYHA_GUST);
|
||||
giveItems(player, MAGIC_LAMP_CHARGING_POTION);
|
||||
giveItems(player, SCROLL_OF_ENCHANT_ADEN_WEAPON);
|
||||
qs.exitQuest(false, true);
|
||||
@ -147,7 +150,7 @@ public class Q10965_DeathMysteries extends Quest
|
||||
if ((qs != null) && qs.isCond(2))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 150)
|
||||
if (killCount < 100)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -157,6 +160,7 @@ public class Q10965_DeathMysteries extends Quest
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
giveItems(killer, SOE_HIGH_PRIEST_MAXIMILIAN);
|
||||
killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_DEATH_PASS_ARE_KILLED_NUSE_THE_TELEPORT_OR_THE_SCROLL_OF_ESCAPE_TO_GET_TO_HIGH_PRIEST_MAXIMILIAN_IN_GIRAN, 2, 5000));
|
||||
}
|
||||
}
|
||||
@ -183,7 +187,7 @@ public class Q10965_DeathMysteries extends Quest
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = "30289.htm";
|
||||
htmltext = "30289-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
4
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/no_lvl.html
vendored
Normal file
4
L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/no_lvl.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Raymond:<br>
|
||||
The surroundings of Giran are dangerous. I've fears that the beasts dwelling there very strong enemies even for you.<br>
|
||||
(Available to characters of Lv. 35 and higher.)<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
I have a good advice for you. Go to Aden and find there the High Priest Orven.<br>
|
||||
As far as I know Orven fulfills the king's order, which is to give help to young adventurers. I think you might find it useful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace 30120-02.htm">"Can you tell me more?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace 30120-02.htm">"Can you tell me more?"</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
As far as I know the King of Aden has ordered, that young adventurers should get help. I think that means also some equipment.<br>
|
||||
I think, you might find it useful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace 30120-03.htm">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace 30120-03.htm">Learn more</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
Go to Aden and talk to the High Priest Orven in the Temple of Einhasad.<br>
|
||||
You can reach Aden using teleportation. I would be glad to help you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace TELEPORT_TO_ORVEN">Teleport to Orven</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace TELEPORT_TO_ORVEN">Teleport to Orven</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
As I see, you've completed the 2nd class transfer already.<br>
|
||||
Your deeds on the continent impress me. That's why I wnat to help you to get more powerful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace 30120-01.htm">"What do you mean?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace 30120-01.htm">"What do you mean?"</Button>
|
||||
</body></html>
|
@ -3,5 +3,5 @@ Yes... I know you are brave and strong warrior, not a newbie. People from the pl
|
||||
You've achieved many victories but to get stronger you have to defeat more dangerous enemies in more dangerous places. I've mind one such place.<br>
|
||||
I'm talking about the <font color="LEVEL">Sea of Spores</font>. That's a very good place to improve your skills and grow stronger.<br>
|
||||
You can get to the Sea of Spores using <font color="LEVEL">teleport</font> in <font color="LEVEL">Oren</font>. I suppose a mighty warrior such as you can survive in this horrible place.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace 30857-02.html">Confirm</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace 30857-02.html">Nod</Button>
|
||||
</body></html>
|
@ -1,6 +1,6 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
The Sea of Spores is surrounded by a special barrier that prevents its spreading.<br>
|
||||
I recommend you go there and pratice your skills fighting monsters. It will toughen you up before you go to other places. I'd recommend you start your journey after you've reached <font color="LEVEL">Lv.45</font>.<br>
|
||||
I recommend you go there and pratice your skills fighting monsters. It will toughen you up before you go to other places. I'd recommend you start your journey after you've reached <font color="LEVEL">Lv.44</font>.<br>
|
||||
When you've gained enough experience and strength, I'll tell you where you should go next.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace 30857-03.html">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace 30857-03.html">Nod</Button>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Is your training in the Sea of Spores over?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace reward">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace reward">Nod</Button>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
I've been waiting for you. More recently, many trange and terrible things have been happening in the continent, that's why I'm looking for for warriors who can deal with such horrible troubles.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10969_SporeInfestedPlace 30857-01.html">"I'm here, the warrior you need."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10294_SporeInfestedPlace 30857-01.html">"I'm here, the warrior you need."</Button>
|
||||
</body></html>
|
@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10969_SporeInfestedPlace;
|
||||
package quests.Q10294_SporeInfestedPlace;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.NpcStringId;
|
||||
/**
|
||||
* @author quangnguyen, Mobius
|
||||
*/
|
||||
public class Q10969_SporeInfestedPlace extends Quest
|
||||
public class Q10294_SporeInfestedPlace extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int MAXIMILLIAN = 30120;
|
||||
@ -47,20 +47,25 @@ public class Q10969_SporeInfestedPlace extends Quest
|
||||
private static final int SPORE_ZOMBIE = 20562;
|
||||
private static final int EARTH_GUARDIAN_WYRM = 20176;
|
||||
// Items
|
||||
private static final ItemHolder SOE_SEA_OF_SPORES = new ItemHolder(95590, 1);
|
||||
private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1);
|
||||
private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 500);
|
||||
private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 50);
|
||||
private static final ItemHolder HP_POTS = new ItemHolder(91912, 100);
|
||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||
// Misc
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
private static final int MIN_LEVEL = 40;
|
||||
private static final int MAX_LEVEL = 44;
|
||||
|
||||
public Q10969_SporeInfestedPlace()
|
||||
public Q10294_SporeInfestedPlace()
|
||||
{
|
||||
super(10969);
|
||||
super(10294);
|
||||
addStartNpc(MAXIMILLIAN);
|
||||
addTalkId(MAXIMILLIAN, ORVEN);
|
||||
addKillId(GIANT_FUNGUS, GIANT_MONSTER_EYE, DIRE_WYRM, ROTTING_TREE, ROTTING_GOLEM, SPIDER_TRISALIM, TRISALIM_TARANTULA, SPORE_ZOMBIE, EARTH_GUARDIAN_WYRM);
|
||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||
addCondMaxLevel(MAX_LEVEL, "no_lvl.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_40_44_SPORE_INFESTED_PLACE);
|
||||
}
|
||||
|
||||
@ -102,12 +107,13 @@ public class Q10969_SporeInfestedPlace extends Quest
|
||||
}
|
||||
case "TELEPORT_TO_ORVEN":
|
||||
{
|
||||
player.teleToLocation(147447, 22633, -1984);
|
||||
player.teleToLocation(147452, 22638, -1984);
|
||||
break;
|
||||
}
|
||||
case "30857-02.html":
|
||||
{
|
||||
qs.setCond(2);
|
||||
giveItems(player, SOE_SEA_OF_SPORES);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
@ -115,10 +121,12 @@ public class Q10969_SporeInfestedPlace extends Quest
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
addExpAndSp(player, 1000000, 27000);
|
||||
addExpAndSp(player, 10000000, 270000);
|
||||
giveItems(player, SPIRIT_ORE);
|
||||
giveItems(player, SOULSHOT_TICKET);
|
||||
giveItems(player, HP_POTS);
|
||||
giveItems(player, SAYHA_GUST);
|
||||
htmltext = "30857-05.html";
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
@ -151,7 +159,7 @@ public class Q10969_SporeInfestedPlace extends Quest
|
||||
{
|
||||
htmltext = "30857.html";
|
||||
}
|
||||
else if (qs.isCond(3) && (player.getLevel() >= 44))
|
||||
else if (qs.isCond(3) && (player.getLevel() < 43))
|
||||
{
|
||||
htmltext = "30857-04.html";
|
||||
}
|
||||
@ -180,7 +188,7 @@ public class Q10969_SporeInfestedPlace extends Quest
|
||||
if ((qs != null) && qs.isCond(2))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 500)
|
||||
if (killCount < 200)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -189,6 +197,7 @@ public class Q10969_SporeInfestedPlace extends Quest
|
||||
else
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
giveItems(killer, SOE_HIGH_PRIEST_OVEN);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Go to the Sea of Spores and defeat monsters.<br>
|
||||
But before you go there, think about <font color="LEVEL">obtaining a good equipment.</font><br>
|
||||
To get to the Sea of Spores use a <font color="LEVEL">teleport</font>. The nearest one is placed in <font color="LEVEL">Oren</font>. Also you can use a <font color="LEVEL">scroll for teleporting to the Sea of Spores</font>. I know you have one in your inventory.<br>
|
||||
By the way, monsters living in the Sea of Spores are bound to water attribute, so you'd better use <font color="LEVEL">wind attribute</font> against them. I hope it's useful information.<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Maximillian:<br>
|
||||
Now we have nothing to talk about. Come back when you get stronger.<br>
|
||||
(Available to characters of Lv. 40 and higher.)<br>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
There is the <font color="LEVEL">Cemtery</font> not far away from Aden.<br>
|
||||
The nobles and the most important people of the kingdom were burried there a long ago.<br>
|
||||
However, lately the Cemetery has been infested with dark magic. It is very dangerous, and nobody goes there anymore.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10970_RespectForGraves 30857-02.htm">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves 30857-02.htm">Learn more</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Many people want to visit graves of their ancestors but they can't do that because of monsters wandering in the Cemetery.<br>
|
||||
So if you go there you kill two birds with one stone, training and helping citizens.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10970_RespectForGraves 30857-03.htm">"So, that's the place for training?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves 30857-03.htm">"So, that's the place for training?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,7 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Hm...<br>
|
||||
To get to the Cemetery use <font color="LEVEL">teleprot</font> in <font color="LEVEL">any part of the continent</font>.<br>
|
||||
Go and kill <font color="LEVEL">300</font> monsters that are roaming around the Cemetery. Also you have to <font color="LEVEL">reach Lv. 52. Monsters to hunt: Taik Orc Watchman, Grave Guard, Taik Orc Supply Officer, Tairim, Tortured Undead, Spiteful Ghost of Ruins, Soldier of Grief, Cruel Punisher, Roving Soul, Soul of Ruins</font>.<br>
|
||||
One more thing! If you know nothing about <font color="LEVEL">transcendent instance zones</font>, I'd be glad to enlighten you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves 30857-06.html">"Tell me about transcendent in instance zones."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Have you completed your training?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves reward">Nod</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
There are places in our world that are hidden from prying eyes and nobody can get there just for no reason.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves 30857-07.html">"Tell me about the places."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
That places are called <font color="LEVEL">special hunting zones</font>. There are many of them and surely you will find the good one for you.<br>
|
||||
<font color="LEVEL">Pressing the button on the right sidebar</font>, you can open the list of special hunting zones.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves 30857-08.html">"How can I get transcendent powers?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,8 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
You have to remember something <font color="LEVEL">very important</font>.<br>
|
||||
As soon as you've spoken to Grand Master, <font color="LEVEL">many monsters appear</font>.<br>
|
||||
Be ready to fight.<br>
|
||||
Besides you have to remember that <font color="LEVEL">transcendent powers can be used only in transcendent instance zones</font>. If you leave the transcendent instance zone, you lose the powers.<br>
|
||||
Go to the transcendent instance zone of your level and fight monsters dwelling there.<br>
|
||||
It will make you stronger.<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
I think you are too stronger to trian here.<br>
|
||||
If you want I can recommend another training place to you. Are you interested?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10970_RespectForGraves 30857-01.htm">Hear him out</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10295_RespectforGraves 30857-01.htm">Hear him out</Button>
|
||||
</body></html>
|
@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10970_RespectForGraves;
|
||||
package quests.Q10295_RespectforGraves;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -32,7 +32,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
/**
|
||||
* @author quangnguyen
|
||||
*/
|
||||
public class Q10970_RespectForGraves extends Quest
|
||||
public class Q10295_RespectforGraves extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int ORVEN = 30857;
|
||||
@ -47,19 +47,25 @@ public class Q10970_RespectForGraves extends Quest
|
||||
private static final int CRUEL_PUNISHER = 20998;
|
||||
private static final int ROVING_SOUL = 20999;
|
||||
private static final int SOUL_OF_RUNIS = 21000;
|
||||
// Items
|
||||
private static final ItemHolder SOE_CEMETERY = new ItemHolder(95591, 1);
|
||||
private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1);
|
||||
// Reward
|
||||
private static final ItemHolder ASOFE = new ItemHolder(92994, 1);
|
||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||
// Misc
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
private static final int MIN_LEVEL = 45;
|
||||
private static final int MAX_LEVEL = 52;
|
||||
|
||||
public Q10970_RespectForGraves()
|
||||
public Q10295_RespectforGraves()
|
||||
{
|
||||
super(10970);
|
||||
super(10295);
|
||||
addStartNpc(ORVEN);
|
||||
addTalkId(ORVEN);
|
||||
addKillId(TAIK_ORC_WATCHMAN, GRAVE_GUARD, TAIK_ORC_SUPPLY_OFFICER, TAIRIM, TORTURED_UNDEAD, SPITEFUL_GHOST_OF_RUINS, SOLDIER_OF_GRIEF, CRUEL_PUNISHER, ROVING_SOUL, SOUL_OF_RUNIS);
|
||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||
addCondMaxLevel(MAX_LEVEL, "no_lvl.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_45_52_RESPECT_FOR_GRAVES);
|
||||
}
|
||||
|
||||
@ -85,6 +91,9 @@ public class Q10970_RespectForGraves extends Quest
|
||||
case "30857.htm":
|
||||
case "30857-01.htm":
|
||||
case "30857-02.htm":
|
||||
case "30857-06.html":
|
||||
case "30857-07.html":
|
||||
case "30857-08.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
@ -92,6 +101,7 @@ public class Q10970_RespectForGraves extends Quest
|
||||
case "30857-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, SOE_CEMETERY);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
@ -99,8 +109,9 @@ public class Q10970_RespectForGraves extends Quest
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
addExpAndSp(player, 25000000, 67500);
|
||||
addExpAndSp(player, 25000000, 675000);
|
||||
giveItems(player, ASOFE);
|
||||
giveItems(player, SAYHA_GUST);
|
||||
showOnScreenMsg(player, NpcStringId.FROM_NOW_TRY_TO_GET_AS_MUCH_QUESTS_AS_YOU_CAN_I_LL_TELL_YOU_WHAT_TO_DO_NEXT, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||
htmltext = "30857-05.html";
|
||||
qs.exitQuest(false, true);
|
||||
@ -124,6 +135,11 @@ public class Q10970_RespectForGraves extends Quest
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR);
|
||||
if ((killCount < 300) && (player.getLevel() < 52))
|
||||
{
|
||||
htmltext = "no_enough.html";
|
||||
}
|
||||
htmltext = "30857-01.htm";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
@ -145,7 +161,7 @@ public class Q10970_RespectForGraves extends Quest
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 500)
|
||||
if (killCount < 300)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -154,6 +170,7 @@ public class Q10970_RespectForGraves extends Quest
|
||||
else
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(killer, SOE_HIGH_PRIEST_OVEN);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
}
|
||||
}
|
||||
@ -168,6 +185,7 @@ public class Q10970_RespectForGraves extends Quest
|
||||
{
|
||||
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||
holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_CEMETERY.getId(), true, qs.getInt(KILL_COUNT_VAR)));
|
||||
holder.add(new NpcLogListHolder(NpcStringId.LEVEL_52_ACCOMPLISHED, player.getLevel() > 51 ? 1 : 0));
|
||||
return holder;
|
||||
}
|
||||
return super.getNpcLogList(player);
|
@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Hm...<br>
|
||||
To get to the Cemetery use <font color="LEVEL">teleprot</font> in <font color="LEVEL">any part of the continent</font>.<br>
|
||||
Go and kill <font color="LEVEL">300</font> monsters that are roaming around the Cemetery. Also you have to <font color="LEVEL">reach Lv. 52. Monsters to hunt: Taik Orc Watchman, Grave Guard, Taik Orc Supply Officer, Tairim, Tortured Undead, Spiteful Ghost of Ruins, Soldier of Grief, Cruel Punisher, Roving Soul, Soul of Ruins</font>.<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
I think you are not strong enough for this quest. Gain more experience and then come back.<br>
|
||||
(Available to characters of Lv. 45 and higher)<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Long before our country was formed there was a great empire that was split into two kingdoms-Elmore and Aden fighting each other fro owning more land. There were a lot of battles around the Aden Castle.<br>
|
||||
Nevertheless Aden won, and the world changed. But even now you can see traces of that horrible war everywhere.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10975_LetsPayRespectsToOurFallenBrethren 30857-02.htm">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_LetsPayRespectsToOurFallenBrethren 30857-02.htm">Learn more</Button>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
Long ago there was a significant battle in the Fields of Massacre.<br>
|
||||
To take the Devastated Castle, soldiers of Elmore sprayed a poison all over the field. So many brave warriors died in that day...<br>
|
||||
The Fields of Massacre have been haunted by evil spirits since then. Souls of the dead warriors have become possessed. They have no rest... We have to help them.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10975_LetsPayRespectsToOurFallenBrethren 30857-03.htm">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_LetsPayRespectsToOurFallenBrethren 30857-03.htm">Learn more</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Local people want to perform the rite of remembrance of dead warriors who faced their death in the Fields of Massacre.<br>
|
||||
But they can't do it now, too many monsters are wandering in that place.<br>
|
||||
Go to the <font color="LEVEL">Fields of Massacre</font> and kill monsters roaming there. Monsters to hunt: <font color="LEVEL">Archer of Destruction, Graveyard Lich, Dismal Pole, Graveyard Predator, Doom Knight, Doom Scout, Doom Servant, Doom Guard, Doom Archer, Doom Trooper, Doom Warrior, Guard Butcher</font>.<br>
|
||||
Go to the <font color="LEVEL">Fields of Massacre</font> and kill monsters roaming there. Monsters to hunt: <font color="LEVEL">Archer of Destruction, Graveyard Lich, Dismal Pole, Graveyard Predator, Doom Knight, Doom Scout, Doom Servant, Doom Guard, Doom Archer, Doom Trooper, Doom Warrior</font>. You have to destroy <font color="LEVEL">400 monster</font> and <font color="LEVEL">reach Lv. 58</font><br>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Local people want to perform the rite of remembrance of dead warriors who faced their death in the Fields of Massacre.<br>
|
||||
But they can't do it now, too many monsters are wandering in that place.<br>
|
||||
Go to the <font color="LEVEL">Fields of Massacre</font> and kill monsters roaming there. Monsters to hunt: <font color="LEVEL">Archer of Destruction, Graveyard Lich, Dismal Pole, Graveyard Predator, Doom Knight, Doom Scout, Doom Servant, Doom Guard, Doom Archer, Doom Trooper, Doom Warrior</font>. You have to destroy <font color="LEVEL">400 monster</font> and <font color="LEVEL">reach Lv. 58</font><br>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Have you dealt with the monsters?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10975_LetsPayRespectsToOurFallenBrethren reward">Nod</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_LetsPayRespectsToOurFallenBrethren reward">Nod</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Oh, you've already done with the Respect for Graves quest.<br>
|
||||
At this part of Aden you can find many traces of severe fights and bloody battles.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10975_LetsPayRespectsToOurFallenBrethren 30857-01.htm">Hear him out</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_LetsPayRespectsToOurFallenBrethren 30857-01.htm">Hear him out</Button>
|
||||
</body></html>
|
@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10975_LetsPayRespectsToOurFallenBrethren;
|
||||
package quests.Q10296_LetsPayRespectsToOurFallenBrethren;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -27,11 +27,14 @@ import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.network.NpcStringId;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
import quests.Q10295_RespectforGraves.Q10295_RespectforGraves;
|
||||
|
||||
/**
|
||||
* @author quangnguyen
|
||||
*/
|
||||
public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
public class Q10296_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ORVEN = 30857;
|
||||
@ -49,21 +52,26 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
private static final int DOOM_WARRIOR = 21010;
|
||||
private static final int GUARD_BUTCHER = 22101;
|
||||
// Items
|
||||
private static final ItemHolder SOE_FIELDS_OF_MASSACRE = new ItemHolder(95592, 1);
|
||||
private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1);
|
||||
private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 3);
|
||||
private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 10);
|
||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||
private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 450);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 52;
|
||||
private static final int MAX_LEVEL = 58;
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
|
||||
public Q10975_LetsPayRespectsToOurFallenBrethren()
|
||||
public Q10296_LetsPayRespectsToOurFallenBrethren()
|
||||
{
|
||||
super(10975);
|
||||
super(10296);
|
||||
addStartNpc(ORVEN);
|
||||
addTalkId(ORVEN);
|
||||
addKillId(ACHER_OF_DESTRUCTION, GRAVEYARD_LICH, DISMAL_POLE, GRAVEYARD_PREDATOR, DOOM_KNIGHT, DOOM_SCOUT, DOOM_SERVANT, DOOM_GUARD, DOOM_ARCHER, DOOM_TROOPER, DOOM_WARRIOR, GUARD_BUTCHER);
|
||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||
addCondMaxLevel(MAX_LEVEL, "no_lvl.html");
|
||||
addCondCompletedQuest(Q10295_RespectforGraves.class.getSimpleName(), "no_lvl.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_52_58_LET_S_PAY_RESPECTS_TO_OUR_FALLEN_BRETHREN);
|
||||
}
|
||||
|
||||
@ -96,6 +104,7 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
case "30857-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, SOE_FIELDS_OF_MASSACRE);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
@ -103,6 +112,7 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
addExpAndSp(player, 30000000, 810000);
|
||||
giveItems(player, MAGIC_LAMP_CHARGING_POTION);
|
||||
giveItems(player, SOULSHOT_TICKET);
|
||||
giveItems(player, SAYHA_GUST);
|
||||
@ -130,9 +140,9 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 500)
|
||||
if ((killCount < 400) && (player.getLevel() < 58))
|
||||
{
|
||||
htmltext = "no_kill.html";
|
||||
htmltext = "30857-03.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -158,7 +168,7 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 500)
|
||||
if (killCount < 400)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -167,6 +177,8 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
else
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
showOnScreenMsg(killer, NpcStringId.ALL_MISSIONS_ARE_COMPLETED_NUSE_SCROLL_OF_ESCAPE_HIGH_PRIEST_ORVEN_TO_GET_TO_HIGH_PRIEST_ORVEN_IN_ADEN, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||
giveItems(killer, SOE_HIGH_PRIEST_OVEN);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
}
|
||||
}
|
||||
@ -181,8 +193,10 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest
|
||||
{
|
||||
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||
holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_FIELDS_OF_MASSACRE.getId(), true, qs.getInt(KILL_COUNT_VAR)));
|
||||
holder.add(new NpcLogListHolder(NpcStringId.LEVEL_58_ACCOMPLISHED, player.getLevel() > 57 ? 1 : 0));
|
||||
return holder;
|
||||
}
|
||||
return super.getNpcLogList(player);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
I think you are not strong enough for this quest. Gain more experience and then come back.<br>
|
||||
(This quest is available to characters of Lv. 52+.)<br>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
There were many bloody battles around the Aden Castle.<br>
|
||||
But there was the one in which Elmore was defeated.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10976_MemoryOfTheGloriousPast 30857-02.htm">Ask about the place</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10297_MemoryOfTheGloriousPast 30857-02.htm">Ask about the place</Button>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
It's called <font color="LEVEL">Plain of Glory</font>.<br>
|
||||
Warriors of our kingdom fought soldiers of Elmore there and won.<br>
|
||||
The thing is that strange things have started happening there recently. Not glorious at all.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10976_MemoryOfTheGloriousPast 30857-03.htm">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10297_MemoryOfTheGloriousPast 30857-03.htm">Learn more</Button>
|
||||
</body></html>
|
@ -2,5 +2,6 @@
|
||||
There are too many monsters wandering on the Plains of Glory.<br>
|
||||
But why am I I surprised? Places of ancient battles are attracting monsters. Shattered lands are some kind of reminder of war horrors and a high price of victory.<br>
|
||||
But the Plains of Glory is a special place for local people. We cannot allow monsters roaming there.<br>
|
||||
Please, kill the monster that roaming the Plains of Glory. I'm talking about <font color="LEVEL">Vanor Silenos, Vanor Silenos Soldier, Vanor Silenos Scout, Vanor Silenos Warrior, Vanor Silenos Shaman, Vanor Silenos Chieftain, Vanor Mercenary of Glory, Guard of Honor</font>. All of them must die.<br>
|
||||
Please, kill the monster that roaming the Plains of Glory. I'm talking about <font color="LEVEL">Vanor Silenos, Vanor Silenos Soldier, Vanor Silenos Scout, Vanor Silenos Warrior, Vanor Silenos Shaman, Vanor Silenos Chieftain, Vanor Mercenary of Glory</font>. You have to destroy <font color="LEVEL">500 monsters</font> in total.<br>
|
||||
Also you have to <font color="LEVEL">reach Lv. 64.</font><br>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Have you dealt with the monsters?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10976_MemoryOfTheGloriousPast reward">Confirm</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10297_MemoryOfTheGloriousPast reward">Confirm</Button>
|
||||
</body></html>
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Well, Aden has been really changed for some time past. But not all changes are for the better.<br>
|
||||
Nevertheless we remember glorious times and believe that we can overcome all hardships that lie ahead.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10976_MemoryOfTheGloriousPast 30857-01.htm">Ask about the glorious times</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10297_MemoryOfTheGloriousPast 30857-01.htm">Ask about the glorious times</Button>
|
||||
</body></html>
|
@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10976_MemoryOfTheGloriousPast;
|
||||
package quests.Q10297_MemoryOfTheGloriousPast;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
@ -28,10 +28,12 @@ import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.network.NpcStringId;
|
||||
|
||||
import quests.Q10295_RespectforGraves.Q10295_RespectforGraves;
|
||||
|
||||
/**
|
||||
* @author quangnguyen
|
||||
*/
|
||||
public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
public class Q10297_MemoryOfTheGloriousPast extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ORVEN = 30857;
|
||||
@ -45,21 +47,26 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
private static final int VANOR_MERCENARY_OF_GLORY = 24014;
|
||||
private static final int GUARD_OF_HONOR = 22102;
|
||||
// Items
|
||||
private static final ItemHolder SOE_PLAINS_OF_GLORY = new ItemHolder(95593, 1);
|
||||
private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1);
|
||||
private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 3);
|
||||
private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 10);
|
||||
private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9);
|
||||
private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 450);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 58;
|
||||
private static final int MAX_LEVEL = 64;
|
||||
private static final String KILL_COUNT_VAR = "KillCount";
|
||||
|
||||
public Q10976_MemoryOfTheGloriousPast()
|
||||
public Q10297_MemoryOfTheGloriousPast()
|
||||
{
|
||||
super(10976);
|
||||
super(10297);
|
||||
addStartNpc(ORVEN);
|
||||
addTalkId(ORVEN);
|
||||
addKillId(VANOR_SILENOS, VANOR_SILENOS_SOLDIER, VANOR_SILENOS_SCOUT, VANOR_SILENOS_WARRIOR, VANOR_SILENOS_SHAMAN, VANOR_SILENOS_CHIEFTAIN, VANOR_MERCENARY_OF_GLORY, GUARD_OF_HONOR);
|
||||
addCondMinLevel(MIN_LEVEL, "no_lvl.html");
|
||||
addCondMaxLevel(MAX_LEVEL, "no_lvl.html");
|
||||
addCondCompletedQuest(Q10295_RespectforGraves.class.getSimpleName(), "no_lvl.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_58_64_MEMORY_OF_THE_GLORIOUS_PAST);
|
||||
}
|
||||
|
||||
@ -92,6 +99,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
case "30857-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, SOE_PLAINS_OF_GLORY);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
@ -99,6 +107,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
addExpAndSp(player, 35000000, 945000);
|
||||
giveItems(player, MAGIC_LAMP_CHARGING_POTION);
|
||||
giveItems(player, SOULSHOT_TICKET);
|
||||
giveItems(player, SAYHA_GUST);
|
||||
@ -126,7 +135,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 700)
|
||||
if ((killCount < 500) && (player.getLevel() < 64))
|
||||
{
|
||||
htmltext = "no_kill.html";
|
||||
}
|
||||
@ -157,7 +166,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||
if (killCount < 700)
|
||||
if (killCount < 500)
|
||||
{
|
||||
qs.set(KILL_COUNT_VAR, killCount);
|
||||
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
@ -166,6 +175,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
else
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(killer, SOE_HIGH_PRIEST_OVEN);
|
||||
qs.unset(KILL_COUNT_VAR);
|
||||
}
|
||||
}
|
||||
@ -180,6 +190,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest
|
||||
{
|
||||
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||
holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_ON_THE_PLAINS_OF_GLORY.getId(), true, qs.getInt(KILL_COUNT_VAR)));
|
||||
holder.add(new NpcLogListHolder(NpcStringId.REACH_LV_64, player.getLevel() > 63 ? 1 : 0));
|
||||
return holder;
|
||||
}
|
||||
return super.getNpcLogList(player);
|
@ -1,5 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
On the War-Torn Plains. Yes, there were many battles but none of them can't be compared to the one of the War-Torn Plains.<br>
|
||||
Quickly after that Kingdom of Aden had won the battle of the Plains of Glory.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10977_TracesOfBattle 30857-02.htm">Learn more</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10298_TracesOfBattle 30857-02.htm">Learn more</Button>
|
||||
</body></html>
|
@ -2,5 +2,5 @@
|
||||
Many warriors had diied on the War-Torn Plains.<br>
|
||||
Echoes of their suffering and deaths had been imprinted in the plains for ever. That's why monsters like wandering there.<br>
|
||||
So the War-Torn Plains is very dangerous place. But wa can't leave it as is. I want to ask you for help.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10977_TracesOfBattle 30857-03.htm">"What should I do?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10298_TracesOfBattle 30857-03.htm">"What should I do?"</Button>
|
||||
</body></html>
|
@ -1,4 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Have you dealt with the monsters?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10977_TracesOfBattle reward">Confirm</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10298_TracesOfBattle reward">Confirm</Button>
|
||||
</body></html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user