Quest Red Thread of Fate (10385).
Contributed by Stayway.
This commit is contained in:
parent
89928b91e7
commit
3576fb4454
13
trunk/dist/db_installer/sql/game/spawnlist.sql
vendored
13
trunk/dist/db_installer/sql/game/spawnlist.sql
vendored
@ -48300,7 +48300,7 @@ INSERT INTO `spawnlist` VALUES
|
||||
-- Rizraell
|
||||
("Arcan", 1, 30361, 204997, 88138, -1000, 0, 0, 4347, 60, 0, 0, 0),
|
||||
-- Nerupa
|
||||
("Fairy Settlement", 0, 30370, 215678, 80911, 826, 0, 0, 38971, 0, 0, 0, 0),
|
||||
('Arcan', 1, 30370, 215654, 80868, 826, 0, 0, 38012, 60, 0, 0, 0),
|
||||
-- Kasiel
|
||||
("Arcan", 1, 31358, 204980, 88166, -1000, 0, 0, 6321, 60, 0, 0, 0),
|
||||
-- Adventure Guildsman
|
||||
@ -49663,3 +49663,14 @@ INSERT INTO `spawnlist` VALUES
|
||||
('Windmill Hill', '1', '20030', '-72174', '169956', '-3570', '0', '0', '14539', '60', '0', '0', '0'),
|
||||
('Windmill Hill', '1', '20030', '-71892', '170032', '-3566', '0', '0', '2745', '60', '0', '0', '0'),
|
||||
('Windmill Hill', '1', '20030', '-71673', '169741', '-3565', '0', '0', '55881', '60', '0', '0', '0');
|
||||
|
||||
-- Lanya
|
||||
INSERT INTO `spawnlist` VALUES ('Graden of Eva', '1', '33783', '82627', '241562', '-6719', '0', '0', '15689', '60', '0', '0', '0');
|
||||
-- Water Source
|
||||
INSERT INTO `spawnlist` VALUES ('Garden of Eva', '1', '33784', '82663', '252066', '-7649', '0', '0', '50713', '60', '0', '0', '0');
|
||||
-- Altar of Shilen
|
||||
INSERT INTO `spawnlist` VALUES ('Dark Elf', '1', '33785', '28993', '11034', '-4232', '0', '0', '32024', '60', '0', '0', '0');
|
||||
-- Paagrio Temple
|
||||
INSERT INTO `spawnlist` VALUES ('Orc Village', '1', '33787', '-52081', '-113605', '-86', '0', '0', '2280', '60', '0', '0', '0');
|
||||
-- Cave of Souls
|
||||
INSERT INTO `custom_spawnlist` VALUES ('Cave of Souls', '1', '33789', '-122910', '38135', '1434', '0', '0', '63714', '60', '0', '0', '0');
|
12
trunk/dist/game/data/html/help/36072.htm
vendored
Normal file
12
trunk/dist/game/data/html/help/36072.htm
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<html><body>Mysterious Letter:<br>
|
||||
One blessed with a power long<br1>
|
||||
hidden... misguided in your delight to awaken to a world free of the yoke of the gods,
|
||||
for your awakening will prove to be new yoke in itself.<br>
|
||||
Only with your own strength may you cast away that yoke again... follow the lead of one who is bound to you by the Red Thread of Fate.<br>
|
||||
<font color="LEVEL">The Clearest Water,</font><br1>
|
||||
<font color="LEVEL">The Brightest Light,</font><br1>
|
||||
<font color="LEVEL">The Fiercest Flame,</font><br1>
|
||||
<font color="LEVEL">The Fondest Heart Flame,</font><br>
|
||||
- collect these at, and bring them to the <font color="LEVEL">Place of Fondest Memories.</font><br>
|
||||
Take the Red Threat of Fate in your hands, and set off to find the Clearest Water. Go to Eva's Temple in <font color="LEVEL">Heine</font> and ask <font color=LEVEL">High Priestess Murelyn</font> for directions.
|
||||
</body></html>
|
17
trunk/dist/game/data/instances/TalkingIsland.xml
vendored
Normal file
17
trunk/dist/game/data/instances/TalkingIsland.xml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<instance name="TalkingIsland" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/instance.xsd">
|
||||
<activityTime val="60" />
|
||||
<allowSummon val="false" />
|
||||
<emptyDestroyTime val="30" />
|
||||
<exitPoint x="-19006" y="277065" z="-13383"/>
|
||||
<spawnlist>
|
||||
<group name="general">
|
||||
<spawn npcId="33748" x="210584" y="13256" z="-3754" heading="0" respawn="0" />
|
||||
<spawn npcId="33749" x="210312" y="13768" z="-3754" heading="0" respawn="0" />
|
||||
<spawn npcId="30031" x="210344" y="16024" z="-3748" heading="0" respawn="0" />
|
||||
</group>
|
||||
<group name="dark">
|
||||
<spawn npcId="33751" x="209372" y="15037" z="-3729" heading="0" respawn="0" />
|
||||
</group>
|
||||
</spawnlist>
|
||||
</instance>
|
@ -55,6 +55,7 @@ import instances.NornilsGarden.NornilsGarden;
|
||||
import instances.PailakaDevilsLegacy.PailakaDevilsLegacy;
|
||||
import instances.PailakaSongOfIceAndFire.PailakaSongOfIceAndFire;
|
||||
import instances.SanctumOftheLordsOfDawn.SanctumOftheLordsOfDawn;
|
||||
import instances.TalkingIsland.TalkingIsland;
|
||||
|
||||
/**
|
||||
* Instance class-loader.
|
||||
@ -102,6 +103,7 @@ final class InstanceLoader
|
||||
PailakaDevilsLegacy.class,
|
||||
PailakaSongOfIceAndFire.class,
|
||||
SanctumOftheLordsOfDawn.class,
|
||||
TalkingIsland.class,
|
||||
};
|
||||
|
||||
public static void main(String[] args)
|
||||
|
4
trunk/dist/game/data/scripts/instances/TalkingIsland/30031-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/instances/TalkingIsland/30031-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Biotin:<br>
|
||||
You have traveled afair. It was to see me, was it not? Then speak. All is well under the blessings of Einhasad, Goodess of Light.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland">"Well then, ok. I came from the future."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/instances/TalkingIsland/30031-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/instances/TalkingIsland/30031-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Biotin:<br>
|
||||
The future, you say? I was given no such word, and I am the High Priest of Einhasad. If you are here to give me wisdom from the future. I should have been made aware of Einhasad's will.<br>
|
||||
Oh, do not look so crestfallen. It is not that I disbelieve what you say. So come, tell me. what has happened where you come from?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland 30031-03.html">"The Goddess of Destruction is awakened."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/instances/TalkingIsland/30031-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/instances/TalkingIsland/30031-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Biotin:<br>
|
||||
Goddess of...Destruction? That cannot be. Shilen was sealed away by Einhasad, Goddess of Light!<br>
|
||||
This is quiet, peaceful village. Please do not speak of such things to the people here.
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-01.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-01.htm
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
Hello, %charname%. Or shall I call you One with the Power of the Giants?<br>
|
||||
I've been waiting for you.<br>
|
||||
No need to look surprised. I was visited by a <font color="LEVEL">Mysterious Dark Knight</font> the other day.<br>
|
||||
He left me a letter for someone who would appear before me with the power of the Giants. Ring a bell?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33491-02.htm">"Um. So what's the letter about?"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-02.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-02.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
He said the letter was of grave importance and not everyone. One who reads the letter is fated to be led by the <font color="LEVEL">Red Thread od Fate</font>.<br>
|
||||
So, are you sure you want to read this letter?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33491-03.htm">"Yes. I can't back out now."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
Here it is.<br>
|
||||
I haven't read it. The Mysterious Dark Knight said the letter outlines everything you must do.<br>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33491-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
I have nothing more to tell you.<br>
|
||||
The Mysterious Dark Knight told me that everything you need to know is written in the <font color="LEVEL">Mysterious Letter</font>.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33748-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33748-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Darin:<br>
|
||||
You don't seem to be from around here. Are you a traveller? Perhaps wandering the world with your loved one waiting from home?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland">"This is... really Talking Island Village? I'm not mistaken?"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33748-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33748-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Darin:<br>
|
||||
Why of course. This is the Talking Island Village, home of warm sunlight and gentle winds.<br>
|
||||
It's a place of peace and beauty!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland 33748-03.html">"That is not true. The Talking Island Village of the past has been destroyed."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33748-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/instances/TalkingIsland/33748-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Darin:<br>
|
||||
The village is untouched, as you can see.<br>
|
||||
<font color="LEVEL">Roxxy</font> has been worrying about ominous winds lately, and she doesn't need strangers coming in here spreading unlucky rumors. Get out!<br>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33749-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33749-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Roxxy:<br>
|
||||
You smell of faraway lands Strange... where did you come from?<br>
|
||||
Don't try to lie to me. There have been ominous winds lately... tell me. Who has sent you here?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland">"Well then, ok. I came from the future."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/instances/TalkingIsland/33749-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/instances/TalkingIsland/33749-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Roxxy:<br>
|
||||
The future, huh? Very funny.<br>
|
||||
The Ivory Tower has been on edge too lately, with the ominous winds and all. You try to use this chance to spread rumors, and you'll regret it!<br>
|
||||
You didn't say anything strange to Darin too, did you? I'm gonna get real angry if you did!<br>
|
||||
If you really did come from the future as you say, why don't you go see <font color="LEVEL">High Priest Biotin</font>?<br>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/instances/TalkingIsland/33751-01.html
vendored
Normal file
7
trunk/dist/game/data/scripts/instances/TalkingIsland/33751-01.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Mysterious Dark Knight:<br>
|
||||
Ye bound by the Red Thread of Fate...<br>
|
||||
So you have been following the pull of your destiny. Lighting Shilen's darkness, breathing life to the dying Mother Tree, filling the emptiness in Kamaels' hearts... the flame you lit at the Pa'agrio Temple will go to touch the Orcs with that person's fond heart.<br>
|
||||
Your part is done. Now return, and march onward toward your destiny.<br>
|
||||
Do not forget what you have seen here - you shall never see this place again.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland">"Wait, what person?"</button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/instances/TalkingIsland/33751-02.html
vendored
Normal file
7
trunk/dist/game/data/scripts/instances/TalkingIsland/33751-02.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Mysterious Dark Knight:<br>
|
||||
The person bound to you through the Red Thread of Fate...<br>
|
||||
Perhaps you have met. Perhaps you haven't.<br>
|
||||
This world no longer exists. You cannot linger.<br>
|
||||
Go back to your world.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland 33751-03.html">"Wait, please. I want to know more."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33751-03.html
vendored
Normal file
5
trunk/dist/game/data/scripts/instances/TalkingIsland/33751-03.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Mysterious Dark Knight:<br>
|
||||
This world no longer exists. You cannot stay here any longer.<br>
|
||||
Go back to your world.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TalkingIsland exit">"Wait, please. I need some details."</button>
|
||||
</body></html>
|
250
trunk/dist/game/data/scripts/instances/TalkingIsland/TalkingIsland.java
vendored
Normal file
250
trunk/dist/game/data/scripts/instances/TalkingIsland/TalkingIsland.java
vendored
Normal file
@ -0,0 +1,250 @@
|
||||
/*
|
||||
* 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 instances.TalkingIsland;
|
||||
|
||||
import com.l2jmobius.gameserver.instancemanager.InstanceManager;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
import com.l2jmobius.gameserver.model.instancezone.InstanceWorld;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.model.skills.Skill;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
import instances.AbstractInstance;
|
||||
import quests.Q10385_RedThreadOfFate.Q10385_RedThreadOfFate;
|
||||
|
||||
/**
|
||||
* @author Stayway
|
||||
*/
|
||||
public class TalkingIsland extends AbstractInstance
|
||||
{
|
||||
// NPCs
|
||||
private static final int DARK_KNIGHT = 33751;
|
||||
private static final int DARIN = 33748;
|
||||
private static final int ROXXY = 33749;
|
||||
private static final int BIOTIN = 30031;
|
||||
private static final int MOTHER_TREE = 33786;
|
||||
// Skill
|
||||
private static final SkillHolder NPC_TREE = new SkillHolder(9579, 1);
|
||||
// Locations
|
||||
private static final Location START_LOC = new Location(210705, 13259, -3754);
|
||||
private static final Location EXIT_LOC = new Location(-113647, 246016, -3696);
|
||||
// Instance
|
||||
private static final int TEMPLATE_ID = 241;
|
||||
|
||||
class TIWorld extends InstanceWorld
|
||||
{
|
||||
L2Npc dark = null;
|
||||
}
|
||||
|
||||
public TalkingIsland()
|
||||
{
|
||||
super(TalkingIsland.class.getSimpleName());
|
||||
addTalkId(DARIN, ROXXY, BIOTIN, DARK_KNIGHT);
|
||||
addFirstTalkId(DARIN, ROXXY, BIOTIN, DARK_KNIGHT);
|
||||
addSkillSeeId(MOTHER_TREE);
|
||||
addSpawnId(DARK_KNIGHT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final TIWorld world = (TIWorld) InstanceManager.getInstance().getWorld(npc.getInstanceId());
|
||||
final QuestState qs = player.getQuestState(Q10385_RedThreadOfFate.class.getSimpleName());
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "33751-03.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30031-03.html":
|
||||
{
|
||||
if (qs.isCond(20) && (player.getInstanceId() == world.getInstanceId()))
|
||||
{
|
||||
qs.setCond(21);
|
||||
spawnGroup("dark", world.getInstanceId());
|
||||
showOnScreenMsg(player, NpcStringId.GO_OUTSIDE_THE_TEMPLE, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
final double distance = npc.calculateDistance(player, false, false);
|
||||
if ((distance <= 200))
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.A_MYSTERIOUS_DARK_KNIGHT_IS_HERE, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
}
|
||||
return "30031-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33751-02.html":
|
||||
{
|
||||
if (qs.isCond(21))
|
||||
{
|
||||
return "33751-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33748-03.html":
|
||||
{
|
||||
if (qs.isCond(19))
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.SPEAK_WITH_ROXXY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "exit":
|
||||
{
|
||||
qs.setCond(22);
|
||||
{
|
||||
teleportPlayer(player, EXIT_LOC, 0);
|
||||
player.showQuestMovie(75);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = player.getQuestState(Q10385_RedThreadOfFate.class.getSimpleName());
|
||||
String htmltext = null;
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DARIN:
|
||||
{
|
||||
if (qs.isCond(19))
|
||||
{
|
||||
htmltext = "33748-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROXXY:
|
||||
{
|
||||
if (qs.isCond(19))
|
||||
{
|
||||
qs.setCond(20);
|
||||
htmltext = "33749-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BIOTIN:
|
||||
{
|
||||
if (qs.isCond(20))
|
||||
{
|
||||
htmltext = "30031-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DARK_KNIGHT:
|
||||
{
|
||||
if (qs.isCond(21))
|
||||
{
|
||||
htmltext = "33751-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = player.getQuestState(Q10385_RedThreadOfFate.class.getSimpleName());
|
||||
String htmltext = null;
|
||||
if ((qs != null))
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DARIN:
|
||||
{
|
||||
if (qs.isCond(19))
|
||||
{
|
||||
htmltext = "33748-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROXXY:
|
||||
{
|
||||
if (qs.isCond(19))
|
||||
{
|
||||
htmltext = "33749-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BIOTIN:
|
||||
{
|
||||
if (qs.isCond(20))
|
||||
{
|
||||
htmltext = "30031-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DARK_KNIGHT:
|
||||
{
|
||||
if (qs.isCond(21))
|
||||
{
|
||||
htmltext = "33751-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSkillSee(L2Npc npc, L2PcInstance player, Skill skill, L2Object[] targets, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = player.getQuestState(Q10385_RedThreadOfFate.class.getSimpleName());
|
||||
if ((qs != null) && qs.isCond(19))
|
||||
{
|
||||
final Skill npcDefault = NPC_TREE.getSkill();
|
||||
castSkill(npc, player, npcDefault);
|
||||
}
|
||||
{
|
||||
enterInstance(player, new TIWorld(), "TalkingIsland.xml", TEMPLATE_ID);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnterInstance(L2PcInstance player, InstanceWorld world, boolean firstEntrance)
|
||||
{
|
||||
if (firstEntrance)
|
||||
{
|
||||
world.addAllowed(player.getObjectId());
|
||||
}
|
||||
teleportPlayer(player, START_LOC, world.getInstanceId());
|
||||
}
|
||||
}
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30031-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30031-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Biotin:<br>
|
||||
You have traveled afair. It was to see me, was it not? Then speak. All is well under the blessings of Einhasad, Goodess of Light.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30031-02.html">"Well then, ok. I came from the future."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30031-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30031-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Biotin:<br>
|
||||
The future, you say? I was given no such word, and I am the High Priest of Einhasad. If you are here to give me wisdom from the future. I should have been made aware of Einhasad's will.<br>
|
||||
Oh, do not look so crestfallen. It is not that I disbelieve what you say. So come, tell me. what has happened where you come from?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30031-03.html">"The Goddess of Destruction is awakened."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30031-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30031-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Biotin:<br>
|
||||
Goddess of...Destruction? That cannot be. Shilen was sealed away by Einhasad, Goddess of Light!<br>
|
||||
This is quiet, peaceful village. Please do not speak of such things to the people here.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30166-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30166-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Magic Trader Wesley:<br>
|
||||
Seriously. it's not fair. Sure, he once got me some materials I needed, but only once! And long ago, too. Now he thinks I'm his errand boy!<br>
|
||||
I will send you to him with my spellbook, but... when you see him, please tell him to stop harassing me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30166-02.html">"Will do. Take me to him"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30166-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30166-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Magic Trader Wesley:<br>
|
||||
Hm? What do you need from me?<br>
|
||||
Are you here to ask me for a favor related to Vulcan?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate tp_vulcan">"Please send me to Vulcan."</button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30166-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30166-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Magic Trader Wesley:<br>
|
||||
Be sure to tell him what I said! Don't forget!
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-01.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Nerupa:<br>
|
||||
Arms of Timiniel...reminds you of the Mother Tree, doesn't it? Isn't it a bit similar to siting beneath her boughs?<br>
|
||||
Why are you here, anyway? To reminisce about the Mother Tree as well?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30370-02.html">"I'm actually here to find the Brightest Light."</button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate tutorial_close">"close"</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Nerupa:<br>
|
||||
The Brightest Light?<br1>
|
||||
How did you know I have that?<br>
|
||||
Wait, did you...talk to people? Like, ahem, a dark knight, or...a blond woman, for example?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30370-03.html">"No, just a lady at a lake."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Nerupa:<br>
|
||||
Lady...of the lake.<br1>
|
||||
I see. Must be linked somehow to the main in the dark armor that came by. Oh, stop it with the puppy-dog eyes. I'm sure you'll get to meet him someday too.<br>
|
||||
Here, I'll give you what you've been looking for. But you might forget all about this light once you see the <font color="LEVEL">Purest Soul</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30370-04.html">"The what soul?"</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-04.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30370-04.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Nerupa:<br>
|
||||
You heard me. There used to be a building housing the gems of a saint called Enfeux. Now, what purer ensemble of souls than the gems of a saint? Though I did hear that Enfeux has shattered with only parts remaining.<br>
|
||||
I see. Must be linked somehow to the main in the dark armor that came by. Oh, stop it with the puppy-dog eyes. I'm sure you'll get to meet him someday too.<br>
|
||||
Well, if you're interested, go to the <font color="LEVEL">Valley of Saints</font> to look for the remaining <font color="LEVEL">Enfeux</font>.<br>
|
||||
Use the <font color="LEVEL">Scroll of Escape: Valley of Saints</font> I gave you.
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30925-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30925-01.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>High Priestess Morelyn:<br>
|
||||
I've been waiting for you. A <font color="LEVEL">Mysterious Dark Knight</font> had come to see me some time ago. He looked dressed in some water... err, um. Never mind. I'm just talking to myself.<br>
|
||||
Anyway, this knight told me that one day I'd be visited by someone with a letter from him, someone who commands the power of the Giants.<br>
|
||||
So, what do you want ask me?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 30925-02.html">"I am looking for the Clearest Water."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30925-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30925-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>High Priestess Morelyn:<br>
|
||||
The Clearest Water? Well, if Heine didn't have it, what city would? At least that's the theory. But we've had some Blood Rain since Shilen's Moon rose...<br>
|
||||
But! There may should be some in the darkest depths of the Garden of Eva.<br>
|
||||
You will see <font color="LEVEL">Eva's Spirit Lanya</font> at the entrance to the <font color="LEVEL">Garden of Eva</font>. She will guide you.<br>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30925-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/30925-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priestess Morelyn:<br>
|
||||
What are you still here?<br>
|
||||
I've already answered your question. Go to <font color="LEVEL">Eva's Spirit Lanya</font> at the entrance to the <font color="LEVEL">Garden of Eva</font>.<br>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31149-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31149-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Alchemist's Mixing Urn:<br>
|
||||
It's hard to figure out what makes this jar so special. But start the process of making Mimir's Elixir<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31149-02.html">"I guess I'll put all the ingredients inside."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31149-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31149-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Alchemist's Mixing Urn:<br>
|
||||
There was a buzzing sound, but it's now gone.<br>
|
||||
You looked into the jar, but couldn't find any ingredients of Mimir's Elixir.<br>
|
||||
Go back to the Blacksmith of Flame, Vulcan, through <font color="LEVEL">Magic Trader Wesley</font> in the back.
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31328-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31328-01.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>High Priest Innocentin:<br>
|
||||
I was visited by a <font color="LEVEL">Mysterious Dark Knight</font> one day.<br>
|
||||
I am now but an empty vessel deaf to the voice of the gods, but even I could tell that this knight -- donned in dark armor from head to toe and holding a great sword -- was no ordinary warmonger.<br>
|
||||
He said that the one with the purest intentions should come to me, then I should tell them about the Fiercest Flame.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31328-02.html">"Who is this Mysterious Dark Knight?"</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31328-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31328-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Innocentin:<br>
|
||||
This is all I am permitted to say. You will meet the knight too, one day.<br>
|
||||
You can get the <font color="LEVEL">Fiercest Flame</font> from the <font color="LEVEL">Blacksmith of Flame Vulcan</font> at the <font color="LEVEL">Forge of the Gods</font>.<br>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31328-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31328-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Innocentin:<br>
|
||||
You can get the <font color="LEVEL">Fiercest Flame</font> from the <font color="LEVEL">Blacksmith of Flame Vulcan</font> at the <font color="LEVEL">Forge of the Gods</font>.<br>
|
||||
You can use <font color="LEVEL">Scroll of Escape: Forge of the Gods</font> to go to Vulcan.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31519-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31519-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Enfeux:<br>
|
||||
You feel a hint of holy energy. Perhaps a part of the gem still remains?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31519-02.html">Take a look at Enfeux</button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31519-02.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31519-02.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Enfeux:<br>
|
||||
You found a gem that contains the Purest Soul. Return to the nearest town, the <font color="LEVEL">Town of Rune</font>, and ask <font color="LEVEL">High Priest Innocentin</font> at Einhansed Temple about the gem.<br>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
I am Vulcan, the great Blacksmith of the Flame. What brought you here?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31539-02.html">"I am looking for the Fiercest Flame"</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
The... the Fiercest Flame?<br1>
|
||||
Where did you hear that? Of course I have it. Well, if you want it, I can give it to you. It's actually not the ultimated I wanted.<br>
|
||||
Regardless, there is no such thing as a free lunch. If you do me a favor, I might consider giving it to you...
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31539-03.html">"What can I do for you?"</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
Have you heard of Mimir's Elixir? It's an elixir invented by Mimir, the greatest wizard during the age of Lesser Giants. It is the source of life that gods used when creating the 5 races.
|
||||
With this invention of Mimir's, giants gained the power needed to create life itself.<br>
|
||||
This is... just between you and I. I actually have the ingredientes for Mimir's Elixir. But you can only make it with a special jar in the <font color="LEVEL">Ivory Tower</font>. If you go make it, I will give you what you want!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31539-04.html">I will go make it"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-04.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-04.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
Here are the ingredients for Mimir's Elixir.<br>
|
||||
Go to the <font color="LEVEL">basement floor of the Ivory Tower where all the shops are</font>, and you will see an <font color="LEVEL">Alchemist's Mixing Urn</font>. Put in all ingredients I gave you and mix them.<br>
|
||||
On you way back here, tell <font color="LEVEL">Magic Trader Wesley</font> that I sent you. Then he will send you back here with his scroll. I have been giving him a ton of good stuff.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-05.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
So, you made Mimir's Elixir?<br>
|
||||
Show me! I am so curious.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31539-06.html">It failed. All the ingredients are gone"</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-06.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-06.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
F... failed? No! They were the right ingredients... Oh my... I can't give up like this! Let me get the ingredients.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31539-07.html">"The Fiercest Flame is..."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-07.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-07.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
Ah, I totally forgot about that. But... I always keep my word.<br>
|
||||
I always keep my word. Let me give you the Fiercest Flame. But... I have another favor to ask of you. I can't bring my beloved wife back to life.
|
||||
So, can you bury my letter in the <font color="LEVEL">Dwarven Village</font> for my poor wife who was killed by the Earth Wyrm?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31539-08.html">Yes, I can</button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-08.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31539-08.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Vulcan, Blacksmith of the Flame:<br>
|
||||
It's a bit embarrassing, but I wrote a poem in my letter for my wife. The title is <font color="LEVEL">The Fondest Heart</font>. Don't look at me like that!<br>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Lady of the Lake:<br>
|
||||
It has been long since I have seen a visitor here. Serene, is it not? The march of time comes to a standstill when you are lost in these sparking waters.<br>
|
||||
But surely you are not here to watch the waters for eternety. What has brought you here?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31745-02.html">"I scooped water from the Garden of Eva, and the next thing I knew... I was here."</button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-02.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-02.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Lady of the Lake:<br>
|
||||
I see. You must have the water then? Oh, you seem surprised to see me unfazed. But...have you heard of the <font color="LEVEL">Red Thread of Fate</font>? Every happening in this world
|
||||
is entwined in it. It is no surprise to me that you have suddenly show up here.<br>
|
||||
So, the water. Would you be so kind as to give it to me? I have been here a long time, and miss that place.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31745-03.html">"Here it is."</button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31745-04.html">"Hey...this wasn't easy to get, you know."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-03.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Lady of the Lake:<br>
|
||||
Thank you. How do you like lake's waters? The sparkle under sunlight is truly breathtaking. I wonder if the <font color="LEVEL">Brightest Light</font> held by <font color="LEVEL">Nerupa</font> looks something like this.
|
||||
I heard that Nerupa has left the Mother Tree to go to the <font color="LEVEL">Arms of Timiniel</font> in Magmeid. Which makes sense, as Magmeid is the only place where the Red Moon does not rise.<br>
|
||||
"But...he must also miss his old home, right?"<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 31745-06.html">"Help me meet Nerupa, please!"</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Lady of the Lake:<br>
|
||||
I see. I guess not, then...<br>
|
||||
If you ever change your mind, perhaps I will see you again.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-05.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Lady of the Lake:<br>
|
||||
And take this. It's the water you have shared with me.<br>
|
||||
May you always be safe from harm.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-06.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/31745-06.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Lady of the Lake:<br>
|
||||
I will help you, seeing as you have shared with me the fruit of your labor. I can't send you straight to Nerupa, but...I can send you to Anghel Waterfall. You can go straight to Magmeid through Gatekeeper Sookie inside the cave.<br>
|
||||
Ask Sookie to send you to the Arms of Timiniel.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate TP3">"Will do, thank you!."</button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-01.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-01.htm
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
Hello, %charname%. Or shall I call you One with the Power of the Giants?<br>
|
||||
I've been waiting for you.<br>
|
||||
No need to look surprised. I was visited by a <font color="LEVEL">Mysterious Dark Knight</font> the other day.<br>
|
||||
He left me a letter for someone who would appear before me with the power of the Giants. Ring a bell?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33491-02.htm">"Um. So what's the letter about?"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-02.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-02.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
He said the letter was of grave importance and not everyone. One who reads the letter is fated to be led by the <font color="LEVEL">Red Thread od Fate</font>.<br>
|
||||
So, are you sure you want to read this letter?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33491-03.htm">"Yes. I can't back out now."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
Here it is.<br>
|
||||
I haven't read it. The Mysterious Dark Knight said the letter outlines everything you must do.<br>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
I have nothing more to tell you.<br>
|
||||
The Mysterious Dark Knight told me that everything you need to know is written in the <font color="LEVEL">Mysterious Letter</font>.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-05.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
I've been waiting for you. The Mysterious Dark Knight came by again. And let left immediately after saying his piece, as always.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33491-06.html">"So what did he say?"</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-06.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33491-06.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Subclass/Dual Class Master Raina:<br>
|
||||
He said you would achieve what you desire, as you have once again grasped a thread of fate that connects you to the gods.<br>
|
||||
But remember this. So long as you are bound to the gods by the Red Thread of Fate, you will attain nothing beyond that.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33748-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33748-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Darin:<br>
|
||||
You don't seem to be from around here. Are you a traveller? Perhaps wandering the world with your loved one waiting from home?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33748-02.html">"This is... really Talking Island Village? I'm not mistaken?"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33748-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33748-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Darin:<br>
|
||||
Why of course. This is the Talking Island Village, home of warm sunlight and gentle winds.<br>
|
||||
It's a place of peace and beauty!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33748-03.html">"That is not true. The Talking Island Village of the past has been destroyed."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33748-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33748-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Darin:<br>
|
||||
The village is untouched, as you can see.<br>
|
||||
<font color="LEVEL">Roxxy</font> has been worrying about ominous winds lately, and she doesn't need strangers coming in here spreading unlucky rumors. Get out!<br>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33749-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33749-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Roxxy:<br>
|
||||
You smell of faraway lands Strange... where did you come from?<br>
|
||||
Don't try to lie to me. There have been ominous winds lately... tell me. Who has sent you here?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate 33749-02.html">"Well then, ok. I came from the future."</button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33749-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33749-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Roxxy:<br>
|
||||
The future, huh? Very funny.<br>
|
||||
The Ivory Tower has been on edge too lately, with the ominous winds and all. You try to use this chance to spread rumors, and you'll regret it!<br>
|
||||
You didn't say anything strange to Darin too, did you? I'm gonna get real angry if you did!<br>
|
||||
If you really did come from the future as you say, why don't you go see <font color="LEVEL">High Priest Biotin</font>?<br>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33783-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33783-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Spirit Lanya:<br>
|
||||
Wait... did the <font color="LEVEL">Mysterious Dark Knight</font> send you here? Well, whatever. I was excited to have a playmate, but he just said his piece and left
|
||||
immediately! So boring. Are you gonna be like that too? Just say whatever you want and leave?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate">"Uh, sort of? I actually want to go to the innermost depths of the Garden of Eva."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33783-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33783-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Eva's Spirit Lanya:<br>
|
||||
Ho ho ho, really now? Doesn't sound like a request to me.<br>
|
||||
Shouldn't you be, I don't know, a bit more polite?<br>
|
||||
(Press Alt+C to <font color="LEVEL">Bow to Lanya.)
|
||||
</body></html>
|
8
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33783-03.html
vendored
Normal file
8
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33783-03.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Eva's Spirit Lanya:<br>
|
||||
Well, if you insist.<br>
|
||||
But not directly to the innermost depths. I'll send you to a nearby area.<br>
|
||||
But one thing: at the foot of the hill leading to the innermost depths of Eva's Garden is Eva's Spirit Niniel.
|
||||
Get on her nerves and you won't be going anywhere. Got it?<br>
|
||||
All right, ready?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate TP1">"Yup, whenever you are."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33784-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33784-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Heine Water Source:<br>
|
||||
Clean-looking water.<br>
|
||||
Not sure, if this is the Clearest Water, but try scooping the water.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10385_RedThreadOfFate TP2">"I'll try scooping the water."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33785-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33785-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html>The Altar of Shilen:<br>
|
||||
The stone statue of Shilen stands before you, dark and foreboding despite its inanimate nature.<br>
|
||||
Try using the <font color="LEVEL">Brightest Light</font>.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33786-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33786-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html>Mother Tree:<br>
|
||||
The Mother Tree, withered up after the Blood Rain.<br>
|
||||
The wind seems to carry the weeping of the tree.<br>
|
||||
Try using the <font color="LEVEL">Clearest Water</font>.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33787-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33787-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html>Pa'agrio Temple:<br>
|
||||
Pa'agrio Temple. It's doors are sealed shut.<br>
|
||||
The Orcs have now lost their anchor in this wast world...<br>
|
||||
Try using the <font color="LEVEL">Fiercest Flame</font>.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33788-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33788-01.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Deserted Dwarven House:<br>
|
||||
Abandoned house at the Dwarven Village, destroyed by the Earth Wyrm.<br>
|
||||
Along with Talking Island Village, the Dwarven Village was the most severely damaged by the wakening of the Godedess of Destruction.<br>
|
||||
Bury the letter of the <font color="LEVEL">The Fondest Heart</font>.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33789-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/33789-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html>Cave of Souls:<br>
|
||||
Kamaels were created here before the waking of the Goddess of Destruction. The place is desolate now, with rocks crumbled down.<br>
|
||||
Try using the <font color="LEVEL">Purest Soul</font>.
|
||||
</body></html>
|
616
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/Q10385_RedThreadOfFate.java
vendored
Normal file
616
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/Q10385_RedThreadOfFate.java
vendored
Normal file
@ -0,0 +1,616 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* 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.Q10385_RedThreadOfFate;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.ChatType;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
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.model.skills.Skill;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.NpcSay;
|
||||
import com.l2jmobius.gameserver.util.Util;
|
||||
|
||||
import quests.Q10338_SeizeYourDestiny.Q10338_SeizeYourDestiny;
|
||||
|
||||
/**
|
||||
* Red Thread of Fate (10385)
|
||||
* @author Stayway
|
||||
*/
|
||||
public class Q10385_RedThreadOfFate extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int RAINA = 33491;
|
||||
private static final int MORELYN = 30925;
|
||||
private static final int LANYA = 33783;
|
||||
private static final int WATER_SOURCE = 33784;
|
||||
private static final int LADY_OF_THE_LAKE = 31745;
|
||||
private static final int NERUPA = 30370;
|
||||
private static final int ENFEUX = 31519;
|
||||
private static final int INNOCENTIN = 31328;
|
||||
private static final int VULCAN = 31539;
|
||||
private static final int URN = 31149;
|
||||
private static final int WESLEY = 30166;
|
||||
private static final int HOUSE = 33788;
|
||||
private static final int PAAGRIO_TEMPLE = 33787;
|
||||
private static final int SHILEN = 33785;
|
||||
private static final int SOULS = 33789;
|
||||
private static final int MOTHER_TREE = 33786;
|
||||
|
||||
// Items
|
||||
private static final int MYSTERIOUS_LETTER = 36072;
|
||||
private static final int WATER_GARDEN_OF_EVA = 36066;
|
||||
private static final int CLEAREST_WATER = 36067;
|
||||
private static final int BRIGHTEST_LIGHT = 36068;
|
||||
private static final int PUREST_SOUL = 36069;
|
||||
private static final int VULCAN_TRUE_GOLD = 36113;
|
||||
private static final int VULCAN_PURE_SILVER = 36114;
|
||||
private static final int VULCAN_BLOOD_FIRE = 36115;
|
||||
private static final int FIERCEST_FLAME = 36070;
|
||||
private static final int FONDEST_HEART = 36071;
|
||||
private static final int SCROLL_OF_ESCAPE_VOA = 39514;
|
||||
private static final int SCROLL_OF_ESCAPE_FOG = 39515;
|
||||
private static final int SCROLL_OF_ESCAPE_IT = 39516;
|
||||
private static final int SCROLL_OF_ESCAPE_DV = 40309;
|
||||
private static final int DIMENSIONAL_DIAMOND = 7562;
|
||||
// Monsters
|
||||
private static final int SHILEN_MESSENGER = 23151;
|
||||
// Locations
|
||||
private static final Location LANYA_LOC = new Location(79690, 251027, -10424, 0);
|
||||
private static final Location WATER_LOC = new Location(143218, 43916, -3024, 0);
|
||||
private static final Location WATERFALL_LOC = new Location(172458, 90314, -1984, 0);
|
||||
private static final Location VULCAN_LOC = new Location(180060, -111608, -5838, 0);
|
||||
// Social Action ID
|
||||
private static final int BOW = 7;
|
||||
// Instance Talking Island
|
||||
public static final int INSTANCE_ID = 241;
|
||||
// Skills
|
||||
private static final SkillHolder NPC_HOUSE = new SkillHolder(9583, 1);
|
||||
private static final SkillHolder NPC_PAAGRIO = new SkillHolder(9582, 1);
|
||||
private static final SkillHolder NPC_SHILEN = new SkillHolder(9580, 1);
|
||||
private static final SkillHolder NPC_SOULS = new SkillHolder(9581, 1);
|
||||
private static final SkillHolder NPC_TREE = new SkillHolder(9579, 1);
|
||||
|
||||
public Q10385_RedThreadOfFate()
|
||||
{
|
||||
super(10385, Q10385_RedThreadOfFate.class.getSimpleName(), "Red Thread of Fate");
|
||||
addStartNpc(RAINA);
|
||||
addTalkId(RAINA, MORELYN, LANYA, WATER_SOURCE, LADY_OF_THE_LAKE, NERUPA, ENFEUX, INNOCENTIN, VULCAN, URN, WESLEY, HOUSE, PAAGRIO_TEMPLE, SHILEN, SOULS, MOTHER_TREE);
|
||||
addFirstTalkId(LANYA, HOUSE, PAAGRIO_TEMPLE, SHILEN, SOULS, MOTHER_TREE);
|
||||
addSocialActionSeeId(LANYA);
|
||||
addSkillSeeId(HOUSE, PAAGRIO_TEMPLE, SHILEN, SOULS, MOTHER_TREE);
|
||||
registerQuestItems(MYSTERIOUS_LETTER, WATER_GARDEN_OF_EVA, CLEAREST_WATER, PUREST_SOUL, VULCAN_TRUE_GOLD, VULCAN_PURE_SILVER, VULCAN_BLOOD_FIRE, FIERCEST_FLAME, FONDEST_HEART, SCROLL_OF_ESCAPE_VOA, SCROLL_OF_ESCAPE_FOG, SCROLL_OF_ESCAPE_IT, SCROLL_OF_ESCAPE_DV);
|
||||
addKillId(SHILEN_MESSENGER);
|
||||
addSpawnId(SHILEN_MESSENGER);
|
||||
addCondNotRace(Race.ERTHEIA, "noRace.html");
|
||||
addCondCompletedQuest(Q10338_SeizeYourDestiny.class.getSimpleName(), "restriction.html");
|
||||
addCondMinLevel(85, "no_level.html");
|
||||
}
|
||||
|
||||
@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 "33491-02.htm":
|
||||
case "30370-02.html":
|
||||
case "31745-02.html":
|
||||
case "31539-02.html":
|
||||
case "30166-02.html":
|
||||
case "31539-03.html":
|
||||
case "30370-03.html":
|
||||
case "31745-04.html":
|
||||
case "31745-05.html":
|
||||
case "31745-06.html":
|
||||
case "31539-06.html":
|
||||
case "31539-07.html":
|
||||
case "33748-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33491-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, MYSTERIOUS_LETTER, 1);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33491-06.html":
|
||||
{
|
||||
giveItems(player, DIMENSIONAL_DIAMOND, 40);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30925-02.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2);
|
||||
}
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33783-02.html":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
qs.setCond(3);
|
||||
}
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "TP1":
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5);
|
||||
player.teleToLocation(LANYA_LOC, 0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "TP2":
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.setCond(6);
|
||||
player.teleToLocation(WATER_LOC, 0);
|
||||
giveItems(player, WATER_GARDEN_OF_EVA, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31745-03.html":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
takeItems(player, WATER_GARDEN_OF_EVA, 1);
|
||||
}
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "TP3":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
qs.setCond(7);
|
||||
player.teleToLocation(WATERFALL_LOC, 0);
|
||||
giveItems(player, CLEAREST_WATER, 1);
|
||||
htmltext = "31745-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30370-04.html":
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
qs.setCond(8);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_VOA, 1);
|
||||
giveItems(player, BRIGHTEST_LIGHT, 1);
|
||||
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_NERUPA_GAVE_YOUT_O_GO_TO_THE_VALLEY_OF_SAINTS, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31519-02.html":
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
qs.setCond(9);
|
||||
giveItems(player, PUREST_SOUL, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31328-02.html":
|
||||
{
|
||||
if (qs.isCond(9))
|
||||
{
|
||||
qs.setCond(10);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_FOG, 1);
|
||||
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_INNOCENTIN_GAVE_YOU_TO_GO_TO_THE_FORGE_OF_THE_GODS, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31539-04.html":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
qs.setCond(11);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_IT, 1);
|
||||
giveItems(player, VULCAN_TRUE_GOLD, 1);
|
||||
giveItems(player, VULCAN_PURE_SILVER, 1);
|
||||
giveItems(player, VULCAN_BLOOD_FIRE, 1);
|
||||
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_VULCAN_GAVE_YOU_TO_GO_TO_IVORY_TOWER, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31149-02.html":
|
||||
{
|
||||
if (qs.isCond(11) && hasQuestItems(player, VULCAN_TRUE_GOLD, VULCAN_PURE_SILVER, VULCAN_BLOOD_FIRE))
|
||||
{
|
||||
takeItems(player, VULCAN_TRUE_GOLD, -1);
|
||||
takeItems(player, VULCAN_PURE_SILVER, -1);
|
||||
takeItems(player, VULCAN_BLOOD_FIRE, -1);
|
||||
qs.setCond(12);
|
||||
}
|
||||
htmltext = "31149-02.html";
|
||||
break;
|
||||
}
|
||||
case "tp_vulcan":
|
||||
{
|
||||
if (qs.isCond(12))
|
||||
{
|
||||
qs.setCond(13);
|
||||
player.teleToLocation(VULCAN_LOC, 0);
|
||||
htmltext = "30166-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33749-02.html":
|
||||
{
|
||||
if (qs.isCond(19))
|
||||
{
|
||||
qs.setCond(20);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31539-08.html":
|
||||
{
|
||||
if (qs.isCond(13))
|
||||
{
|
||||
qs.setCond(14);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_DV, 1);
|
||||
giveItems(player, FIERCEST_FLAME, 1);
|
||||
giveItems(player, FONDEST_HEART, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSkillSee(L2Npc npc, L2PcInstance player, Skill skill, L2Object[] targets, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 14:
|
||||
{
|
||||
castSkill(npc, player, NPC_HOUSE.getSkill());
|
||||
qs.setCond(15);
|
||||
break;
|
||||
}
|
||||
case 15:
|
||||
{
|
||||
castSkill(npc, player, NPC_PAAGRIO.getSkill());
|
||||
qs.setCond(16);
|
||||
break;
|
||||
}
|
||||
case 16:
|
||||
{
|
||||
castSkill(npc, player, NPC_SHILEN.getSkill());
|
||||
addAttackDesire(addSpawn(SHILEN_MESSENGER, npc, true, 0, false), player);
|
||||
showOnScreenMsg(player, NpcStringId.YOU_MUST_DEFEAT_SHILEN_S_MESSENGER, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
startQuestTimer("DESPAWN", 10000, npc, player);
|
||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.BRIGHTEST_LIGHT_HOW_DARE_YOU_DESECRATE_THE_ALTAR_OF_SHILEN));
|
||||
qs.setCond(17);
|
||||
break;
|
||||
}
|
||||
case 17:
|
||||
{
|
||||
castSkill(npc, player, NPC_SOULS.getSkill());
|
||||
qs.setCond(18);
|
||||
break;
|
||||
}
|
||||
case 18:
|
||||
{
|
||||
castSkill(npc, player, NPC_TREE.getSkill());
|
||||
qs.setCond(19);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
if ((qs == null) || !qs.isStarted() || !Util.checkIfInRange(1500, npc, killer, true))
|
||||
{
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SHILEN_MESSENGER:
|
||||
{
|
||||
qs.setCond(17);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSocialActionSee(L2Npc npc, L2PcInstance caster, int actionId)
|
||||
{
|
||||
if ((caster == null) || (npc == null))
|
||||
{
|
||||
return super.onSocialActionSee(npc, caster, actionId);
|
||||
}
|
||||
if ((caster.getTarget() == null) || !caster.getTarget().isNpc())
|
||||
{
|
||||
return super.onSocialActionSee(npc, caster, actionId);
|
||||
}
|
||||
|
||||
caster.calculateDistance(caster.getTarget().getLocation(), true, false);
|
||||
final QuestState qs = getQuestState(caster, false);
|
||||
if (actionId == BOW)
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 3:
|
||||
{
|
||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.SO_BORED_IS_THERE_NO_ONE_I_CAN_PLAY_WITH));
|
||||
qs.setCond(4, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = null;
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
|
||||
case LANYA:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "33783-01.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
{
|
||||
htmltext = "33783-02.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(4))
|
||||
{
|
||||
{
|
||||
htmltext = "33783-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HOUSE:
|
||||
{
|
||||
if (qs.isCond(14))
|
||||
{
|
||||
htmltext = "33788-01.html";
|
||||
}
|
||||
showOnScreenMsg(player, NpcStringId.USE_THE_FONDEST_HEART_IN_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
break;
|
||||
}
|
||||
case PAAGRIO_TEMPLE:
|
||||
{
|
||||
if (qs.isCond(15))
|
||||
{
|
||||
htmltext = "33787-01.html";
|
||||
}
|
||||
showOnScreenMsg(player, NpcStringId.USE_THE_FIERCEST_FLAME_IN_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
break;
|
||||
}
|
||||
case SHILEN:
|
||||
{
|
||||
if (qs.isCond(16))
|
||||
{
|
||||
htmltext = "33785-01.html";
|
||||
}
|
||||
showOnScreenMsg(player, NpcStringId.USE_THE_BRIGHTEST_LIGHT_IN_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
break;
|
||||
}
|
||||
case SOULS:
|
||||
{
|
||||
if (qs.isCond(17))
|
||||
{
|
||||
htmltext = "33789-01.html";
|
||||
}
|
||||
showOnScreenMsg(player, NpcStringId.USE_THE_PUREST_SOUL_IN_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
break;
|
||||
}
|
||||
case MOTHER_TREE:
|
||||
{
|
||||
if (qs.isCond(18))
|
||||
{
|
||||
htmltext = "33786-01.html";
|
||||
}
|
||||
showOnScreenMsg(player, NpcStringId.USE_THE_CLEAREST_WATER_IN_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = null;
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case RAINA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "33491-04.html";
|
||||
}
|
||||
else if (qs.isCond(22))
|
||||
{
|
||||
{
|
||||
htmltext = "33491-05.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MORELYN:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "30925-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
{
|
||||
htmltext = "30925-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LANYA:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
qs.setCond(3);
|
||||
htmltext = "33783-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WATER_SOURCE:
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
htmltext = "33784-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LADY_OF_THE_LAKE:
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
htmltext = "31745-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NERUPA:
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
htmltext = "30370-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ENFEUX:
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
htmltext = "31519-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case INNOCENTIN:
|
||||
{
|
||||
if (qs.isCond(9))
|
||||
{
|
||||
htmltext = "31328-01.html";
|
||||
}
|
||||
else if (qs.isCond(10))
|
||||
{
|
||||
htmltext = "31328-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VULCAN:
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
htmltext = "31539-01.html";
|
||||
}
|
||||
else if (qs.isCond(13))
|
||||
{
|
||||
htmltext = "31539-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case URN:
|
||||
{
|
||||
if (qs.isCond(11))
|
||||
{
|
||||
htmltext = "31149-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WESLEY:
|
||||
{
|
||||
if (qs.isCond(12))
|
||||
{
|
||||
htmltext = "30166-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == RAINA)
|
||||
{
|
||||
htmltext = "33491-01.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/noRace.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/noRace.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Raina:<br>
|
||||
You are Ertheia. You should continue your learning somewhere else.<br>
|
||||
(This quest is only available for characters of a non-Ertheia class.)
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/no_level.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/no_level.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>I don't talk to youngsters. Come back when you've grown up a bit more.<br>
|
||||
(This quest can only be taken by a character of level 85 or above.)
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/restriction.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10385_RedThreadOfFate/restriction.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Raina:<br>
|
||||
(Quest only available to no Ertheia characters Lv. 85 or below who have completed the quest "Seize Your Destiny.")
|
||||
</body></html>
|
@ -246,6 +246,7 @@ import quests.Q10381_ToTheSeedOfHellfire.Q10381_ToTheSeedOfHellfire;
|
||||
import quests.Q10382_DayOfLiberation.Q10382_DayOfLiberation;
|
||||
import quests.Q10383_FergasonsOffer.Q10383_FergasonsOffer;
|
||||
import quests.Q10384_AnAudienceWithTauti.Q10384_AnAudienceWithTauti;
|
||||
import quests.Q10385_RedThreadOfFate.Q10385_RedThreadOfFate;
|
||||
import quests.Q10386_MysteriousJourney.Q10386_MysteriousJourney;
|
||||
import quests.Q10388_ConspiracyBehindDoor.Q10388_ConspiracyBehindDoor;
|
||||
import quests.Q10389_TheVoiceOfAuthority.Q10389_TheVoiceOfAuthority;
|
||||
@ -537,6 +538,7 @@ final class QuestMasterHandler
|
||||
Q10382_DayOfLiberation.class,
|
||||
Q10383_FergasonsOffer.class,
|
||||
Q10384_AnAudienceWithTauti.class,
|
||||
Q10385_RedThreadOfFate.class,
|
||||
Q10386_MysteriousJourney.class,
|
||||
Q10388_ConspiracyBehindDoor.class,
|
||||
Q10389_TheVoiceOfAuthority.class,
|
||||
|
46
trunk/dist/game/data/stats/items/36000-36099.xml
vendored
46
trunk/dist/game/data/stats/items/36000-36099.xml
vendored
@ -950,25 +950,30 @@
|
||||
<item id="36067" name="Clearest Water" type="EtcItem">
|
||||
<!-- The cleanest water received from the Lady of the Lake. Can be used on the Mother Tree at the center of Elven Village. -->
|
||||
<set name="icon" val="icon.etc_fruit_juice_glass_bottle_i05" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="icon" val="icon.etc_torch_on_i09" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="9579-1" /> <!-- Clearest Water -->
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="material" val="CRYSTAL" />
|
||||
</item>
|
||||
<item id="36068" name="Brightest Light" type="EtcItem">
|
||||
<!-- The Brightest Light received from Nerupa in the Arms of Timiniel in Magmeld. Can be used in front of Shilen's Stone Statue towering at the center of Dark Elf Village. -->
|
||||
<set name="icon" val="icon.tersi_specter_seed" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="icon" val="icon.etc_torch_on_i09" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="9580-1" /> <!-- Brightest Light -->
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="material" val="CRYSTAL" />
|
||||
@ -976,12 +981,14 @@
|
||||
<item id="36069" name="Purest Soul" type="EtcItem">
|
||||
<!-- The Purest Soul received from Enfeux in the Valley of Saints. Can be used in front of the Cave of Souls close to Kamael Village. -->
|
||||
<set name="icon" val="icon.etc_crystal_ball_white_i00" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="9581-1" /> <!-- Purest Soul -->
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="material" val="CRYSTAL" />
|
||||
@ -989,12 +996,14 @@
|
||||
<item id="36070" name="Fiercest Flame" type="EtcItem">
|
||||
<!-- The Fiercest Flame received from the Blacksmith of Flame Vulcan at the Forge of the Gods. Can be used in front of the Pa'agrio Temple in Orc Village. -->
|
||||
<set name="icon" val="icon.etc_torch_on_i09" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="9582-1" /> <!-- Fiercest Flame -->
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="material" val="CRYSTAL" />
|
||||
@ -1002,12 +1011,14 @@
|
||||
<item id="36071" name="Fondest Heart" type="EtcItem">
|
||||
<!-- Letter that shows the Fondest Heart of the Blacksmith of Flame Vulcan. Can be used in the Deserted Dwarven House. -->
|
||||
<set name="icon" val="icon.etc_letter_blue_i00" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="item_skill" val="9583-1" /> <!-- Fondest Heart -->
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="material" val="CRYSTAL" />
|
||||
@ -1016,11 +1027,12 @@
|
||||
<!-- Mysterious Letter handed over by Subclass Master Raina of Talking Island Village. Double-click to check the content. -->
|
||||
<set name="icon" val="icon.etc_roll_of_paper_blue_i00" />
|
||||
<set name="default_action" val="SHOW_HTML" />
|
||||
<set name="handler" val="Book" />
|
||||
<set name="immediate_effect" val="true" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="material" val="PAPER" />
|
||||
|
18
trunk/dist/game/data/stats/items/39500-39599.xml
vendored
18
trunk/dist/game/data/stats/items/39500-39599.xml
vendored
@ -195,43 +195,55 @@
|
||||
<!-- Teleports you to Valley of Saints. -->
|
||||
<set name="icon" val="icon.etc_scroll_of_return_i05" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="item_skill" val="18004-1" /> <!-- Teleports you Valley of Saints -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="weight" val="30" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player flyMounted="false" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="39515" name="Scroll of Escape: Forge of the Gods" type="EtcItem">
|
||||
<!-- Teleports you to Forge of the Gods. -->
|
||||
<set name="icon" val="icon.etc_scroll_of_return_i05" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="item_skill" val="18005-1" /> <!-- Teleports you Forge of the Gods -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="weight" val="30" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player flyMounted="false" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="39516" name="Scroll of Escape: Ivory Tower" type="EtcItem">
|
||||
<!-- Teleports you to Ivory Tower. -->
|
||||
<set name="icon" val="icon.etc_scroll_of_return_i05" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="item_skill" val="18006-1" /> <!-- Teleports you to Ivory Tower -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="weight" val="30" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player flyMounted="false" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="39517" name="Scroll of Escape: Secret Room" type="EtcItem">
|
||||
<!-- Teleports you to Cerenas, who can let you knot Eva's Secret Room. -->
|
||||
|
@ -121,14 +121,19 @@
|
||||
<!-- Teleports you to Dwarven Village. -->
|
||||
<set name="icon" val="icon.etc_scroll_of_return_i05" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="is_auctionable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_destroyable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_questitem" val="true" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="item_skill" val="18167-1" /> <!-- Teleports you to Dwarven Village -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="weight" val="30" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player flyMounted="false" />
|
||||
</cond>
|
||||
</item>
|
||||
<item id="40310" name="Appearance Stone: Santa Hat" type="EtcItem">
|
||||
<!-- Changes the appearance of your hair accessory into that of a Santa Hat. Only for hair accessories that use 2 slots. -->
|
||||
|
@ -619,59 +619,94 @@
|
||||
<set name="isMagic" val="4" />
|
||||
</skill>
|
||||
<skill id="9579" levels="1" name="Clearest Water">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- Clearest Water given by the Lady of the Lake. You can use it on the Mother Tree in the Elven Village. -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="castRange" val="200" />
|
||||
<set name="effectRange" val="600" />
|
||||
<set name="hitTime" val="500" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="magicLvl" val="-1" />
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="36067" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="castRange" val="100" />
|
||||
<set name="hitTime" val="5000" />
|
||||
<set name="reuseDelay" val="10000" />
|
||||
<set name="isMagic" val="1" />
|
||||
<set name="reuseDelay" val="30" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="ONE" />
|
||||
<cond msgId="109">
|
||||
<target npcId="33786" />
|
||||
</cond>
|
||||
</skill>
|
||||
<skill id="9580" levels="1" name="Brightest Light">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- Brightest Light given by Nerupa in the Arms of Timiniel of Magmeld. You can use it at Shilen's Stone Statue in the Dark Elf Village. -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="castRange" val="200" />
|
||||
<set name="effectRange" val="600" />
|
||||
<set name="hitTime" val="500" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="magicLvl" val="-1" />
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="36068" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="castRange" val="100" />
|
||||
<set name="hitTime" val="5000" />
|
||||
<set name="reuseDelay" val="10000" />
|
||||
<set name="isMagic" val="1" />
|
||||
<set name="reuseDelay" val="30" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="ONE" />
|
||||
<cond msgId="109">
|
||||
<target npcId="33785" />
|
||||
</cond>
|
||||
</skill>
|
||||
<skill id="9581" levels="1" name="Purest Soul">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- Purest Soul given by Enfeux in the Valley of Saints. You can use it at the Cave of Souls near Kamael Village. -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="castRange" val="200" />
|
||||
<set name="effectRange" val="600" />
|
||||
<set name="hitTime" val="500" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="magicLvl" val="-1" />
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="36069" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="castRange" val="100" />
|
||||
<set name="hitTime" val="5000" />
|
||||
<set name="reuseDelay" val="10000" />
|
||||
<set name="isMagic" val="1" />
|
||||
<set name="reuseDelay" val="30" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="ONE" />
|
||||
<cond msgId="109">
|
||||
<target npcId="33789" />
|
||||
</cond>
|
||||
</skill>
|
||||
<skill id="9582" levels="1" name="Fiercest Flame">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- Fiercest Flame given by Vulcan, the Blacksmith of Flame at the Forge of the Gods. You can use it at the Pa'agrio Temple in the Orc Village. -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="castRange" val="200" />
|
||||
<set name="effectRange" val="600" />
|
||||
<set name="hitTime" val="500" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="magicLvl" val="-1" />
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="36070" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="castRange" val="100" />
|
||||
<set name="hitTime" val="5000" />
|
||||
<set name="reuseDelay" val="10000" />
|
||||
<set name="isMagic" val="1" />
|
||||
<set name="reuseDelay" val="30" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="ONE" />
|
||||
<cond msgId="109">
|
||||
<target npcId="33787" />
|
||||
</cond>
|
||||
</skill>
|
||||
<skill id="9583" levels="1" name="Fondest Heart">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- Letter containing the fond heart of Vulcan, the Blacksmith of Flame. You can use it at the ruined Dwarven Village. -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="castRange" val="200" />
|
||||
<set name="effectRange" val="600" />
|
||||
<set name="hitTime" val="500" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="magicLvl" val="-1" />
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="36071" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="castRange" val="100" />
|
||||
<set name="hitTime" val="5000" />
|
||||
<set name="reuseDelay" val="10000" />
|
||||
<set name="isMagic" val="1" />
|
||||
<set name="reuseDelay" val="30" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="ONE" />
|
||||
<cond msgId="109">
|
||||
<target npcId="33788" />
|
||||
</cond>
|
||||
</skill>
|
||||
<skill id="9584" levels="1" name="Verna's Vaccine">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
|
@ -40,25 +40,61 @@
|
||||
</for>
|
||||
</skill>
|
||||
<skill id="18004" levels="1" name="Scroll of Escape: Valley of Saints">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="hitTime" val="400" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="39514" />
|
||||
<set name="magicLvl" val="1" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="hitTime" val="1000" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player canEscape="true" />
|
||||
</cond>
|
||||
<for>
|
||||
<effect name="Teleport">
|
||||
<param x="78301" y="-83468" z="-3608" />
|
||||
</effect>
|
||||
</for>
|
||||
</skill>
|
||||
<skill id="18005" levels="1" name="Scroll of Escape: Forge of the Gods">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="hitTime" val="400" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="39515" />
|
||||
<set name="magicLvl" val="1" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="hitTime" val="1000" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player canEscape="true" />
|
||||
</cond>
|
||||
<for>
|
||||
<effect name="Teleport">
|
||||
<param x="180057" y="-111604" z="-5838" />
|
||||
</effect>
|
||||
</for>
|
||||
</skill>
|
||||
<skill id="18006" levels="1" name="Scroll of Escape: Ivory Tower">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="hitTime" val="400" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="39516" />
|
||||
<set name="magicLvl" val="1" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="hitTime" val="1000" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player canEscape="true" />
|
||||
</cond>
|
||||
<for>
|
||||
<effect name="Teleport">
|
||||
<param x="85391" y="16228" z="-3640" />
|
||||
</effect>
|
||||
</for>
|
||||
</skill>
|
||||
<skill id="18007" levels="1" name="Scroll of Escape: Secret Room">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
|
@ -518,11 +518,23 @@
|
||||
<set name="targetType" val="SELF" />
|
||||
</skill>
|
||||
<skill id="18167" levels="1" name="Scroll of Escape: Dwarven Village">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<set name="icon" val="icon.skill0000" />
|
||||
<set name="hitTime" val="400" />
|
||||
<set name="isMagic" val="2" /> <!-- Static Skill -->
|
||||
<set name="itemConsumeCount" val="1" />
|
||||
<set name="itemConsumeId" val="40309" />
|
||||
<set name="magicLvl" val="1" />
|
||||
<set name="operateType" val="ACTIVE_INSTANT" />
|
||||
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
|
||||
<set name="targetType" val="SELF" />
|
||||
<set name="hitTime" val="20000" />
|
||||
<cond msgId="113" addName="1">
|
||||
<player canEscape="true" />
|
||||
</cond>
|
||||
<for>
|
||||
<effect name="Teleport">
|
||||
<param x="115290" y="-178869" z="-912" />
|
||||
</effect>
|
||||
</for>
|
||||
</skill>
|
||||
<skill id="18169" levels="1" name="Throw Carrot">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
|
Loading…
Reference in New Issue
Block a user