Addition of quest Future: Orcs (10994).
Contributed by Stayway.
This commit is contained in:
@@ -18,5 +18,4 @@
|
||||
10868 The Dark Side of Power
|
||||
10870 Unfinished Device
|
||||
10871 Death to the Pirate King!
|
||||
10994 Future: Orcs
|
||||
11012 Future Elves
|
||||
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-01.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Seems like you're already strong and experienced enough to venture out into the world. There's just one important task remaining.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02.htm">Complete 1st Class Transfer</Button><br>
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-01a.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-01a.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Seems like you're already strong and experienced enough to venture out into the world. There's just one important task remaining.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02a.htm">Complete 1st Class Transfer</Button><br>
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-02.htm
vendored
Normal file
5
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
I see you're really fit! So who do you want to be? An Orc Raider or an Orc Monk?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs f_raider.html">Become an Orc Raider</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs f_monk.html">Become an Orc Monk</Button><br>
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-02a.htm
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-02a.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
I feel that you have the ability to hear voices of our ancestors.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs m_shaman.html">Become an Orc Shaman</Button><br>
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-03.html
vendored
Normal file
3
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Are you still here? You shouldn't waste time. Follow the arrow.<br>
|
||||
<font color="LEVEL">(you may check your destination in the quest dialog by pressing Alt+U.)</font>
|
3
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-04.html
vendored
Normal file
3
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
(Only characters who are level 19 or above and who have completed the <font color="LEVEL">Red Gem Necklace (3/3)</font> quests may undertake this quest.)
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30570-01.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30570-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Karukia:<br>
|
||||
Uska said you are willing to study the martial art Kawat. First, you need to become an Orc Raider.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30570-02.html">"that's right."</Button><br>
|
||||
</body></html>
|
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30570-02.html
vendored
Normal file
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30570-02.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Karukia:<br>
|
||||
That's great idea! The path of Kawat is very challenging. It's not up to everybody's strengh. Come back to me when you are ready.
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30585-01.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30585-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Tataru Zu Hestui:<br>
|
||||
Uska told me about you. Do you want to become an Orc Shaman? Then be ready to serve our ancestors with your body and soul.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30585-02.html">Confirm</Button><br>
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30585-02.html
vendored
Normal file
3
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30585-02.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Tataru Zu Hestui:<br>
|
||||
Our tribe lives by the strengh of ancestors. You've made the right choice! Tell me when you are ready to make a Class Transfer.
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30587-01.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30587-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Gantakai Zu Urutu:<br>
|
||||
Uska said you are willing to study the martial art Kawat. First, you need to become an Orc Raider.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30587-02.html">"that's right."</Button><br>
|
||||
</body></html>
|
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30587-02.html
vendored
Normal file
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/30587-02.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Gantakai Zu Urutu:<br>
|
||||
That's great idea! The path of Kawat is very challenging. It's not up to everybody's strengh. Come back to me when you are ready.
|
179
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/Q10994_FutureOrcs.java
vendored
Normal file
179
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/Q10994_FutureOrcs.java
vendored
Normal file
@@ -0,0 +1,179 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* 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.Q10994_FutureOrcs;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.base.ClassId;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
|
||||
import quests.Q11023_RedGemNecklace3.Q11023_RedGemNecklace3;
|
||||
|
||||
/**
|
||||
* Future: Future Orcs (10994)
|
||||
* @author Stayway
|
||||
*/
|
||||
public class Q10994_FutureOrcs extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int USKA = 30560;
|
||||
private static final int KARUKIA = 30570;
|
||||
private static final int GANTAKAI = 30587;
|
||||
private static final int HESTUI = 30585;
|
||||
// Items
|
||||
private static final int FIRST_CLASS_BUFF_SCROLL = 29011;
|
||||
private static final int IMPROVED_SOE = 49087;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 19;
|
||||
|
||||
public Q10994_FutureOrcs()
|
||||
{
|
||||
super(10994);
|
||||
addStartNpc(USKA);
|
||||
addTalkId(USKA, KARUKIA, GANTAKAI, HESTUI);
|
||||
addCondMinLevel(MIN_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ORC, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11023_RedGemNecklace3.class.getSimpleName(), "30560-04.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_19_FUTURE_ORCS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "30560-02.htm":
|
||||
case "30560-02a.htm":
|
||||
case "f_raider.html":
|
||||
case "f_monk.html":
|
||||
case "m_shaman.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "a_raider.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "a_monk.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "a_shaman.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(4, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30570-02.html": // Custom html
|
||||
case "30587-02.html":
|
||||
case "30585-02.html":
|
||||
{
|
||||
if (qs.getCond() > 1)
|
||||
{
|
||||
giveItems(player, FIRST_CLASS_BUFF_SCROLL, 5);
|
||||
giveItems(player, IMPROVED_SOE, 1);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if ((npc.getId() == USKA) && (talker.getClassId() == ClassId.ORC_FIGHTER))
|
||||
{
|
||||
htmltext = "30560-01.html";
|
||||
}
|
||||
else if (talker.getClassId() == ClassId.ORC_MAGE)
|
||||
{
|
||||
htmltext = "30560-01a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (npc.getId() == USKA)
|
||||
{
|
||||
if (qs.getCond() >= 1)
|
||||
{
|
||||
htmltext = "30560-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((npc.getId() == KARUKIA) && (talker.getClassId() != ClassId.ORC_RAIDER))
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30570-01.html"; // Custom html
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((npc.getId() == GANTAKAI) && (talker.getClassId() != ClassId.ORC_MONK))
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30587-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((npc.getId() == HESTUI) && (talker.getClassId() != ClassId.ORC_SHAMAN))
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "30585-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_monk.html
vendored
Normal file
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_monk.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Do you want to become an <font color="LEVEL">Orc Monc</font>? Then you need to talk to <font color="LEVEL">Gantaki Zu Urutu</font>. You can find him in the Orc Village near the store that sells <font color="LEVEL">weapons and armor</font>. I will send notice about your visit.<br>
|
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_raider.html
vendored
Normal file
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_raider.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Do you want to become an <font color="LEVEL">Orc Raider</font>? Then you need to talk to <font color="LEVEL">Prefect Karukia</font>. Go to the <font color="LEVEL">Royal Palace of the Orc Village</font>. I will send notice about your visit.<br>
|
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_shaman.html
vendored
Normal file
2
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_shaman.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Do you want to become an<font color="LEVEL"> Orc Shaman</font>? Then you need to talk to <font color="LEVEL">Tataru Zu Hestui</font>. You can find him in the<font color="LEVEL"> Orc Village</font>. I will send notice about your visit.<br>
|
7
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/f_monk.html
vendored
Normal file
7
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/f_monk.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Class description - Orc Monks<br>
|
||||
<font color="LEVEL">Orc Monks</font> are mighty warriors who wants to be stronger not trough weapons, but trough the abilities of their own bodies.<br>
|
||||
Orc Monks alone can use Fist Weapons.<br>
|
||||
They wear Light Armor and actively fight in close combat. Depending on situation, they are able to fight long-range as well. They have a big reserve of health but comparatively low defense, that's why they need to kill enemies quickly.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs a_monk.html"> Say that you have decided</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02.htm"> Say that you want to think about it</Button><br>
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/f_raider.html
vendored
Normal file
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/f_raider.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Class description - Raider<br>
|
||||
<font color="LEVEL">Orc Raiders</font> are elite warriors of Orc Race who have improved their mastery of martial arts to a perfection.<br>
|
||||
They prefer attacking and skillfully use various weapons. They can't use Magic Skills, however, under certain conditions, they are able to increase their attack or defense power, which helps them survive when situations are critical.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs a_raider.html"> Say that you have decided</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02.htm"> Say that you want to think about it</Button><br>
|
||||
</body></html>
|
8
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/m_shaman.html
vendored
Normal file
8
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/m_shaman.html
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Class description - Orc Shaman:<br>
|
||||
<font color="LEVEL">Orc Shamans</font> bless warriors with the magic of a Fire God, increase their strengh and also cast various curses upon enemies.<br>
|
||||
Orc Shamans specialize in a magic that gives strengh to their allies and weakens enemies.<br>
|
||||
Most of their attack magical Skills deals periodic damage, that's why they can combine magical and physical attacks.<br>
|
||||
They deal less damage than Warriors, but can increase Physical Attack with Reinforcement Skills, which makes them more effective in combat.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs a_shaman.html">Say that you have decided</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-01a.html">Say that you want to think about ir</Button><br>
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/no-level.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/no-level.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
You ought to gain more experience. Come back later.<br>
|
||||
<font color="LEVEL">(This quest is available to characters of Level 19 or higher.)</font><br>
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/no-race.html
vendored
Normal file
4
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q10994_FutureOrcs/no-race.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
You are not an Orc. Get the hell out!
|
||||
<font color="LEVEL">(This quest is available to Orcs only.)</font><br>
|
||||
</body></html>
|
@@ -148,6 +148,7 @@ import quests.Q00662_AGameOfCards.Q00662_AGameOfCards;
|
||||
import quests.Q00933_ExploringTheWestWingOfTheDungeonOfAbyss.Q00933_ExploringTheWestWingOfTheDungeonOfAbyss;
|
||||
import quests.Q00935_ExploringTheEastWingOfTheDungeonOfAbyss.Q00935_ExploringTheEastWingOfTheDungeonOfAbyss;
|
||||
import quests.Q10993_FutureDwarves.Q10993_FutureDwarves;
|
||||
import quests.Q10994_FutureOrcs.Q10994_FutureOrcs;
|
||||
import quests.Q10995_MutualBenefit.Q10995_MutualBenefit;
|
||||
import quests.Q10996_TemplesDecorations.Q10996_TemplesDecorations;
|
||||
import quests.Q10997_LoserPriest1.Q10997_LoserPriest1;
|
||||
@@ -315,6 +316,7 @@ public class QuestMasterHandler
|
||||
Q00933_ExploringTheWestWingOfTheDungeonOfAbyss.class,
|
||||
Q00935_ExploringTheEastWingOfTheDungeonOfAbyss.class,
|
||||
Q10993_FutureDwarves.class,
|
||||
Q10994_FutureOrcs.class,
|
||||
Q10995_MutualBenefit.class,
|
||||
Q10996_TemplesDecorations.class,
|
||||
Q10997_LoserPriest1.class,
|
||||
|
@@ -17,7 +17,6 @@
|
||||
10868 The Dark Side of Power
|
||||
10870 Unfinished Device
|
||||
10871 Death to the Pirate King!
|
||||
10994 Future: Orcs
|
||||
11012 Future Elves
|
||||
|
||||
TODO: Check Antharas rewards.
|
||||
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Seems like you're already strong and experienced enough to venture out into the world. There's just one important task remaining.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02.htm">Complete 1st Class Transfer</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Seems like you're already strong and experienced enough to venture out into the world. There's just one important task remaining.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02a.htm">Complete 1st Class Transfer</Button><br>
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-02.htm
vendored
Normal file
5
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/30560-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
I see you're really fit! So who do you want to be? An Orc Raider or an Orc Monk?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs f_raider.html">Become an Orc Raider</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs f_monk.html">Become an Orc Monk</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
I feel that you have the ability to hear voices of our ancestors.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs m_shaman.html">Become an Orc Shaman</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Are you still here? You shouldn't waste time. Follow the arrow.<br>
|
||||
<font color="LEVEL">(you may check your destination in the quest dialog by pressing Alt+U.)</font>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
(Only characters who are level 19 or above and who have completed the <font color="LEVEL">Red Gem Necklace (3/3)</font> quests may undertake this quest.)
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Karukia:<br>
|
||||
Uska said you are willing to study the martial art Kawat. First, you need to become an Orc Raider.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30570-02.html">"that's right."</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,2 @@
|
||||
<html><body>Karukia:<br>
|
||||
That's great idea! The path of Kawat is very challenging. It's not up to everybody's strengh. Come back to me when you are ready.
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Tataru Zu Hestui:<br>
|
||||
Uska told me about you. Do you want to become an Orc Shaman? Then be ready to serve our ancestors with your body and soul.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30585-02.html">Confirm</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Tataru Zu Hestui:<br>
|
||||
Our tribe lives by the strengh of ancestors. You've made the right choice! Tell me when you are ready to make a Class Transfer.
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Gantakai Zu Urutu:<br>
|
||||
Uska said you are willing to study the martial art Kawat. First, you need to become an Orc Raider.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30587-02.html">"that's right."</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,2 @@
|
||||
<html><body>Gantakai Zu Urutu:<br>
|
||||
That's great idea! The path of Kawat is very challenging. It's not up to everybody's strengh. Come back to me when you are ready.
|
@@ -0,0 +1,179 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* 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.Q10994_FutureOrcs;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.base.ClassId;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
|
||||
import quests.Q11023_RedGemNecklace3.Q11023_RedGemNecklace3;
|
||||
|
||||
/**
|
||||
* Future: Future Orcs (10994)
|
||||
* @author Stayway
|
||||
*/
|
||||
public class Q10994_FutureOrcs extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int USKA = 30560;
|
||||
private static final int KARUKIA = 30570;
|
||||
private static final int GANTAKAI = 30587;
|
||||
private static final int HESTUI = 30585;
|
||||
// Items
|
||||
private static final int FIRST_CLASS_BUFF_SCROLL = 29011;
|
||||
private static final int IMPROVED_SOE = 49087;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 19;
|
||||
|
||||
public Q10994_FutureOrcs()
|
||||
{
|
||||
super(10994);
|
||||
addStartNpc(USKA);
|
||||
addTalkId(USKA, KARUKIA, GANTAKAI, HESTUI);
|
||||
addCondMinLevel(MIN_LEVEL, "no-level.html"); // Custom
|
||||
addCondRace(Race.ORC, "no-race.html"); // Custom
|
||||
addCondCompletedQuest(Q11023_RedGemNecklace3.class.getSimpleName(), "30560-04.html");
|
||||
setQuestNameNpcStringId(NpcStringId.LV_19_FUTURE_ORCS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "30560-02.htm":
|
||||
case "30560-02a.htm":
|
||||
case "f_raider.html":
|
||||
case "f_monk.html":
|
||||
case "m_shaman.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "a_raider.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "a_monk.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "a_shaman.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(4, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30570-02.html": // Custom html
|
||||
case "30587-02.html":
|
||||
case "30585-02.html":
|
||||
{
|
||||
if (qs.getCond() > 1)
|
||||
{
|
||||
giveItems(player, FIRST_CLASS_BUFF_SCROLL, 5);
|
||||
giveItems(player, IMPROVED_SOE, 1);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if ((npc.getId() == USKA) && (talker.getClassId() == ClassId.ORC_FIGHTER))
|
||||
{
|
||||
htmltext = "30560-01.html";
|
||||
}
|
||||
else if (talker.getClassId() == ClassId.ORC_MAGE)
|
||||
{
|
||||
htmltext = "30560-01a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (npc.getId() == USKA)
|
||||
{
|
||||
if (qs.getCond() >= 1)
|
||||
{
|
||||
htmltext = "30560-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((npc.getId() == KARUKIA) && (talker.getClassId() != ClassId.ORC_RAIDER))
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30570-01.html"; // Custom html
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((npc.getId() == GANTAKAI) && (talker.getClassId() != ClassId.ORC_MONK))
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30587-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ((npc.getId() == HESTUI) && (talker.getClassId() != ClassId.ORC_SHAMAN))
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "30585-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
2
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_monk.html
vendored
Normal file
2
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/a_monk.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Do you want to become an <font color="LEVEL">Orc Monc</font>? Then you need to talk to <font color="LEVEL">Gantaki Zu Urutu</font>. You can find him in the Orc Village near the store that sells <font color="LEVEL">weapons and armor</font>. I will send notice about your visit.<br>
|
@@ -0,0 +1,2 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Do you want to become an <font color="LEVEL">Orc Raider</font>? Then you need to talk to <font color="LEVEL">Prefect Karukia</font>. Go to the <font color="LEVEL">Royal Palace of the Orc Village</font>. I will send notice about your visit.<br>
|
@@ -0,0 +1,2 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
Do you want to become an<font color="LEVEL"> Orc Shaman</font>? Then you need to talk to <font color="LEVEL">Tataru Zu Hestui</font>. You can find him in the<font color="LEVEL"> Orc Village</font>. I will send notice about your visit.<br>
|
7
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/f_monk.html
vendored
Normal file
7
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/f_monk.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Class description - Orc Monks<br>
|
||||
<font color="LEVEL">Orc Monks</font> are mighty warriors who wants to be stronger not trough weapons, but trough the abilities of their own bodies.<br>
|
||||
Orc Monks alone can use Fist Weapons.<br>
|
||||
They wear Light Armor and actively fight in close combat. Depending on situation, they are able to fight long-range as well. They have a big reserve of health but comparatively low defense, that's why they need to kill enemies quickly.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs a_monk.html"> Say that you have decided</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02.htm"> Say that you want to think about it</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Class description - Raider<br>
|
||||
<font color="LEVEL">Orc Raiders</font> are elite warriors of Orc Race who have improved their mastery of martial arts to a perfection.<br>
|
||||
They prefer attacking and skillfully use various weapons. They can't use Magic Skills, however, under certain conditions, they are able to increase their attack or defense power, which helps them survive when situations are critical.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs a_raider.html"> Say that you have decided</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-02.htm"> Say that you want to think about it</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,8 @@
|
||||
<html><body>Class description - Orc Shaman:<br>
|
||||
<font color="LEVEL">Orc Shamans</font> bless warriors with the magic of a Fire God, increase their strengh and also cast various curses upon enemies.<br>
|
||||
Orc Shamans specialize in a magic that gives strengh to their allies and weakens enemies.<br>
|
||||
Most of their attack magical Skills deals periodic damage, that's why they can combine magical and physical attacks.<br>
|
||||
They deal less damage than Warriors, but can increase Physical Attack with Reinforcement Skills, which makes them more effective in combat.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs a_shaman.html">Say that you have decided</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10994_FutureOrcs 30560-01a.html">Say that you want to think about ir</Button><br>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
You ought to gain more experience. Come back later.<br>
|
||||
<font color="LEVEL">(This quest is available to characters of Level 19 or higher.)</font><br>
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/no-race.html
vendored
Normal file
4
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q10994_FutureOrcs/no-race.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Accessory Merchant Uska:<br>
|
||||
You are not an Orc. Get the hell out!
|
||||
<font color="LEVEL">(This quest is available to Orcs only.)</font><br>
|
||||
</body></html>
|
@@ -148,6 +148,7 @@ import quests.Q00662_AGameOfCards.Q00662_AGameOfCards;
|
||||
import quests.Q00933_ExploringTheWestWingOfTheDungeonOfAbyss.Q00933_ExploringTheWestWingOfTheDungeonOfAbyss;
|
||||
import quests.Q00935_ExploringTheEastWingOfTheDungeonOfAbyss.Q00935_ExploringTheEastWingOfTheDungeonOfAbyss;
|
||||
import quests.Q10993_FutureDwarves.Q10993_FutureDwarves;
|
||||
import quests.Q10994_FutureOrcs.Q10994_FutureOrcs;
|
||||
import quests.Q10995_MutualBenefit.Q10995_MutualBenefit;
|
||||
import quests.Q10996_TemplesDecorations.Q10996_TemplesDecorations;
|
||||
import quests.Q10997_LoserPriest1.Q10997_LoserPriest1;
|
||||
@@ -315,6 +316,7 @@ public class QuestMasterHandler
|
||||
Q00933_ExploringTheWestWingOfTheDungeonOfAbyss.class,
|
||||
Q00935_ExploringTheEastWingOfTheDungeonOfAbyss.class,
|
||||
Q10993_FutureDwarves.class,
|
||||
Q10994_FutureOrcs.class,
|
||||
Q10995_MutualBenefit.class,
|
||||
Q10996_TemplesDecorations.class,
|
||||
Q10997_LoserPriest1.class,
|
||||
|
Reference in New Issue
Block a user