NPC id change for quest 10821.

Contributed by Dmitri.
This commit is contained in:
MobiusDevelopment
2019-11-25 19:47:58 +00:00
parent 2ef03518aa
commit 18b17427a6
11 changed files with 15 additions and 15 deletions

View File

@@ -2,5 +2,5 @@
Young traveler, has Lionel Hunter sent you here? Then I should greet you properly.<br> Young traveler, has Lionel Hunter sent you here? Then I should greet you properly.<br>
I'm Kristof Rodemai. You must have met my son already. How was he? He's not too skilled, but he's thorough in his work.<br> I'm Kristof Rodemai. You must have met my son already. How was he? He's not too skilled, but he's thorough in his work.<br>
Just like me. My test might seem easy for some, harder for others. But it's about what a strong warrior must possess.<br> Just like me. My test might seem easy for some, harder for others. But it's about what a strong warrior must possess.<br>
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10821_HelpingOthers 30868-04.htm">"What is it?"</Button> <Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10821_HelpingOthers 30756-04.htm">"What is it?"</Button>
</body></html> </body></html>

View File

@@ -2,5 +2,5 @@
If you want to become a truly strong warrior, you must know how to care for those who are weaker.<br> If you want to become a truly strong warrior, you must know how to care for those who are weaker.<br>
You were weak once as well. And I'm sure that you were helped by someone to get this far.<br> You were weak once as well. And I'm sure that you were helped by someone to get this far.<br>
You must not forget that just because you've become stronger.<br> You must not forget that just because you've become stronger.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10821_HelpingOthers 30868-05.htm">"What should I do?"</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10821_HelpingOthers 30756-05.htm">"What should I do?"</Button>
</body></html> </body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sir Kristof Rodemai:<br> <html><body>Sir Kristof Rodemai:<br>
Those who are strong must help those who are weaker. Without helping those around, one cannot become truly powerful.<br> Those who are strong must help those who are weaker. Without helping those around, one cannot become truly powerful.<br>
I want to check that you know how care for those who are weaker.<br> I want to check that you know how care for those who are weaker.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10821_HelpingOthers 30868-06.html">"How can I prove that?"</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10821_HelpingOthers 30756-06.html">"How can I prove that?"</Button>
</body></html> </body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sir Kristof Rodemai:<br> <html><body>Sir Kristof Rodemai:<br>
You've passed the test I gave you.<br> You've passed the test I gave you.<br>
How was becoming a mentor for those weaker than you? You learned that being a great warrior is not all about just being strong, right?<br> How was becoming a mentor for those weaker than you? You learned that being a great warrior is not all about just being strong, right?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10821_HelpingOthers 30868-09.html">"Yes."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10821_HelpingOthers 30756-09.html">"Yes."</Button>
</body></html> </body></html>

View File

@@ -32,7 +32,7 @@ import quests.Q10817_ExaltedOneWhoOvercomesTheLimit.Q10817_ExaltedOneWhoOvercome
public class Q10821_HelpingOthers extends Quest public class Q10821_HelpingOthers extends Quest
{ {
// NPC // NPC
private static final int SIR_ERIC_RODEMAI = 30868; private static final int SIR_ERIC_RODEMAI = 30756;
// Items // Items
private static final int MENTEE_MARK = 33804; private static final int MENTEE_MARK = 33804;
private static final int DAICHIR_SERTIFICATE = 45628; private static final int DAICHIR_SERTIFICATE = 45628;
@@ -49,8 +49,8 @@ public class Q10821_HelpingOthers extends Quest
super(10821); super(10821);
addStartNpc(SIR_ERIC_RODEMAI); addStartNpc(SIR_ERIC_RODEMAI);
addTalkId(SIR_ERIC_RODEMAI); addTalkId(SIR_ERIC_RODEMAI);
addCondMinLevel(MIN_LEVEL, "30868-02.html"); addCondMinLevel(MIN_LEVEL, "30756-02.html");
addCondStartedQuest(Q10817_ExaltedOneWhoOvercomesTheLimit.class.getSimpleName(), "30868-03.html"); addCondStartedQuest(Q10817_ExaltedOneWhoOvercomesTheLimit.class.getSimpleName(), "30756-03.html");
// registerQuestItems(MENTEE_MARK); Should they be removed when abandoning quest? // registerQuestItems(MENTEE_MARK); Should they be removed when abandoning quest?
} }
@@ -66,19 +66,19 @@ public class Q10821_HelpingOthers extends Quest
switch (event) switch (event)
{ {
case "30868-04.htm": case "30756-04.htm":
case "30868-05.htm": case "30756-05.htm":
{ {
htmltext = event; htmltext = event;
break; break;
} }
case "30868-06.html": case "30756-06.html":
{ {
qs.startQuest(); qs.startQuest();
htmltext = event; htmltext = event;
break; break;
} }
case "30868-09.html": case "30756-09.html":
{ {
if (qs.isCond(1) && (getQuestItemsCount(player, MENTEE_MARK) >= 45000)) if (qs.isCond(1) && (getQuestItemsCount(player, MENTEE_MARK) >= 45000))
{ {
@@ -86,7 +86,7 @@ public class Q10821_HelpingOthers extends Quest
{ {
if (hasQuestItems(player, DAICHIR_SERTIFICATE, ISHUMA_CERTIFICATE, OLYMPIAD_MANAGER_CERTIFICATE)) if (hasQuestItems(player, DAICHIR_SERTIFICATE, ISHUMA_CERTIFICATE, OLYMPIAD_MANAGER_CERTIFICATE))
{ {
htmltext = "30868-10.html"; htmltext = "30756-10.html";
} }
else else
{ {
@@ -118,18 +118,18 @@ public class Q10821_HelpingOthers extends Quest
{ {
case State.CREATED: case State.CREATED:
{ {
htmltext = "30868-01.htm"; htmltext = "30756-01.htm";
break; break;
} }
case State.STARTED: case State.STARTED:
{ {
if (getQuestItemsCount(player, MENTEE_MARK) >= 45000) if (getQuestItemsCount(player, MENTEE_MARK) >= 45000)
{ {
htmltext = "30868-08.html"; htmltext = "30756-08.html";
} }
else else
{ {
htmltext = "30868-07.html"; htmltext = "30756-07.html";
} }
break; break;
} }