Various start quest adjustments.

Thanks to Dmitri.
This commit is contained in:
MobiusDevelopment 2019-11-14 20:02:24 +00:00
parent af940d9d3a
commit ae830f536d
50 changed files with 193 additions and 161 deletions

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 40.<br>
The quest can be performed by <font color="LEVEL">Ertheias</font> who completed the first liberation, and other races who completed the second profession. Character level must be 40!<br>
</body></html>

View File

@ -54,7 +54,7 @@ public class Q11025_PathOfDestinyProving extends Quest
// Location
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-4983, 116607, -3344);
// Misc
private static final int MIN_LEVEL = 39;
private static final int MIN_LEVEL = 40;
public Q11025_PathOfDestinyProving()
{
@ -64,7 +64,6 @@ public class Q11025_PathOfDestinyProving extends Quest
addTalkId(TARTI, RAYMOND, TERESIA, MYSTERIOUS_MAGE);
addKillId(SKELETON_ARCHER, SKELETON_WARRIOR);
registerQuestItems(WIND_SPIRIT);
// addCondNotRace(Race.ERTHEIA, "34505-11.html");
addCondMinLevel(MIN_LEVEL, "34505-11.html");
setQuestNameNpcStringId(NpcStringId.LV_20_PATH_OF_DESTINY_PROVING);
}

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
The quest can be performed by <font color="LEVEL">Ertheias</font> who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest <font color="LEVEL">Path of Destiny - Proving</font>.<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest <font color="LEVEL">Path of Destiny - Proving</font>.<br>
</body></html>

View File

@ -68,6 +68,7 @@ public class Q11026_PathOfDestinyConviction extends Quest
addFirstTalkId(KAIN_VAN_HALTER, MYSTERIOUS_MAGE);
addKillId(VAMPIRE_SOLDIER, VON_HELLMANN);
registerQuestItems(WIND_SPIRIT);
addCondMinLevel(41, "33963-06.html");
addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "33963-06.html");
setQuestNameNpcStringId(NpcStringId.LV_40_PATH_OF_DESTINY_CONVICTION);
}

View File

@ -0,0 +1,3 @@
<html><body>Guard Silvan:<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their first liberation, and other races who have completed their first profession. Character level must be 10!<br>
</body></html>

View File

@ -62,6 +62,7 @@ public class Q11032_CurseOfUndying extends Quest
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-19204, 138941, -3896);
// Misc
private static final String KILL_COUNT_VAR = "KillCount";
private static final int MIN_LEVEL = 10;
public Q11032_CurseOfUndying()
{
@ -70,7 +71,8 @@ public class Q11032_CurseOfUndying extends Quest
addTalkId(SILVAN, TARTI);
addKillId(DISGUSTING_ZOMBIES, THE_HIDEOUS_LORD_ZOMBIE);
registerQuestItems(SOE_SILVAN.getId());
addCondCompletedQuest(Q11031_TrainingBeginsNow.class.getSimpleName(), getNoQuestMsg(null));
addCondMinLevel(MIN_LEVEL, "33178-04.html");
addCondCompletedQuest(Q11031_TrainingBeginsNow.class.getSimpleName(), "33178-04.html");
setQuestNameNpcStringId(NpcStringId.LV_1_20_CURSE_OF_UNDYING);
}
@ -78,7 +80,7 @@ public class Q11032_CurseOfUndying extends Quest
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = null;
QuestState qs = getQuestState(player, false);
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return htmltext;
@ -94,7 +96,7 @@ public class Q11032_CurseOfUndying extends Quest
case "33178-02.html":
{
qs.startQuest();
player.sendPacket(new ExTutorialShowId(23)); // Adventurers Guide
player.sendPacket(new ExTutorialShowId(5)); // Adventurers Guide
htmltext = event;
break;
}

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 20, and players who have not completed 2nd profession.<br>
The quest can be performed by <font color="LEVEL">Ertheias</font> who completed the first liberation, and other races who completed the second profession. Character level must be 20!<br>
</body></html>

View File

@ -16,16 +16,11 @@
*/
package quests.Q11033_AntidoteIngredients;
import java.util.HashSet;
import java.util.Set;
import org.l2jmobius.gameserver.enums.QuestSound;
import org.l2jmobius.gameserver.instancemanager.QuestManager;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.holders.ItemHolder;
import org.l2jmobius.gameserver.model.holders.NpcLogListHolder;
import org.l2jmobius.gameserver.model.quest.Quest;
import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
@ -38,7 +33,7 @@ import quests.Q11034_ResurrectedOne.Q11034_ResurrectedOne;
/**
* Antidote Ingredients (11033)
* @URL https://l2wiki.com/Antidote_Ingredients
* @author Dmitri
* @author Dmitri, Mobius
*/
public class Q11033_AntidoteIngredients extends Quest
{
@ -48,11 +43,11 @@ public class Q11033_AntidoteIngredients extends Quest
private static final int KRAKOS_BAT = 24384;
private static final int A_VAMMPIRE = 24385;
// Items
private static final ItemHolder SOE_SILVAN = new ItemHolder(80679, 1);
private static final int SECRET_MATERIAL = 80671;
private static final ItemHolder SOE_KALESIN = new ItemHolder(80679, 1);
// Location
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-44121, 115926, -3624);
// Misc
private static final String KILL_COUNT_VAR = "KillCount";
private static final int MIN_LEVEL = 20;
public Q11033_AntidoteIngredients()
@ -61,8 +56,7 @@ public class Q11033_AntidoteIngredients extends Quest
addStartNpc(TARTI);
addTalkId(TARTI, KALESIN);
addKillId(KRAKOS_BAT, A_VAMMPIRE);
registerQuestItems(SOE_SILVAN.getId());
// addCondNotRace(Race.ERTHEIA, "34505-06.html");
registerQuestItems(SOE_KALESIN.getId(), SECRET_MATERIAL);
addCondMinLevel(MIN_LEVEL, "34505-06.html");
setQuestNameNpcStringId(NpcStringId.LV_20_40_ANTIDOTE_INGREDIENTS);
}
@ -181,34 +175,13 @@ public class Q11033_AntidoteIngredients extends Quest
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isCond(1))
{
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
if (killCount < 15)
{
qs.set(KILL_COUNT_VAR, killCount);
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
sendNpcLogList(killer);
}
else
if (giveItemRandomly(killer, SECRET_MATERIAL, 1, 15, 0.5, true))
{
qs.setCond(2, true);
qs.unset(KILL_COUNT_VAR);
giveItems(killer, SOE_SILVAN);
showOnScreenMsg(killer, NpcStringId.USE_SCROLL_OF_ESCAPE_KALLESIN_IN_YOUR_INVENTORY_NTALK_TO_KALLESIN_TO_COMPLETE_THE_QUEST, ExShowScreenMessage.TOP_CENTER, 10000);
giveItems(killer, SOE_KALESIN);
showOnScreenMsg(killer, NpcStringId.USE_SCROLL_OF_ESCAPE_PIO_IN_YOUR_INVENTORY_NTALK_TO_PIO_TO_COMPLETE_THE_QUEST, ExShowScreenMessage.TOP_CENTER, 10000);
}
}
return super.onKill(npc, killer, isSummon);
}
@Override
public Set<NpcLogListHolder> getNpcLogList(PlayerInstance player)
{
final QuestState qs = getQuestState(player, false);
if ((qs != null) && qs.isCond(1))
{
final Set<NpcLogListHolder> holder = new HashSet<>();
holder.add(new NpcLogListHolder(NpcStringId.RUINS_OF_AGONY_BEND_LV_19.getId(), true, qs.getInt(KILL_COUNT_VAR)));
return holder;
}
return super.getNpcLogList(player);
}
}

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 27.<br>
The quest can be performed by <font color="LEVEL">arteys</font> who completed the first liberation, and other races who completed the second profession. Character level must be 27!<br>
</body></html>

View File

@ -44,12 +44,12 @@ public class Q11034_ResurrectedOne extends Quest
{
// NPCs
private static final int KALESIN = 33177;
private static final int JENA = 33509;
private static final int ZENATH = 33509;
private static final int SKELETON_SCOUT = 24386;
private static final int SKELETON_ARCHER = 24387;
private static final int SKELETON_WARRIOR = 24388;
// Items
private static final ItemHolder SOE_SILVAN = new ItemHolder(80680, 1);
private static final ItemHolder SOE_ZENATH = new ItemHolder(80680, 1);
// Location
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-46169, 110937, -3808);
// Misc
@ -60,10 +60,9 @@ public class Q11034_ResurrectedOne extends Quest
{
super(11034);
addStartNpc(KALESIN);
addTalkId(KALESIN, JENA);
addTalkId(KALESIN, ZENATH);
addKillId(SKELETON_SCOUT, SKELETON_ARCHER, SKELETON_WARRIOR);
registerQuestItems(SOE_SILVAN.getId());
// addCondNotRace(Race.ERTHEIA, "33177-05.html");
registerQuestItems(SOE_ZENATH.getId());
addCondMinLevel(MIN_LEVEL, "33177-05.html");
setQuestNameNpcStringId(NpcStringId.LV_20_40_THE_RESURRECTED_ONE);
}
@ -150,7 +149,7 @@ public class Q11034_ResurrectedOne extends Quest
}
break;
}
case JENA:
case ZENATH:
{
if (qs.isCond(2))
{
@ -187,7 +186,7 @@ public class Q11034_ResurrectedOne extends Quest
{
qs.setCond(2, true);
qs.unset(KILL_COUNT_VAR);
giveItems(killer, SOE_SILVAN);
giveItems(killer, SOE_ZENATH);
showOnScreenMsg(killer, NpcStringId.USE_SCROLL_OF_ESCAPE_ZENATH_IN_YOUR_INVENTORY_NTALK_TO_ZENATH_TO_COMPLETE_THE_QUEST, ExShowScreenMessage.TOP_CENTER, 10000);
}
}

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 33.<br>
The quest can be performed by <font color="LEVEL">arteys</font> who completed the first liberation, and other races who completed the second profession. Character level must be 33!<br>
</body></html>

View File

@ -38,13 +38,13 @@ import quests.Q11025_PathOfDestinyProving.Q11025_PathOfDestinyProving;
public class Q11035_DeathlyMischief extends Quest
{
// NPCs
private static final int JENA = 33509;
private static final int ZENATH = 33509;
private static final int TARTI = 34505;
private static final int PHANTOM_SKELETON_SOLDIER = 24389;
private static final int SKELETON_BERSERKER = 24390;
// Items
private static final int BREATH_OF_DEATH = 80672;
private static final ItemHolder SOE_SILVAN = new ItemHolder(80677, 1);
private static final ItemHolder SOE_TARTI = new ItemHolder(80677, 1);
// Location
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-51130, 110053, -3664);
// Misc
@ -53,11 +53,10 @@ public class Q11035_DeathlyMischief extends Quest
public Q11035_DeathlyMischief()
{
super(11035);
addStartNpc(JENA);
addTalkId(JENA, TARTI);
addStartNpc(ZENATH);
addTalkId(ZENATH, TARTI);
addKillId(PHANTOM_SKELETON_SOLDIER, SKELETON_BERSERKER);
registerQuestItems(SOE_SILVAN.getId(), BREATH_OF_DEATH);
// addCondNotRace(Race.ERTHEIA, "33509-05.html");
registerQuestItems(SOE_TARTI.getId(), BREATH_OF_DEATH);
addCondMinLevel(MIN_LEVEL, "33509-05.html");
setQuestNameNpcStringId(NpcStringId.LV_20_40_DEATHLY_MISCHIEF);
}
@ -128,7 +127,7 @@ public class Q11035_DeathlyMischief extends Quest
{
case State.CREATED:
{
if (npc.getId() == JENA)
if (npc.getId() == ZENATH)
{
htmltext = "33509-01.html";
}
@ -138,7 +137,7 @@ public class Q11035_DeathlyMischief extends Quest
{
switch (npc.getId())
{
case JENA:
case ZENATH:
{
if (qs.isCond(1))
{
@ -175,7 +174,7 @@ public class Q11035_DeathlyMischief extends Quest
if (giveItemRandomly(killer, BREATH_OF_DEATH, 1, 15, 0.5, true))
{
qs.setCond(2, true);
giveItems(killer, SOE_SILVAN);
giveItems(killer, SOE_TARTI);
showOnScreenMsg(killer, NpcStringId.USE_SCROLL_OF_ESCAPE_TARTI_IN_YOUR_INVENTORY_NTALK_TO_TARTI_TO_COMPLETE_THE_QUEST, ExShowScreenMessage.TOP_CENTER, 10000);
}
}

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Did you kill all transformed spirits?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 33963-02.html">Nod</Button>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Guard Kallesin:<br>
So, that's you they've sent from Gludio? I use this material to deal with the curse. Thank you!<br>
It will be hard to pull this one off, so if you excuse me...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-02.html">Do you need help?</Button>
<html><body>Researcher Pio:<br>
Thank you! Spirits are transforming too fast. I'm afraid we are in danger. Thanks for your help.<br>
By the way, are you busy now? Could you help me once again?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 33963-03.html">Learn more</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Researcher Pio:<br>
Since Faeron has appeared in the Material Realm, energy of the Wind Spirit Realm is influencing on the Windy Hill markedly.<br>
We could handle the situation before, but now all is changing too fast.<br>
We are trying to sort out the situation, but we have not enough time.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-02.html">How can I help you?</Button>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Tarti:<br>
Do you remember what you've heard about the immortality curse in the Ruins of Despair? I've learned about a... let's say, an antidote that might have something to do with this curse.<br>
There is a place you can go to investigate it. It's not far from here.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 34505-02.html">"Learn more".</Button>
Have you ever heard of a place called the Windy Hill?.<br>
People say that it's changed quite a bit since Faeron appeared...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 34505-02.html">"I don't think I've heard anything about that".</Button>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Tarti:<br>
The place is called <font color="LEVEL">Ruins of Agony</font>. It's somewhat similar to the Ruins of Despair though there are quite a few differences.<br>
The immortality curse is pretty common in that region. That's why I think that you should start there if you want to learn about its origins.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 34505-03.html">So, what should I do?</Button><br>
You don't know any news, do you? Lately the spirits on the Windy Hill have somehow changed.<br>
It is possible that the reason lies in Queen Navari's overindulgence in the Wind Spirit Realm's power. There is nothing we can do about it but we can check if my hunch is right.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 34505-03.html">Should I go to the Windy Hill?</Button>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Tarti:<br>
To be honest, I'm not quite sure mysself what you need to look for. What I am sure is that this adventure will benefit you greatly. Consider it training.<br>
On you go! Oh!.. You know about <font color="LEVEL">skill</font> training, right?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 34505-04.html">"Tell me everything!".</Button>
Hm... Yes, you should take a good look at the Windy Hill spirits.<br>
There are some researchers who examine the influence of the Wind Spirit Realm. According to their findings, the spirits there are quite dangerous.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits 34505-04.html">"What should I do?".</Button>
</body></html>

View File

@ -1,7 +1,7 @@
<html><body>Tarti:<br>
In the <font color="LEVEL">Ruins of Agony</font> you will find <font color="LEVEL">Carcass Bats</font> and <font color="LEVEL">Vampires</font>.<br>
I think Vampires might have something to do with the curse. I've heard that you can gain a <font color="LEVEL">Secret Material</font> if you defeat Carcass Bats and Vampires.<br>
Find the Secret Material and give it to <font color="LEVEL">Guard Kallesin</font>.<br>
I don't want you to get lost on your way to the ruins so I'll send you right there.<br>
The Windy Hill has been the domain of spirits called the Sobbing Wind, the Whispering Wind and the Giggling Wind. They, however, have changed quite drastically lately.<br>
If instead of them you find creatures called <font color="LEVEL">Sobbing Windra, Whispering Windra and Giggling Windra</font> destroy them without second thought.<br>
After you're done report to Researcher Pio.<br>
I Will teleport you right to the Windy Hill.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11036_ChangedSpirits teleport">Teleport</Button><br>
</body></html>

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 20, and players who have not completed 2nd profession.<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession. Character level must be 40!<br>
</body></html>

View File

@ -49,7 +49,7 @@ public class Q11036_ChangedSpirits extends Quest
private static final int WHISPERING_BREEZE = 24392;
private static final int LAUGHING_BREEZE = 24393;
// Items
private static final ItemHolder SOE_SILVAN = new ItemHolder(80681, 1);
private static final ItemHolder SOE_PIO = new ItemHolder(80681, 1);
// Location
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-74631, 94630, -3736);
// Misc
@ -62,7 +62,7 @@ public class Q11036_ChangedSpirits extends Quest
addStartNpc(TARTI);
addTalkId(TARTI, PIO);
addKillId(SOBBING_BREEZE, WHISPERING_BREEZE, LAUGHING_BREEZE);
registerQuestItems(SOE_SILVAN.getId());
registerQuestItems(SOE_PIO.getId());
addCondMinLevel(MIN_LEVEL, "34505-06.html");
addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "34505-06.html");
setQuestNameNpcStringId(NpcStringId.LV_40_76_CHANGED_SPIRITS);
@ -82,6 +82,7 @@ public class Q11036_ChangedSpirits extends Quest
{
case "34505-02.html":
case "34505-04.html":
case "33963-02.html":
{
htmltext = event;
break;
@ -100,7 +101,7 @@ public class Q11036_ChangedSpirits extends Quest
}
break;
}
case "33963-02.html":
case "33963-03.html":
{
if (qs.isCond(2))
{
@ -186,7 +187,7 @@ public class Q11036_ChangedSpirits extends Quest
{
qs.setCond(2, true);
qs.unset(KILL_COUNT_VAR);
giveItems(killer, SOE_SILVAN);
giveItems(killer, SOE_PIO);
showOnScreenMsg(killer, NpcStringId.USE_SCROLL_OF_ESCAPE_PIO_IN_YOUR_INVENTORY_NTALK_TO_PIO_TO_COMPLETE_THE_QUEST, ExShowScreenMessage.TOP_CENTER, 10000);
}
}

View File

@ -1,4 +1,6 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Since Faeron has appeared in the Material Realm, energy of the Wind Spirit Realm is influencing on the Windy Hill markedly.<br>
We could handle the situation before, but now all is changing too fast.<br>
We are trying to sort out the situation, but we have not enough time.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-02.html">How can I help you?</Button>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Guard Kallesin:<br>
So, that's you they've sent from Gludio? I use this material to deal with the curse. Thank you!<br>
It will be hard to pull this one off, so if you excuse me...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-03.html">Do you need help?</Button>
<html><body>Researcher Pio:<br>
The creatures don't belong to the Material Realm, they are living in the Wind Spirit Realm. When Faeron had appeared, several Ratel were transfered to the Material Realm. Now they are wandering everywhere, and not long ago have started to attack people.<br>
We've planned so many researches, so it's hard for me to manage everything. Also since Ratel have become dangerously aggressive, researchers can't get near to them.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-03.html">How can I help you?</Button>
</body></html>

View File

@ -1,4 +1,7 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere teleport">Confirm</Button>
<html><body>Researcher Pio:<br>
This isn't going to end in anything good, if there are too many Ratel.<br>
To prevent the grim future you have to kill Fear Ratel and Fear Ratel Robust.<br>
I suppose you don't know where to find the creatures, so I'll teleport you to them.<br>
When your mission is done, come back to me.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere teleport">Teleport</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-05.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Have you dealt with Ratel?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-05.html">Nod</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Thank you. But I'm afraid Ratel are not the biggest problem.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11037_WhyAreTheRatelHere 33963-07.html">What are you talking about?</Button>
</body></html>

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 20, and players who have not completed 2nd profession.<br>
<html><body>Researcher Pio:<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession. Character level must be 45!<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Researcher Pio:<br>
Growlers! There are too many of them.<br>
If we do nothing, Ratel would seem a child's play in comparison with growlers. We have to hurry up while we can deal with them.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-02.html">Learn more</Button>
</body></html>

View File

@ -79,6 +79,7 @@ public class Q11037_WhyAreTheRatelHere extends Quest
switch (event)
{
case "33963-03.html":
case "33963-05.html":
{
htmltext = event;
break;
@ -97,7 +98,7 @@ public class Q11037_WhyAreTheRatelHere extends Quest
}
break;
}
case "33963-05.html":
case "33963-07.html":
{
if (qs.isCond(2))
{

View File

@ -1,4 +1,5 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Growlers! There are too many of them.<br>
If we do nothing, Ratel would seem a child's play in comparison with growlers. We have to hurry up while we can deal with them.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-02.html">Learn more</Button>
</body></html>

View File

@ -1,5 +1,6 @@
<html><body>Guard Kallesin:<br>
So, that's you they've sent from Gludio? I use this material to deal with the curse. Thank you!<br>
It will be hard to pull this one off, so if you excuse me...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-03.html">Do you need help?</Button>
<html><body>Researcher Pio:<br>
I think growlers have become more aggressive for some reason.<br>
No doubt. We have to find out why they have become so furious...<br>
Will you help me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-03.html">How can I help you?</Button>
</body></html>

View File

@ -1,4 +1,7 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent teleport">Confirm</Button>
<html><body>Researcher Pio:<br>
I assume Corrupted Energy is influencing on growlers.<br>
I've kept watch over them and almost sure I'm right.<br>
We need to study Corrupted Energy. That's why you have to kill Fear Growler, Fear Growler Evolved and Fear Growler Robust, gather the energy and bring it to me.<br>
I suppose you don't know where to find the creatures, so I'll teleport you to them.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent teleport">Teleport</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-05.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Do you have the Corrupted Energy??<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11038_GrowlersTurnedViolent 33963-05.html">Nod</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Thank you! But there is one more trouble.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-02.html">What do you mean?</Button>
</body></html>

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 20, and players who have not completed 2nd profession.<br>
<html><body>Researcher Pio:<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession.<br>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Thank you! But there is one more trouble.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-02.html">What do you mean?</Button>
</body></html>

View File

@ -1,5 +1,6 @@
<html><body>Guard Kallesin:<br>
So, that's you they've sent from Gludio? I use this material to deal with the curse. Thank you!<br>
It will be hard to pull this one off, so if you excuse me...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-03.html">Do you need help?</Button>
<html><body>Researcher Pio:<br>
Spirits always have been very different from us. But now they are too rampageous.<br>
Before now we could talk to each other!<br>
But not long ago they stopped speaking with us.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-03.html">Ask what's the problem</Button>
</body></html>

View File

@ -1,4 +1,7 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown teleport">Confirm</Button>
<html><body>Researcher Pio:<br>
Hurt? Well... Maybe you are right. But make hurt all of them at the same time?<br>
I've got an idea!<br>
Someone wants to make spirits suffer. So we have to find out what is hurting them.<br>
I will teleport you right to the spirits. Defeat Fussy Leaf and Fussy Arbor and find something to prove our theory.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown teleport">Teleport</Button>
</body></html>

View File

@ -1,4 +1,4 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-05.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Any good news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11039_CommunicationBreakdown 33963-05.html">Show embedded shards</Button>
</body></html>

View File

@ -1,4 +1,6 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Oh my... Did you find it in spirits' bodies?<br>
Thank you! I think spirits will be thankful too.<br>
We should consider what we can do.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-02.html">What are you talking about?</Button>
</body></html>

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 20, and players who have not completed 2nd profession.<br>
<html><body>Researcher Pio:<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession.<br>
</body></html>

View File

@ -1,4 +1,6 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-02.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Oh my... Did you find it in spirits' bodies?<br>
Thank you! I think spirits will be thankful too.<br>
We should consider what we can do.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-02.html">What are you talking about?</Button>
</body></html>

View File

@ -1,5 +1,5 @@
<html><body>Guard Kallesin:<br>
So, that's you they've sent from Gludio? I use this material to deal with the curse. Thank you!<br>
It will be hard to pull this one off, so if you excuse me...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-03.html">Do you need help?</Button>
<html><body>Researcher Pio:<br>
Because of spirits' transformation the forest itself has become furious.<br>
I've never seen the forest in such state.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-03.html">Is the forest furious?</Button>
</body></html>

View File

@ -1,4 +1,7 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest teleport">Confirm</Button>
<html><body>Researcher Pio:<br>
Have you seen Tiny Windima and Giant Windima?<br>
They are forest spirits born by anger of the forest.<br>
I never saw so many Windima.<br>
I have to stay here to complete my researches, But I don't know how we can deal with Windima<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-04.html">I'll help you.</Button>
</body></html>

View File

@ -1,4 +1,8 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 33963-05.html">Confirm</Button>
<html><body>Researcher Pio:<br>
Really? I can feel anger of the forest even here.<br>
We've done everything to calm the forest but all for nothing.<br>
If we don't make a move, its anger can damage the town. We can't let it be.<br>
We have to defeat mad and vicious Tiny Windima and Giant Windima.<br>
I will teleport you right to them.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest teleport">Teleport</Button>
</body></html>

View File

@ -1,3 +1,3 @@
<html><body>Tarti:<br>
<font color="LEVEL">Artey</font> cannot participate in this quest! The minimum level should be 20, and players who have not completed 2nd profession.<br>
<html><body>Researcher Pio:<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession.<br>
</body></html>

View File

@ -1,4 +1,5 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<html><body>Tarti:<br>
It's terrible that we can't quell the anger of the forest.<br>
Have you defeated the Tiny Windima and Giant Windima?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 34505-02.html">Confirm</Button>
</body></html>

View File

@ -1,4 +1,8 @@
<html><body>Guard Kallesin:<br>
So, what brings you to me? Ah, is it about the Secret Material?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11040_AttackOfTheEnragedForest 34505-02.html">Confirm</Button>
<html><body>Tarti:<br>
We must calm the enraged forest as soon as possible and restore peace.<br>
So... It's time for the third <font color="LEVEL">class change</font>.<br>
I never doubted that you would grow stronger each day, but this is truly impressive...<br>
Everything's happening so fast that I haven't even finished my research on the Wind Spirit Realm's Relic.<br>
I met with Navari in Faeron, talked to High Priest Gereth, discussed some things with Karly and have only recently returned.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11026_PathOfDestinyConviction 34505-02.html">What is this thing?</Button>
</body></html>

View File

@ -20,6 +20,7 @@ import java.util.HashSet;
import java.util.Set;
import org.l2jmobius.gameserver.enums.QuestSound;
import org.l2jmobius.gameserver.instancemanager.QuestManager;
import org.l2jmobius.gameserver.model.Location;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
@ -31,12 +32,13 @@ import org.l2jmobius.gameserver.model.quest.State;
import org.l2jmobius.gameserver.network.NpcStringId;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.Q11026_PathOfDestinyConviction.Q11026_PathOfDestinyConviction;
import quests.Q11039_CommunicationBreakdown.Q11039_CommunicationBreakdown;
/**
* Attack of the Enraged Forest (11040)
* @URL https://l2wiki.com/Attack_of_the_Enraged_Forest
* @author Dmitri
* @author Dmitri, Mobius
*/
public class Q11040_AttackOfTheEnragedForest extends Quest
{
@ -51,6 +53,7 @@ public class Q11040_AttackOfTheEnragedForest extends Quest
private static final Location TRAINING_GROUNDS_TELEPORT = new Location(-91374, 92270, -3360);
// Misc
private static final String KILL_COUNT_VAR = "KillCount";
private static final int MIN_LEVEL = 66;
public Q11040_AttackOfTheEnragedForest()
{
@ -59,6 +62,7 @@ public class Q11040_AttackOfTheEnragedForest extends Quest
addTalkId(PIO, TARTI);
addKillId(TINY_WHIRLWIND, GIANT_WHIRLWIND);
registerQuestItems(SOE_TARTI.getId());
addCondMinLevel(MIN_LEVEL, "33963-06.html");
addCondCompletedQuest(Q11039_CommunicationBreakdown.class.getSimpleName(), "33963-06");
setQuestNameNpcStringId(NpcStringId.LV_40_76_ATTACK_OF_THE_ENRAGED_FOREST);
}
@ -76,6 +80,7 @@ public class Q11040_AttackOfTheEnragedForest extends Quest
switch (event)
{
case "33963-03.html":
case "33963-04.html":
case "33963-05.html":
{
htmltext = event;
@ -103,6 +108,13 @@ public class Q11040_AttackOfTheEnragedForest extends Quest
giveAdena(player, 240000, true);
qs.exitQuest(false, true);
htmltext = event;
// Initialize next quest.
final Quest nextQuest = QuestManager.getInstance().getQuest(Q11026_PathOfDestinyConviction.class.getSimpleName());
if (nextQuest != null)
{
nextQuest.newQuestState(player);
}
}
break;
}

View File

@ -711,6 +711,7 @@
<set name="is_depositable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_questitem" val="true" />
</item>
<item id="80672" name="Breath of Death" type="EtcItem">
<!-- The source of the energy that reanimates dead beings. Gather and take them to Tarti in the Town of Gludio. -->