Quest In Search of an Ancient Giant (10775).
Contributed by gigilo1968.
This commit is contained in:
parent
ea48372ceb
commit
88de3d28a0
7
trunk/dist/game/data/html/teleporter/30487-1.htm
vendored
Normal file
7
trunk/dist/game/data/html/teleporter/30487-1.htm
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>
|
||||
Ivory Tower Wizard Rombel:<br>
|
||||
The Steel Door Guild tops all Dwarven guilds in power and prestige. As such, it is our duty to aid adventures who work to restore peace unto this war-torn land. We will be happy to offer special assistance if you have Steel Door Guild Coins.<br>
|
||||
Well?<br>
|
||||
<button align="left" icon="NORMAL" action="bypass -h npc_%objectId%_Chat 2">"How do I use Steel Door Guild Coins?"</button>
|
||||
<button align="left" icon="NORMAL" action="bypass -h npc_%objectId%_Chat 3">"Here, I have some Steel Door Guild Coins."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/html/teleporter/30487-2.htm
vendored
Normal file
5
trunk/dist/game/data/html/teleporter/30487-2.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>
|
||||
Ivory Tower Wizard Rombel:<br>
|
||||
You can use Steel Door Guild Coins to purchase virious items. These items will be more than enough to help you on your journey.
|
||||
<button align="left" icon="RETURN" action="bypass -h npc_%objectId%_Chat 1">Back</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/html/teleporter/30487-3.htm
vendored
Normal file
6
trunk/dist/game/data/html/teleporter/30487-3.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>
|
||||
Ivory Tower Wizard Rombel:<br>
|
||||
You can purchase various items with Steel Door Guild Coins.<br>
|
||||
Well?<br>
|
||||
<button align="LEFT" icon="NORMAL" action="bypass -h npc_%objectId%_multisell 3386601">"I want to buy some things."</button>
|
||||
</body></html>
|
10
trunk/dist/game/data/html/teleporter/30487.htm
vendored
10
trunk/dist/game/data/html/teleporter/30487.htm
vendored
@ -1,6 +1,8 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
Cough, cough. Ugh, this place taking its toll on me, mentally and physically. Why did I ever let them send me here? If you know what's good for you, you'll turn right around and go back to the village. Cough... cough...<br>
|
||||
Let me tell you this one more time. The 3rd basement floor is the safest here. As you go up, it will get more dangerous.<br>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_goto 23">"Yes, please send me to the 2nd basement floor."</Button>
|
||||
<html><body>
|
||||
Ivory Tower Wizard Rombel:<br>
|
||||
Cough, cough. Ugh, this place it taking it's toll on me, mentally and physically. Why did I ever let them send me here? If you know what's good for you, you'll turn right around and go back to the village. Cough... Cough...<br>
|
||||
Let me tell you this again. This place is the least dangerous. As you go up, you'll face more dangers, so watch out!<br>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_goto 23">"I'd like to go to the 2nd basement floor."</Button>
|
||||
<button align="LEFT" icon="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"I want to use some Steel Door Guild Coins".</button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Ivory Tower Wizard Belkadhi:<br>
|
||||
This is a very dangerous place. Why have you come here?<br>
|
||||
But, you...I've never seen your kind before. My vision is very good, too. You're not an Elf.<br><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30485-02.html">"I am Ertheia."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Ivory Tower Wizard Belkadhi:<br>
|
||||
Ertheia?!<br>
|
||||
I heard they had all disappeared, it's a great honor to meet you. Why have you come to me?<br>
|
||||
I doubt you just decided to take a stroll over here. Is there something you wanted me to do?<br><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30485-03.html">"I want to restore a Broken Device."</Button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-03.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-03.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Ivory Tower Wizard Belkadhi:<br>
|
||||
A broken device? Are you thinking about meeting the Ancient Giant?<br>
|
||||
The giant is the most elusive creature of them all. It's highly more likely you will not get the information you desire from him. And he's much more dangerous than you think. But you're still determined?<br>
|
||||
Ha...Whatever it is, I see that it's pertinent that you find the Ancient Giant. I don't know what your intentions are, but please be warned that the Ancient Giant will not speak the truth.<br>
|
||||
Have you brought the Energy of Regeneration? Give it to me, and I'll repair the device for you.<br><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30485-04.html">"Here it is. Thank you for fixing it for me."</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-04.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30485-04.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Ivory Tower Wizard Belkadhi:<br>
|
||||
It won't be possible to perfectly restore the device. But, using the Energy of Regeneration, I can make a Regeneration Device Core, which will allow the device to function for a short while.<br>
|
||||
Even with the Regeneration Device Core, you won't be able to use the device for long. You'll only be able to have a short conversation.<br>
|
||||
Anyway, since you need to find the Ancient Giant, I will make the Regeneration Device Core. It's going to take awhile, so please wait.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-01.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
Cough...and who might you be? Being in a bad place for so long makes one see ghosts.<br>
|
||||
Wings...no, these aren't wings. Your ears look like wings. Wind energy...but, this is energy I've never felt before. Am I dreaming?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30487-02.htm">"I'm not a ghost. I'm Ertheia."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-02.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-02.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
Ertheia, you say? A member of Sayha's race? How are you here?<br>
|
||||
What's your reason for coming to see me? Cough...<br>
|
||||
I'm sorry. My health's not so great these days, so this cough just won't go away. Cough...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30487-03.htm">"Janssen recommended that I come here."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
Cough...Janssen?<br>Are you by any chance trying to find the Ancient Giant? Cough...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30487-04.htm">"Yes."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-04.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-04.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
If you were looking to find an Ancient Giant in Cruma Tower, then it's good that you've come to see me. Cough... I am the foremost expert in the methods of finding an Ancient Giant here in Cruma Tower.<br>
|
||||
There's a device on the 2nd floor of Cruma Tower that can help you find an Ancient Giant. Cough...but the device has been destroyed, so you'll have to repair it before using it.<br>
|
||||
If necessary, I will tell you how to repair it.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10775_InSearchOfAnAncientGiant 30487-05.html">"Tell me how to repair it."</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-05.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
Cough, great!<br>
|
||||
Go to <font color="LEVEL">Cruma Tower: Underground Lv. 2</font>. Repair the device by collecting <font color="LEVEL">20</font> <font color="LEVEL">Energies of Generation</font> by slaying <font color="LEVEL">Dark Lord, Dark Knight, Soldier of Darkness, Ossiud, Perum, Liangma, Achelando, Styrindo, and Ashende.</font><br>
|
||||
But, there's another expert who specializes in repairing magic devices. Once you've collected all your Energies of Generation, go to <font color="LEVEL">Ivory Tower Wizard Belkadhi</font> on <font color="LEVEL">the same floor</font>.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-06.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/30487-06.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
I think you have enough Energy of Regeneration. Go to <font color="LEVEL">Ivory Tower Wizard Belkadhi</font> now.
|
||||
</body></html>
|
@ -0,0 +1,163 @@
|
||||
/*
|
||||
* 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.Q10775_InSearchOfAnAncientGiant;
|
||||
|
||||
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.holders.ItemHolder;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
|
||||
/**
|
||||
* In Search of an Ancient Giant (10775)
|
||||
* @URL https://l2wiki.com/In_Search_of_an_Ancient_Giant
|
||||
* @author Gigi
|
||||
*/
|
||||
public class Q10775_InSearchOfAnAncientGiant extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int RAMBEL = 30487;
|
||||
private static final int BELKADHI = 30485;
|
||||
// Monsters
|
||||
private static final int[] MONSTERS =
|
||||
{
|
||||
20753, // Dark Lord
|
||||
20754, // Dark Knight
|
||||
21040, // Soldier of Darkness
|
||||
21037, // Ossiud
|
||||
20221, // Perum
|
||||
21038, // Liangma
|
||||
23153, // Achelando
|
||||
23154, // Styrindo
|
||||
23155, // Ashende
|
||||
};
|
||||
// Items
|
||||
private static final ItemHolder STEEL_DOOR_GUILD = new ItemHolder(37045, 46);
|
||||
private static final ItemHolder EAC = new ItemHolder(952, 9);
|
||||
private static final int ENERGY_OF_REGENERATION = 39715;
|
||||
// Reward
|
||||
private static final int EXP_REWARD = 2342300;
|
||||
private static final int SP_REWARD = 562;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 46;
|
||||
|
||||
public Q10775_InSearchOfAnAncientGiant()
|
||||
{
|
||||
super(10775, Q10775_InSearchOfAnAncientGiant.class.getSimpleName(), "In Search of an Ancient Giant");
|
||||
addStartNpc(RAMBEL);
|
||||
addTalkId(RAMBEL, BELKADHI);
|
||||
registerQuestItems(ENERGY_OF_REGENERATION);
|
||||
addKillId(MONSTERS);
|
||||
addCondMinLevel(MIN_LEVEL, "noLevel.html");
|
||||
addCondRace(Race.ERTHEIA, "noErtheia.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = event;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
switch (event)
|
||||
{
|
||||
case "30487-02.htm":
|
||||
case "30487-03.htm":
|
||||
case "30487-04.htm":
|
||||
case "30485-02.htm":
|
||||
case "30485-03.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30487-05.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
qs.set(Integer.toString(ENERGY_OF_REGENERATION), 0);
|
||||
break;
|
||||
}
|
||||
case "30485-04.html":
|
||||
{
|
||||
addExpAndSp(player, EXP_REWARD, SP_REWARD);
|
||||
giveItems(player, STEEL_DOOR_GUILD);
|
||||
giveItems(player, EAC);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case RAMBEL:
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = "30487-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
if (qs.getCond() > 0)
|
||||
{
|
||||
htmltext = "30487-06.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BELKADHI:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30485-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
if (giveItemRandomly(killer, npc, ENERGY_OF_REGENERATION, 1, 20, 0.2, true))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
3
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/noErtheia.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/noErtheia.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
This quest is only for Ertheia class.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/noLevel.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10775_InSearchOfAnAncientGiant/noLevel.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Ivory Tower Wizard Rombel:<br>
|
||||
This mission will be too hard for you. Don't be disappointed. Once you have grown a little more, please come back<br>
|
||||
(You must be level 46 or above to start this quest.)
|
||||
</body></html>
|
@ -294,6 +294,7 @@ import quests.Q10769_LettersFromTheQueen_CrumaTower.Q10769_LettersFromTheQueen_C
|
||||
import quests.Q10770_InSearchOfTheGrail.Q10770_InSearchOfTheGrail;
|
||||
import quests.Q10771_VolatilePower.Q10771_VolatilePower;
|
||||
import quests.Q10772_ReportsFromCrumaTowerPart1.Q10772_ReportsFromCrumaTowerPart1;
|
||||
import quests.Q10775_InSearchOfAnAncientGiant.Q10775_InSearchOfAnAncientGiant;
|
||||
import quests.Q10782_LettersFromTheQueen_ForsakenPlains.Q10782_LettersFromTheQueen_ForsakenPlains;
|
||||
import quests.Q10785_LettersFromTheQueen_FieldsOfMassacre.Q10785_LettersFromTheQueen_FieldsOfMassacre;
|
||||
import quests.Q10789_LettersFromTheQueen_SwampOfScreams.Q10789_LettersFromTheQueen_SwampOfScreams;
|
||||
@ -583,6 +584,7 @@ final class QuestMasterHandler
|
||||
Q10770_InSearchOfTheGrail.class,
|
||||
Q10771_VolatilePower.class,
|
||||
Q10772_ReportsFromCrumaTowerPart1.class,
|
||||
Q10775_InSearchOfAnAncientGiant.class,
|
||||
Q10782_LettersFromTheQueen_ForsakenPlains.class,
|
||||
Q10785_LettersFromTheQueen_FieldsOfMassacre.class,
|
||||
Q10789_LettersFromTheQueen_SwampOfScreams.class,
|
||||
|
Loading…
Reference in New Issue
Block a user