Merged with released L2J-Unity files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<html><body>Shannon:<br>
|
||||
You're back already? Hmm... good.<br>
|
||||
I hear you're strong and resilient, but are lacking somewhat in the more technical skills. Flair will bedazzle your opponents, friend.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32974-02.htm">"Can you teach me?"</Button>
|
||||
<html><body>Shannon:<br>
|
||||
You're back already? Hmm... good.<br>
|
||||
I hear you're strong and resilent, but are lacking somewhat in the more technical skills. Flair will bedazzle your opponents, friend.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32974-02.htm">"Can you teach me?"</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10324_FindingMagisterGallint/32974-01a.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10324_FindingMagisterGallint/32974-01a.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Shannon:<br>
|
||||
We can only take on so many tasks, friend!<br>
|
||||
(Only characters below level 20 who have already completed the "Effect of the Mysterious Power" quest, may start this quest)
|
||||
</body></html>
|
@@ -1,5 +1,5 @@
|
||||
<html><body>Shannon:<br>
|
||||
Can I? No, but I know who can.<br>
|
||||
I will introduce you to a teacher, if you're willing to learn.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32974-03.htm">"I am!"</Button>
|
||||
<html><body>Shannon:<br>
|
||||
Can I? No, but I know who can.<br>
|
||||
I will introduce you to a teacher, if you're willing to learn.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32974-03.htm">"I am!"</Button>
|
||||
</body></html>
|
@@ -1,4 +1,3 @@
|
||||
<html><body>Shannon:<br>
|
||||
Enthusiasm! Good!<br>
|
||||
You should go find <font color="LEVEL">Gallint</font> near the <font color="LEVEL">Administration Office</font> ! He'll teach you everything you need to know.
|
||||
<html><body>Shannon:<br>
|
||||
Enthusiasm! Good! You should go find <font color="LEVEL">Gallint</font> near the <font color="LEVEL">Administration Office</font> ! He'll teach you everything you need to know.
|
||||
</body></html>
|
@@ -1,3 +1,3 @@
|
||||
<html><body>Shannon:<br>
|
||||
What is it? Why are you still here?
|
||||
<html><body>Shannon:<br>
|
||||
What is it? Why are you still here?
|
||||
</body></html>
|
@@ -1,4 +1,4 @@
|
||||
<html><body>Shannon:<br>
|
||||
Don't be so smug! You've only learnt a few skills!<br>
|
||||
(You have already completed this quest)
|
||||
<html><body>Shannon:<br>
|
||||
Don't be so smug! You've only learnt a few skills!<br>
|
||||
(You have already completed this quest)
|
||||
</body></html>
|
@@ -1,4 +0,0 @@
|
||||
<html><body>Shannon:<br>
|
||||
We can only take on so many tasks, friend!<br>
|
||||
(Only characters below level 20, who have already completed the "Effect of the Mysterious Power" quest, may start this quest)
|
||||
</body></html>
|
@@ -1,4 +1,4 @@
|
||||
<html><body>Gallint:<br>
|
||||
I'm very busy! I haven't gotten a single day's rest since I was dropped off on Talking Island! Why did you come?
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32980-02.html">"Shannon told me about you."</Button>
|
||||
<html><body>Gallint:<br>
|
||||
I'm very busy! I haven't gotten a single day's rest since I was dropped off on Talking Island! Why did you come?
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32980-02.htm">"Shannon told me about you."</Button>
|
||||
</body></html>
|
@@ -1,4 +1,4 @@
|
||||
<html><body>Gallint:<br>
|
||||
Shannon? I taught her her skills many years ago, until she left to be taught by others.<br>
|
||||
Look, I just don't have time to talk to you about these things - we're rebuilding Talking Island Village. You should come back soon though - I can teach you skills once my work is done.
|
||||
<html><body>Gallint:<br>
|
||||
Shannon? I taught her her skills many years ago, until she left to be taught by others.<br>
|
||||
Look, I just don't have time to talk to you about these things - we're rebuilding Talking Island Village. You should come back soon though - can teach you skills once my work is done.
|
||||
</body></html>
|
@@ -1,4 +1,4 @@
|
||||
<html><body>Gallint:<br>
|
||||
What are you doing here?<br>
|
||||
(This quest has already been completed)
|
||||
<html><body>Gallint:<br>
|
||||
What are you doing here?<br>
|
||||
(This quest has already been completed)
|
||||
</body></html>
|
@@ -1,4 +1,4 @@
|
||||
<html><body>Gallint:<br>
|
||||
There's an order to everything, friend.<br>
|
||||
(The Looking for Sorcecer Gallint quest can be started by talking to Shannon in the Basic Training Ground)
|
||||
<html><body>Gallint:<br>
|
||||
There's an order to everything, friend.<br>
|
||||
(The Looking for Sorcecer Gallint quest can be started by talking to Shannon in the Basic Training Ground)
|
||||
</body></html>
|
@@ -1,135 +1,114 @@
|
||||
/*
|
||||
* 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.Q10324_FindingMagisterGallint;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
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.network.serverpackets.TutorialShowHtml;
|
||||
|
||||
import quests.Q10323_TrainLikeItsReal.Q10323_TrainLikeItsReal;
|
||||
|
||||
/**
|
||||
* Finding Magister Gallint (10324)
|
||||
* @author ivantotov, Gladicek
|
||||
*/
|
||||
public final class Q10324_FindingMagisterGallint extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int SHANNON = 32974;
|
||||
private static final int GALLINT = 32980;
|
||||
// Misc
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10324_FindingMagisterGallint()
|
||||
{
|
||||
super(10324, Q10324_FindingMagisterGallint.class.getSimpleName(), "Finding Magister Gallint");
|
||||
addStartNpc(SHANNON);
|
||||
addTalkId(SHANNON, GALLINT);
|
||||
addCondMaxLevel(MAX_LEVEL, "32974-06.html");
|
||||
addCondCompletedQuest(Q10323_TrainLikeItsReal.class.getSimpleName(), "32974-06.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 "32974-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32974-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32980-02.html":
|
||||
{
|
||||
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_004_skill_01.htm", TutorialShowHtml.LARGE_WINDOW));
|
||||
giveAdena(player, 110, true);
|
||||
addExpAndSp(player, 3100, 5);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = null;
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == SHANNON)
|
||||
{
|
||||
htmltext = "32974-01.htm";
|
||||
break;
|
||||
}
|
||||
else if (npc.getId() == GALLINT)
|
||||
{
|
||||
htmltext = "32980-04.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (npc.getId() == SHANNON)
|
||||
{
|
||||
htmltext = "32974-04.html";
|
||||
break;
|
||||
}
|
||||
else if (npc.getId() == GALLINT)
|
||||
{
|
||||
htmltext = "32980-01.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (npc.getId() == SHANNON)
|
||||
{
|
||||
htmltext = "32974-05.html";
|
||||
break;
|
||||
}
|
||||
else if (npc.getId() == GALLINT)
|
||||
{
|
||||
htmltext = "32980-03.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
/*
|
||||
* 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.Q10324_FindingMagisterGallint;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
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.network.serverpackets.TutorialShowHtml;
|
||||
|
||||
import quests.Q10323_TrainLikeItsReal.Q10323_TrainLikeItsReal;
|
||||
|
||||
/**
|
||||
* Finding Magister Gallint (10324)
|
||||
* @author ivantotov, Gladicek
|
||||
*/
|
||||
public final class Q10324_FindingMagisterGallint extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int SHANNON = 32974;
|
||||
private static final int GALLINT = 32980;
|
||||
// Misc
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10324_FindingMagisterGallint()
|
||||
{
|
||||
super(10324);
|
||||
addStartNpc(SHANNON);
|
||||
addTalkId(SHANNON, GALLINT);
|
||||
addCondMaxLevel(MAX_LEVEL, "32974-01a.htm");
|
||||
addCondCompletedQuest(Q10323_TrainLikeItsReal.class.getSimpleName(), "32974-01a.htm");
|
||||
}
|
||||
|
||||
@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 "32974-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32974-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32980-02.htm":
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_004_skill_01.htm", TutorialShowHtml.LARGE_WINDOW));
|
||||
giveAdena(player, 110, true);
|
||||
addExpAndSp(player, 3100, 5);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = null;
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = npc.getId() == SHANNON ? "32974-01.htm" : "32980-04.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
htmltext = npc.getId() == SHANNON ? "32974-04.htm" : "32980-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = npc.getId() == SHANNON ? "32974-05.htm" : "32980-03.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user