This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Bounty Hunter Kintaijin:<br>
You can't just take harder missions without having proven yourself to me. Don't look around like that. I'm talking to you.<br>
(Only characters level 81 and above who haved completed the I'm the Only One You Can Trust quest can take this mission)
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Bounty Hunter Kintaijin:<br>
You adventurers are all alike ... just in it for the fortune and fame. I'll bet you could care less about who I am and what my story is.<br>
The only things you're probably interested in are <font color="LEVEL">what you have to do</font> and <font color="LEVEL">what you will receive</font>.<br>
Am I wrong?<br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-4.htm">"Nope. Just tell me what I need to know."</a><br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-5.html">"I'm not like the others. Tell me your tale."</a><br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-6.html">"Forget all that. Who is this scammer you're talking about?"</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Bounty Hunter Kintaijin:<br>
Ah, you've returned!<br>
Did you bring me the fangs? Hmm, let's see... one, two, three... twenty-four, twenty-five! Excellent!<br>
You did better than I thought you would. You have earned my admiration and trust. And now you may use my teleport options to you heart's content.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Bounty Hunter Kintaijin:<br>
Is your memory that bad? I've already paid you for completing this quest.<br>
Why don't you move on to my next mission instead of bothering me about things you've already done, eh.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Bounty Hunter Kintaijin:<br>
There are some things to do to clean up Billy Haari's mess. But this is quite dangerous, that's why I need to ask a person who is reliable. So, prove yourself if you want to get with the mission.<br>
I'll even give you the authority to teleport to Stakato Nest along with profitable missions if you can prove your skill. With the authority, you can teleport to major area of Stakato Nest anytime.<br>
Will it be enough for you to take the mission?<br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-3.htm">"I will accept the mission."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Bounty Hunter Kintaijin:<br>
Alright, then let's get to the point. I want you to hunt down and destroy the <font color="LEVEL">Spiked Stakatos and Cannibalistic Stakatos</font> in the Stakato's Nest. If you manage to bring back <font color="LEVEL">25 Stakato Fangs</font>, I'll reward you well.<br>
A quick word of advice: don't try to do this on your own. This mission won't be nearly as rough if you find some fellow adventurers to assist you.
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Bounty Hunter Kintaijin:<br>
Your answer does not shock me in the least.<br>
Let me just tell you from the start that if you complete this quest to my satisfaction, you will then gain access to my teleport options. Do not scoff at this gesture! It could come in very handy for you later.<br>
Should I go on?<br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-3.htm">"Please continue."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Bounty Hunter Kintaijin:<br>
No need to feign interest in my background. Whether you are interested in me or not, I am still going to give you the quest.<br>
Should I go on?<br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-4.htm">"Well then, to hell with this. Just tell me about the quest."</a><br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-7.html">"Yes! Tell me what makes Kintaijin tick."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Bounty Hunter Kintaijin:<br>
Billy Haari. He is the most despicable and loathsome being in existance.<br>
Extortion, treason, fraud. You name it and he is guilty of it. The village I came from was just a stepping stone for Haari. By the time he disappeared, there wasn't one life in the town he hadn't damaged.<br>
It was said that he sought refuge here in the Stakato's Nest. And although I've done much searching, I still don't know whether he is dead or alive. What I do know is that, the more monsters you kill, the easier it will be for me to get back in their and search for that criminal.<br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-2.htm">"Now, let's talk about the mission."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Bounty Hunter Kintaijin:<br>
As you can see, I'm a bounty hunter. And generally, I do what I do for the money. But this one is personal to me.<br>
I'm here to bring in Billy Haari for his crimes.<br>And I almost had him... until he ran into the Stakato's Nest. I'm good at what I do. But this place is a bit too much for even me.<br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-6.html">"What kind of crime did Billy Haari commit?"</a><br>
<a action="bypass -h Quest Q00240_ImTheOnlyOneYouCanTrust 32640-2.htm">"Well, good luck with that. Now what about that mission?"</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Bounty Hunter Kintaijin:<br>
Didn't you leave yet?<br>
Didn't I already tell you that I would trust your skill when you hunt down Stakatos such as <font color="LEVEL">Spiked Stakato series, Cannibalistic Stakato series</font> in Stakato Nest and bring back <font color="LEVEL">25 Stakato's Fangs</font> as an evidence?<br>
The mission shouldn't be too tough. The problem is that the hunting will be overwhelming for yourself alone. Make sure to go with your fellows.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Bounty Hunter Kintaijin:<br>
You don't have enought Stakato's Fangs. No more or no less than <font color="LEVEL">25 Stakato's Fangs</font>needs to be brought back or else I won't believe you.
</body></html>

View File

@@ -0,0 +1,146 @@
/*
* 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.Q00240_ImTheOnlyOneYouCanTrust;
import com.l2jserver.gameserver.enums.QuestSound;
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;
/**
* I'm the Only One You Can Trust (240)
* @author malyelfik
*/
public class Q00240_ImTheOnlyOneYouCanTrust extends Quest
{
// NPC
private static final int KINTAIJIN = 32640;
// Monster
private static final int[] MOBS =
{
22617,
22618,
22619,
22620,
22621,
22622,
22623,
22624,
22625,
22626,
22627,
22628,
22629,
22630,
22631,
22632,
22633
};
// Item
private static final int STAKATO_FANG = 14879;
public Q00240_ImTheOnlyOneYouCanTrust()
{
super(240, Q00240_ImTheOnlyOneYouCanTrust.class.getSimpleName(), "I'm the Only One You Can Trust");
addStartNpc(KINTAIJIN);
addTalkId(KINTAIJIN);
addKillId(MOBS);
registerQuestItems(STAKATO_FANG);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return getNoQuestMsg(player);
}
if (event.equalsIgnoreCase("32640-3.htm"))
{
st.startQuest();
}
return event;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final L2PcInstance partyMember = getRandomPartyMember(player, 1);
if (partyMember == null)
{
return super.onKill(npc, player, isSummon);
}
final QuestState st = getQuestState(partyMember, false);
st.giveItems(STAKATO_FANG, 1);
if (st.getQuestItemsCount(STAKATO_FANG) >= 25)
{
st.setCond(2, true);
}
else
{
st.playSound(QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
return super.onKill(npc, player, isSummon);
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
switch (st.getState())
{
case State.CREATED:
htmltext = (player.getLevel() >= 81) ? "32640-1.htm" : "32640-0.htm";
break;
case State.STARTED:
switch (st.getCond())
{
case 1:
htmltext = (!st.hasQuestItems(STAKATO_FANG)) ? "32640-8.html" : "32640-9.html";
break;
case 2:
if (st.getQuestItemsCount(STAKATO_FANG) >= 25)
{
st.giveAdena(147200, true);
st.takeItems(STAKATO_FANG, -1);
st.addExpAndSp(589542, 36800);
st.exitQuest(false, true);
htmltext = "32640-10.html";
}
break;
}
break;
case State.COMPLETED:
htmltext = "32640-11.html";
break;
}
return htmltext;
}
}