This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/30181-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/30181-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Galibredo:<br>
|
||||
Thank you so much! Thanks to you, my daughter made it home safely. I certainly gave her a good talking-to! I swear, I don't know what I'm going to do with that girl! I'm afraid something terrible will happen to her someday... Humph! By the way, Take this! It's not much, but think of it as a small token of my appreciation. Thank you again.<br>
|
||||
What's a father to do...
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Suki:<br>
|
||||
Good heavens! Oh, my ... ... You're an adventurer, aren't you? You certainly surprised me. Who am I? My name's Suki! What am I doing here? Honestly, I fell in love with a wonderful Warrior who came to our town not too long ago. A dark face with a melancholy shadow... Sinewy hands held his sword tight... He admired my pure heart and then he... he kissed my... Oh my! Some things are better left unsaid... Anyway, when he left, he wouldn't let me go with him, saying that it was too dangerous for me... Although I knew the danger well, I secretly followed him! I got lost and wound up here... The days have been hard here. My skin has grown rough and I haven't eaten in days! I would give anything just to get back home!<br>
|
||||
<a action="bypass -h Quest Q00653_WildMaiden 32013-04.htm">"Go on home. This will take you there."</a><br>
|
||||
<a action="bypass -h Quest Q00653_WildMaiden 32013-03.html">"What? Are you crazy? Go and find your man!</a>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-01a.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-01a.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Suki:<br>
|
||||
It seems that Suki doesn't trust you.<br>
|
||||
There's nothing you can do for her at this time.<br>
|
||||
(Only characters of level 36 and above may undertake this quest.)
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-02.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-02.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Suki:<br>
|
||||
You're the adventurer who helped me! Thank you so much! Now I can return home safely. If you're ever in <font color="LEVEL">the Town of Oren</font>, speak with <font color="LEVEL">Galibredo</font>. He's my father, and he'll reward you for your kindness.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Suki:<br>
|
||||
Humph! Oh yeah? If I die out here, it'll be all your fault!<br>
|
||||
Humph!
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-04.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-04.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Suki:<br>
|
||||
Oh, thank you so much! Thanks to you, I can now go back home safely. Thank you. By the way... Are you seeing anybody? .... Oh, never mind...Hehehe.. If you're ever in <font color="LEVEL">the Town of Oren</font>, speak with <font color="LEVEL">Galibredo</font>. He's my father, and he'll reward your kindness. I have to go now. So long, handsome! Good luck!
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-04a.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-04a.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Suki:<br>
|
||||
Oh, thank you so much! I can now go home safely! By the way... You have such smooth skin and great body tone... Not to mention that fine looking face! What's your secret? Oh, never mind... If you're ever in <font color="LEVEL">the Town of Oren</font>, speak with <font color="LEVEL">Galibredo</font>. He's my father, and he'll reward your kindness. Well, I should be going... Goodbye and Good luck!
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-05.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/32013-05.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Suki:<br>
|
||||
Ah, you don't have the Scroll of Escape, huh? Well, if you meet someone who has one, please tell them that about this innocent, fragile and pitiful girl in trouble that desperately needs their help...
|
||||
</body></html>
|
||||
110
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/Q00653_WildMaiden.java
vendored
Normal file
110
trunk/dist/game/data/scripts/quests/Q00653_WildMaiden/Q00653_WildMaiden.java
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2014 L2J DataPack
|
||||
*
|
||||
* This file is part of L2J DataPack.
|
||||
*
|
||||
* L2J DataPack 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.
|
||||
*
|
||||
* L2J DataPack 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.Q00653_WildMaiden;
|
||||
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Wild Maiden (653)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public class Q00653_WildMaiden extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int GALIBREDO = 30181;
|
||||
private static final int SUKI = 32013;
|
||||
// Item
|
||||
private static final int SOE = 736;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 36;
|
||||
|
||||
public Q00653_WildMaiden()
|
||||
{
|
||||
super(653, Q00653_WildMaiden.class.getSimpleName(), "Wild Maiden");
|
||||
addStartNpc(SUKI);
|
||||
addTalkId(GALIBREDO, SUKI);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
if (event.equals("32013-03.html"))
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
else if (event.equals("32013-04.htm"))
|
||||
{
|
||||
if (!st.hasQuestItems(SOE))
|
||||
{
|
||||
return "32013-05.htm";
|
||||
}
|
||||
st.startQuest();
|
||||
st.takeItems(SOE, 1);
|
||||
npc.deleteMe();
|
||||
htmltext = (getRandom(2) == 0) ? event : "32013-04a.htm";
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState st = getQuestState(player, true);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SUKI:
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "32013-01.htm" : "32013-01a.htm";
|
||||
break;
|
||||
case State.STARTED:
|
||||
htmltext = "32013-02.htm";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case GALIBREDO:
|
||||
if (st.isStarted())
|
||||
{
|
||||
st.giveAdena(2553, true);
|
||||
st.exitQuest(true, true);
|
||||
htmltext = "30181-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user