Improved quest The Corrupted Leader: His Truth (10307).

Contributed by gigilo1968.
This commit is contained in:
MobiusDev 2017-09-11 14:19:19 +00:00
parent a587e3bfeb
commit bbc2cec824
27 changed files with 231 additions and 51 deletions

View File

@ -0,0 +1,4 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
Naomi Kasheron sent you? This must be important...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-02.html">"I need to tell you something..."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
I... I see<br>
So then all of this wasn't Kimerian's fault? Flawed as he is, he was still our leader. He was still good man.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-03.html">"What do you wont to do now?"</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
Well, we still have to fight. Kimerian was a good man, but is now a tyrant who must be stopped.<br>
Here, this for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-04.html">"Thank you."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
I will always wish you well.<br>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
I knew it! I knew you'd help!<br>
We'll find out the truth about Kimerian, even if I die in the process. Are you ready to go?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32896-05.htm">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter_instance">"Yes."</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
I thought you ran away because you were afraid to face the real Kimerian. But you've returned, and we are now able to go. Are you ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter">"Let's do this."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter_instance">"Let's do this."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
Black energy... Now that I think about it, I've heard of the <font color="LEVEL">Decaying Darkness</font> before. I don't remember the exact details though... Do you know anything about it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32896-07.html">"Jesophina's Companion said..."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
Is that so? Why didn't you tell me about this earlier? <font color="LEVEL">Spezion</font> caused all this?!<br>
Hurry and tell Noeti Mimilead abouth this!
</body></html

View File

@ -16,6 +16,8 @@
*/
package quests.Q10307_TheCorruptedLeaderHisTruth;
import com.l2jmobius.commons.util.CommonUtil;
import com.l2jmobius.gameserver.enums.QuestType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@ -23,19 +25,18 @@ import com.l2jmobius.gameserver.model.quest.QuestState;
import quests.Q10306_TheCorruptedLeader.Q10306_TheCorruptedLeader;
//import quests.Q10306_TheCorruptedLeader.Q10306_TheCorruptedLeader;
/**
* The Corrupted Leader: His Truth (10307)
* @URL https://l2wiki.com/The_Corrupted_Leader:_His_Truth
* @VIDEO https://www.youtube.com/watch?v=MI5Hyu7TtLw
* @author Gigi
*/
public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
{
// Npc's
// NPCs
private static final int NEOTI_MIMILEAD = 32895;
private static final int NAOMI_KASHERON = 32896;
private static final int MIMILEAD = 32895;
private static final int[] MOB =
private static final int[] BOSS =
{
25745,
25747
@ -48,8 +49,8 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
{
super(10307);
addStartNpc(NAOMI_KASHERON);
addTalkId(NAOMI_KASHERON, MIMILEAD);
addKillId(MOB);
addTalkId(NAOMI_KASHERON, NEOTI_MIMILEAD);
addKillId(BOSS);
addCondMinLevel(MIN_LEVEL, "32896-03.html");
addCondCompletedQuest(Q10306_TheCorruptedLeader.class.getSimpleName(), "32896-03.html");
}
@ -65,25 +66,40 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
}
switch (event)
{
case "32896-04.htm":
case "32896-07.html":
case "32895-02.html":
case "32895-03.html":
{
htmltext = event;
break;
}
case "32896-05.htm":
case "32896-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "32895-03.html":
case "32896-08.html":
{
giveItems(player, ENCHANT_ARMOR_R, 4);
addExpAndSp(player, 11779522, 2827);
qs.exitQuest(false, true);
qs.setCond(3, true);
htmltext = event;
break;
}
case "32895-04.html":
{
if (player.getLevel() >= MIN_LEVEL)
{
addExpAndSp(player, 11779522, 2827);
giveItems(player, ENCHANT_ARMOR_R, 5);
qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event;
}
else
{
htmltext = getNoQuestLevelRewardMsg(player);
}
break;
}
}
return htmltext;
}
@ -101,10 +117,17 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
if (qs.isCreated())
{
htmltext = "32896-01.htm";
break;
}
else if (qs.isCond(1))
{
htmltext = "32896-05.htm";
break;
}
else if (qs.isCond(2))
{
htmltext = "32895-06.html";
break;
}
else if (qs.isCompleted())
{
@ -112,14 +135,26 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
}
break;
}
case MIMILEAD:
case NEOTI_MIMILEAD:
{
if (qs.isCond(1))
if (qs.isCond(3))
{
htmltext = "32895-01.html";
break;
}
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final QuestState qs = getQuestState(player, false);
if ((qs != null) && qs.isCond(1) && CommonUtil.contains(BOSS, npc.getId()))
{
qs.setCond(2, true);
}
return super.onKill(npc, player, isSummon);
}
}

View File

@ -0,0 +1,4 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
Naomi Kasheron sent you? This must be important...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-02.html">"I need to tell you something..."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
I... I see<br>
So then all of this wasn't Kimerian's fault? Flawed as he is, he was still our leader. He was still good man.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-03.html">"What do you wont to do now?"</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
Well, we still have to fight. Kimerian was a good man, but is now a tyrant who must be stopped.<br>
Here, this for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-04.html">"Thank you."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
I will always wish you well.<br>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
I knew it! I knew you'd help!<br>
We'll find out the truth about Kimerian, even if I die in the process. Are you ready to go?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32896-05.htm">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter_instance">"Yes."</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
I thought you ran away because you were afraid to face the real Kimerian. But you've returned, and we are now able to go. Are you ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter">"Let's do this."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter_instance">"Let's do this."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
Black energy... Now that I think about it, I've heard of the <font color="LEVEL">Decaying Darkness</font> before. I don't remember the exact details though... Do you know anything about it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32896-07.html">"Jesophina's Companion said..."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
Is that so? Why didn't you tell me about this earlier? <font color="LEVEL">Spezion</font> caused all this?!<br>
Hurry and tell Noeti Mimilead abouth this!
</body></html

View File

@ -16,6 +16,8 @@
*/
package quests.Q10307_TheCorruptedLeaderHisTruth;
import com.l2jmobius.commons.util.CommonUtil;
import com.l2jmobius.gameserver.enums.QuestType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@ -23,19 +25,18 @@ import com.l2jmobius.gameserver.model.quest.QuestState;
import quests.Q10306_TheCorruptedLeader.Q10306_TheCorruptedLeader;
//import quests.Q10306_TheCorruptedLeader.Q10306_TheCorruptedLeader;
/**
* The Corrupted Leader: His Truth (10307)
* @URL https://l2wiki.com/The_Corrupted_Leader:_His_Truth
* @VIDEO https://www.youtube.com/watch?v=MI5Hyu7TtLw
* @author Gigi
*/
public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
{
// Npc's
// NPCs
private static final int NEOTI_MIMILEAD = 32895;
private static final int NAOMI_KASHERON = 32896;
private static final int MIMILEAD = 32895;
private static final int[] MOB =
private static final int[] BOSS =
{
25745,
25747
@ -48,8 +49,8 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
{
super(10307);
addStartNpc(NAOMI_KASHERON);
addTalkId(NAOMI_KASHERON, MIMILEAD);
addKillId(MOB);
addTalkId(NAOMI_KASHERON, NEOTI_MIMILEAD);
addKillId(BOSS);
addCondMinLevel(MIN_LEVEL, "32896-03.html");
addCondCompletedQuest(Q10306_TheCorruptedLeader.class.getSimpleName(), "32896-03.html");
}
@ -65,25 +66,40 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
}
switch (event)
{
case "32896-04.htm":
case "32896-07.html":
case "32895-02.html":
case "32895-03.html":
{
htmltext = event;
break;
}
case "32896-05.htm":
case "32896-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "32895-03.html":
case "32896-08.html":
{
giveItems(player, ENCHANT_ARMOR_R, 4);
addExpAndSp(player, 11779522, 2827);
qs.exitQuest(false, true);
qs.setCond(3, true);
htmltext = event;
break;
}
case "32895-04.html":
{
if (player.getLevel() >= MIN_LEVEL)
{
addExpAndSp(player, 11779522, 2827);
giveItems(player, ENCHANT_ARMOR_R, 5);
qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event;
}
else
{
htmltext = getNoQuestLevelRewardMsg(player);
}
break;
}
}
return htmltext;
}
@ -101,10 +117,17 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
if (qs.isCreated())
{
htmltext = "32896-01.htm";
break;
}
else if (qs.isCond(1))
{
htmltext = "32896-05.htm";
break;
}
else if (qs.isCond(2))
{
htmltext = "32895-06.html";
break;
}
else if (qs.isCompleted())
{
@ -112,14 +135,26 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
}
break;
}
case MIMILEAD:
case NEOTI_MIMILEAD:
{
if (qs.isCond(1))
if (qs.isCond(3))
{
htmltext = "32895-01.html";
break;
}
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final QuestState qs = getQuestState(player, false);
if ((qs != null) && qs.isCond(1) && CommonUtil.contains(BOSS, npc.getId()))
{
qs.setCond(2, true);
}
return super.onKill(npc, player, isSummon);
}
}

View File

@ -0,0 +1,4 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
Naomi Kasheron sent you? This must be important...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-02.html">"I need to tell you something..."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
I... I see<br>
So then all of this wasn't Kimerian's fault? Flawed as he is, he was still our leader. He was still good man.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-03.html">"What do you wont to do now?"</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
Well, we still have to fight. Kimerian was a good man, but is now a tyrant who must be stopped.<br>
Here, this for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32895-04.html">"Thank you."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Evacuated Fairy Hierarch Noeti Mimilead:<br>
I will always wish you well.<br>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
I knew it! I knew you'd help!<br>
We'll find out the truth about Kimerian, even if I die in the process. Are you ready to go?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32896-05.htm">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter_instance">"Yes."</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
I thought you ran away because you were afraid to face the real Kimerian. But you've returned, and we are now able to go. Are you ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter">"Let's do this."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth enter_instance">"Let's do this."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
Black energy... Now that I think about it, I've heard of the <font color="LEVEL">Decaying Darkness</font> before. I don't remember the exact details though... Do you know anything about it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10307_TheCorruptedLeaderHisTruth 32896-07.html">"Jesophina's Companion said..."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Elite Bodyguard Naomi Kasheron:<br>
Is that so? Why didn't you tell me about this earlier? <font color="LEVEL">Spezion</font> caused all this?!<br>
Hurry and tell Noeti Mimilead abouth this!
</body></html

View File

@ -16,6 +16,8 @@
*/
package quests.Q10307_TheCorruptedLeaderHisTruth;
import com.l2jmobius.commons.util.CommonUtil;
import com.l2jmobius.gameserver.enums.QuestType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@ -23,19 +25,18 @@ import com.l2jmobius.gameserver.model.quest.QuestState;
import quests.Q10306_TheCorruptedLeader.Q10306_TheCorruptedLeader;
//import quests.Q10306_TheCorruptedLeader.Q10306_TheCorruptedLeader;
/**
* The Corrupted Leader: His Truth (10307)
* @URL https://l2wiki.com/The_Corrupted_Leader:_His_Truth
* @VIDEO https://www.youtube.com/watch?v=MI5Hyu7TtLw
* @author Gigi
*/
public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
{
// Npc's
// NPCs
private static final int NEOTI_MIMILEAD = 32895;
private static final int NAOMI_KASHERON = 32896;
private static final int MIMILEAD = 32895;
private static final int[] MOB =
private static final int[] BOSS =
{
25745,
25747
@ -48,8 +49,8 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
{
super(10307);
addStartNpc(NAOMI_KASHERON);
addTalkId(NAOMI_KASHERON, MIMILEAD);
addKillId(MOB);
addTalkId(NAOMI_KASHERON, NEOTI_MIMILEAD);
addKillId(BOSS);
addCondMinLevel(MIN_LEVEL, "32896-03.html");
addCondCompletedQuest(Q10306_TheCorruptedLeader.class.getSimpleName(), "32896-03.html");
}
@ -65,25 +66,40 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
}
switch (event)
{
case "32896-04.htm":
case "32896-07.html":
case "32895-02.html":
case "32895-03.html":
{
htmltext = event;
break;
}
case "32896-05.htm":
case "32896-04.htm":
{
qs.startQuest();
htmltext = event;
break;
}
case "32895-03.html":
case "32896-08.html":
{
giveItems(player, ENCHANT_ARMOR_R, 4);
addExpAndSp(player, 11779522, 2827);
qs.exitQuest(false, true);
qs.setCond(3, true);
htmltext = event;
break;
}
case "32895-04.html":
{
if (player.getLevel() >= MIN_LEVEL)
{
addExpAndSp(player, 11779522, 2827);
giveItems(player, ENCHANT_ARMOR_R, 5);
qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event;
}
else
{
htmltext = getNoQuestLevelRewardMsg(player);
}
break;
}
}
return htmltext;
}
@ -101,10 +117,17 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
if (qs.isCreated())
{
htmltext = "32896-01.htm";
break;
}
else if (qs.isCond(1))
{
htmltext = "32896-05.htm";
break;
}
else if (qs.isCond(2))
{
htmltext = "32895-06.html";
break;
}
else if (qs.isCompleted())
{
@ -112,14 +135,26 @@ public final class Q10307_TheCorruptedLeaderHisTruth extends Quest
}
break;
}
case MIMILEAD:
case NEOTI_MIMILEAD:
{
if (qs.isCond(1))
if (qs.isCond(3))
{
htmltext = "32895-01.html";
break;
}
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final QuestState qs = getQuestState(player, false);
if ((qs != null) && qs.isCond(1) && CommonUtil.contains(BOSS, npc.getId()))
{
qs.setCond(2, true);
}
return super.onKill(npc, player, isSummon);
}
}