Custom quest fixes.

Contributed by Edoo.
This commit is contained in:
MobiusDevelopment 2019-10-24 21:45:50 +00:00
parent e71cc857d4
commit 4644d87157
9 changed files with 27 additions and 30 deletions

View File

@ -80,11 +80,7 @@ public class Q00589_ASecretChange extends Quest
{
case "accept.htm":
{
if (qs.isCreated())
{
qs.startQuest();
qs.setCond(KILLING_COND);
}
qs.startQuest();
break;
}
case "reward.html":

View File

@ -0,0 +1,4 @@
<html><body>Corzet:<br>
On your way here, did you see any investigators? I hope they are okay... Ah, maybe I am not in a position to worry about others. <br>
(This quest is for characters level 95 and higher who have completed the "A Secret Change" quest.)
</body></html>

View File

@ -28,6 +28,8 @@ import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
import org.l2jmobius.gameserver.network.NpcStringId;
import quests.custom.Q00589_ASecretChange.Q00589_ASecretChange;
/**
* To Each Their Own (590)
* @URL https://l2wiki.com/To_Each_Their_Own
@ -64,6 +66,7 @@ public class Q00590_ToEachTheirOwn extends Quest
registerQuestItems(MONSTER_DROP);
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
addCondMaxLevel(MAX_LEVEL, getNoQuestMsg(null));
addCondCompletedQuest(Q00589_ASecretChange.class.getSimpleName(), "34424-05.htm");
}
@Override
@ -79,11 +82,7 @@ public class Q00590_ToEachTheirOwn extends Quest
{
case "accept.htm":
{
if (qs.isCreated())
{
qs.startQuest();
qs.setCond(KILLING_COND);
}
qs.startQuest();
break;
}
case "reward.html":

View File

@ -80,11 +80,7 @@ public class Q00589_ASecretChange extends Quest
{
case "accept.htm":
{
if (qs.isCreated())
{
qs.startQuest();
qs.setCond(KILLING_COND);
}
qs.startQuest();
break;
}
case "reward.html":

View File

@ -0,0 +1,4 @@
<html><body>Corzet:<br>
On your way here, did you see any investigators? I hope they are okay... Ah, maybe I am not in a position to worry about others. <br>
(This quest is for characters level 95 and higher who have completed the "A Secret Change" quest.)
</body></html>

View File

@ -28,6 +28,8 @@ import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
import org.l2jmobius.gameserver.network.NpcStringId;
import quests.custom.Q00589_ASecretChange.Q00589_ASecretChange;
/**
* To Each Their Own (590)
* @URL https://l2wiki.com/To_Each_Their_Own
@ -64,6 +66,7 @@ public class Q00590_ToEachTheirOwn extends Quest
registerQuestItems(MONSTER_DROP);
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
addCondMaxLevel(MAX_LEVEL, getNoQuestMsg(null));
addCondCompletedQuest(Q00589_ASecretChange.class.getSimpleName(), "34424-05.htm");
}
@Override
@ -79,11 +82,7 @@ public class Q00590_ToEachTheirOwn extends Quest
{
case "accept.htm":
{
if (qs.isCreated())
{
qs.startQuest();
qs.setCond(KILLING_COND);
}
qs.startQuest();
break;
}
case "reward.html":

View File

@ -80,11 +80,7 @@ public class Q00589_ASecretChange extends Quest
{
case "accept.htm":
{
if (qs.isCreated())
{
qs.startQuest();
qs.setCond(KILLING_COND);
}
qs.startQuest();
break;
}
case "reward.html":

View File

@ -0,0 +1,4 @@
<html><body>Corzet:<br>
On your way here, did you see any investigators? I hope they are okay... Ah, maybe I am not in a position to worry about others. <br>
(This quest is for characters level 95 and higher who have completed the "A Secret Change" quest.)
</body></html>

View File

@ -28,6 +28,8 @@ import org.l2jmobius.gameserver.model.quest.QuestState;
import org.l2jmobius.gameserver.model.quest.State;
import org.l2jmobius.gameserver.network.NpcStringId;
import quests.custom.Q00589_ASecretChange.Q00589_ASecretChange;
/**
* To Each Their Own (590)
* @URL https://l2wiki.com/To_Each_Their_Own
@ -64,6 +66,7 @@ public class Q00590_ToEachTheirOwn extends Quest
registerQuestItems(MONSTER_DROP);
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
addCondMaxLevel(MAX_LEVEL, getNoQuestMsg(null));
addCondCompletedQuest(Q00589_ASecretChange.class.getSimpleName(), "34424-05.htm");
}
@Override
@ -79,11 +82,7 @@ public class Q00590_ToEachTheirOwn extends Quest
{
case "accept.htm":
{
if (qs.isCreated())
{
qs.startQuest();
qs.setCond(KILLING_COND);
}
qs.startQuest();
break;
}
case "reward.html":