This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-00.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-00.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
You look too inexperienced to make a journey to Tanta Seer Ugoros. Convince Secondary Commander Johnny, then you can go. Johnny has been everywhere and done everything, and I still like him! His approval is good enough for me.<br>
|
||||
(There is no quest that is being carried out.)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
There's something about this place, an unescapable feeling of peace. I used to know that feeling very well here. Unfortunately, the truth behind my people's past keeps me from enjoying that feeling anymore. You see, the Plains have been showered with the blood of my people. In the wake of Antharas' death, we struggled for this land, bloodlust fueling brother against brother, father against son.<br>It was the Seer who united the new tribe of Tanta to defeat the Leto. He is known amongst my people as a great leader, but he also kills any who oppose him.<br>
|
||||
I can't just sit back and watch anymore. But I won't send someone to be slaughtered either. I must know you can handle Ugoros in battle!<br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot 32740.html">Back</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-02.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-02.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
Secondary Commander Johnny sent you? Odd, he said nothing to me.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
You look too inexperienced to make a journey to see Tanta Seer Ugoros. If you can convince Chief Investigator Johnny that you should go, then I will let you pass. Johnny has been everywhere and done everything. He may not be of my people but he has my respect, and anyone who has his will in turn have mine as well.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
What kept you?? Secondary Commander Johnny already notified me! Here, this is <font color="LEVEL">Approval from Johnny</font>.<br>
|
||||
When you want to go to Tanta Seer Ugoros, just talk to me. Easy, eh?
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
Well, you still look soft to me, but Johnny gave you his Approval. That's good enough for me.. ready for Tanta Seer Ugoros? Or are you just going to stand there all day..
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-ugoros.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740-ugoros.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
Magnificent! You have defeated the Seer. I must admin, you are tougher than you look. But we must celebrate elsewhere - the poisons of Ugoros still linger here.<br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot teleport_back">Go outside</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32740.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Gatekeeper Batracos:<br>
|
||||
Welcome. These are the tribal lands of the Seer Uguros of Tanta. I, the Gatekeeper Batracos, decide who is able to see the seer and who does not. Judging by the looks of you, I have some advice - turn back and keep your life. That shiny armor won't protect you here.<br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot 32740-01.html">Continue to listen</a><br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot teleport_inside">Ask him to send you to Tanta Seer Ugoros</a><br>
|
||||
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-00.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-00.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
Don't stick your nose where it doesn't belong. Have a little respect.<br>
|
||||
(This quest is for character levels 82 or over that have completed Poisoned Plains of the Lizardmen.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
I'm a busy guy. Get to the point. I ain't getting any younger.<br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot 32744-02.html">Ask about a way to see Tanta Seer Ugoros</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
You really want to see Ugoros? Just forget about it. Not just anyone can go there, and certainly not just any time they like. I know a guy, goes by Gatekeeper Batracos, a stinky meticulous fellow. He can get you to see the Seer. He'd never let in a gutterpup like you, but if he knew you had my respect, it might be a different story.<br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot 32744-03.htm">Ask what you need to do.</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-03.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-03.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
Objectivity is important when it comes to this kind of thing. I don't respect just anyone - I have clear standards. Here's the deal:<br>
|
||||
Tanta Lizardmen live in the Plains. Start killing them off and the Tanta Lizardmen Guards will start to show up. If you can manage to take out some of those guards, you've got my respect, without even a word. How about that? You in?<br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot 32744-04.htm">"I'm in."</a><br>
|
||||
<a action="bypass -h Quest Q00423_TakeYourBestShot 32744-quit.html">"I'm out."</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-04.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-04.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
Okay. You're straightforward. I can dig.<br>
|
||||
Like I said, you gotta defeat some <font color="LEVEL">Tanta Lizardmen Guards</font>, then go see <font color="LEVEL">Gatekeeper Batracos</font> and tell him that I sent you. He will bring you to see Tanta Seer Ugoros. You don't even gotta come back here if you don't want. Alright? Later.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
Ain't defeated a Tanta Lizardmen Guard yet? All talk and no show, huh? I've met your type before.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-06.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-06.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
I gotta say, you whipped those Tanta Lizardmen Guards like tired mules. You said you were strong, but you managed to show the muscle behind the words. Not sure why you came back though - like I said, I already told <font color="LEVEL">Batracos</font> about you. He's waiting.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-07.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-07.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
Hey hey, tough guy! You made it! Seems like you haven't met Tanta Seer Ugoros yet. Good luck when you do, haha!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-quit.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/32744-quit.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Chief Investigator Johnny:<br>
|
||||
Yeah, whatever dude. Everyone's got their limits, and clearly you don't have what it takes. Later.
|
||||
</body></html>
|
169
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/Q00423_TakeYourBestShot.java
vendored
Normal file
169
trunk/dist/game/data/scripts/quests/Q00423_TakeYourBestShot/Q00423_TakeYourBestShot.java
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
/*
|
||||
* 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.Q00423_TakeYourBestShot;
|
||||
|
||||
import quests.Q00249_PoisonedPlainsOfTheLizardmen.Q00249_PoisonedPlainsOfTheLizardmen;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* Take Your Best Shot (423)
|
||||
* @author Gnacik
|
||||
* @version 2010-06-26 Based on official server Franz
|
||||
*/
|
||||
public class Q00423_TakeYourBestShot extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int BATRACOS = 32740;
|
||||
private static final int JOHNNY = 32744;
|
||||
|
||||
// Monster
|
||||
private static final int TANTA_GUARD = 18862;
|
||||
|
||||
// Item
|
||||
private static final int SEER_UGOROS_PASS = 15496;
|
||||
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 82;
|
||||
|
||||
public Q00423_TakeYourBestShot()
|
||||
{
|
||||
super(423, Q00423_TakeYourBestShot.class.getSimpleName(), "Take Your Best Shot!");
|
||||
addStartNpc(JOHNNY, BATRACOS);
|
||||
addTalkId(JOHNNY, BATRACOS);
|
||||
addFirstTalkId(BATRACOS);
|
||||
addKillId(TANTA_GUARD);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "32740.html":
|
||||
case "32740-01.html":
|
||||
case "32744-02.html":
|
||||
case "32744-03.htm":
|
||||
break;
|
||||
case "32744-04.htm":
|
||||
st.startQuest();
|
||||
break;
|
||||
case "32744-quit.html":
|
||||
st.exitQuest(true);
|
||||
break;
|
||||
default:
|
||||
htmltext = null;
|
||||
break;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
if (npc.isInsideRadius(96782, 85918, 0, 100, false, true))
|
||||
{
|
||||
return "32740-ugoros.html";
|
||||
}
|
||||
return "32740.html";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState st = getQuestState(killer, false);
|
||||
if ((st != null) && st.isCond(1))
|
||||
{
|
||||
st.setCond(2, true);
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case JOHNNY:
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
final QuestState _prev = player.getQuestState(Q00249_PoisonedPlainsOfTheLizardmen.class.getSimpleName());
|
||||
if ((_prev != null) && _prev.isCompleted() && (player.getLevel() >= MIN_LEVEL))
|
||||
{
|
||||
htmltext = (st.hasQuestItems(SEER_UGOROS_PASS)) ? "32744-07.htm" : "32744-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "32744-00.htm";
|
||||
}
|
||||
break;
|
||||
case State.STARTED:
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "32744-05.html";
|
||||
}
|
||||
else if (st.isCond(2))
|
||||
{
|
||||
htmltext = "32744-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case BATRACOS:
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
htmltext = (st.hasQuestItems(SEER_UGOROS_PASS)) ? "32740-05.html" : "32740-00.html";
|
||||
break;
|
||||
case State.STARTED:
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "32740-02.html";
|
||||
}
|
||||
else if (st.isCond(2))
|
||||
{
|
||||
st.giveItems(SEER_UGOROS_PASS, 1);
|
||||
st.exitQuest(true, true);
|
||||
htmltext = "32740-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user