NPC id change for quest 10821.
Contributed by Dmitri.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
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>
|
||||
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>
|
@@ -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>
|
||||
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>
|
||||
<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>
|
@@ -1,5 +1,5 @@
|
||||
<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>
|
||||
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>
|
@@ -1,5 +1,5 @@
|
||||
<html><body>Sir Kristof Rodemai:<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>
|
||||
<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>
|
@@ -32,7 +32,7 @@ import quests.Q10817_ExaltedOneWhoOvercomesTheLimit.Q10817_ExaltedOneWhoOvercome
|
||||
public class Q10821_HelpingOthers extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int SIR_ERIC_RODEMAI = 30868;
|
||||
private static final int SIR_ERIC_RODEMAI = 30756;
|
||||
// Items
|
||||
private static final int MENTEE_MARK = 33804;
|
||||
private static final int DAICHIR_SERTIFICATE = 45628;
|
||||
@@ -49,8 +49,8 @@ public class Q10821_HelpingOthers extends Quest
|
||||
super(10821);
|
||||
addStartNpc(SIR_ERIC_RODEMAI);
|
||||
addTalkId(SIR_ERIC_RODEMAI);
|
||||
addCondMinLevel(MIN_LEVEL, "30868-02.html");
|
||||
addCondStartedQuest(Q10817_ExaltedOneWhoOvercomesTheLimit.class.getSimpleName(), "30868-03.html");
|
||||
addCondMinLevel(MIN_LEVEL, "30756-02.html");
|
||||
addCondStartedQuest(Q10817_ExaltedOneWhoOvercomesTheLimit.class.getSimpleName(), "30756-03.html");
|
||||
// registerQuestItems(MENTEE_MARK); Should they be removed when abandoning quest?
|
||||
}
|
||||
|
||||
@@ -66,19 +66,19 @@ public class Q10821_HelpingOthers extends Quest
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30868-04.htm":
|
||||
case "30868-05.htm":
|
||||
case "30756-04.htm":
|
||||
case "30756-05.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30868-06.html":
|
||||
case "30756-06.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30868-09.html":
|
||||
case "30756-09.html":
|
||||
{
|
||||
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))
|
||||
{
|
||||
htmltext = "30868-10.html";
|
||||
htmltext = "30756-10.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -118,18 +118,18 @@ public class Q10821_HelpingOthers extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = "30868-01.htm";
|
||||
htmltext = "30756-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (getQuestItemsCount(player, MENTEE_MARK) >= 45000)
|
||||
{
|
||||
htmltext = "30868-08.html";
|
||||
htmltext = "30756-08.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30868-07.html";
|
||||
htmltext = "30756-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user