Proper dialogue extensions for recently committed quests.

This commit is contained in:
MobiusDev
2016-02-11 09:22:07 +00:00
parent 36ce794ee4
commit b2cafd8e2e
98 changed files with 112 additions and 116 deletions

View File

@@ -23,7 +23,7 @@ import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
/**
* @hlwrave
* @author hlwrave
*/
public class Q00755_InNeedOfPetras extends Quest
{
@@ -63,7 +63,7 @@ public class Q00755_InNeedOfPetras extends Quest
addTalkId(AKU);
addKillId(MONSTERS);
registerQuestItems(PETRA);
addCondMinLevel(MIN_LEVEL, "sofa_aku_q0755_05.htm");
addCondMinLevel(MIN_LEVEL, "sofa_aku_q0755_05.html");
}
@Override
@@ -77,7 +77,7 @@ public class Q00755_InNeedOfPetras extends Quest
return getNoQuestMsg(player);
}
if (event.equals("sofa_aku_q0755_04.htm"))
if (event.equals("sofa_aku_q0755_04.html"))
{
qs.startQuest();
}
@@ -98,7 +98,7 @@ public class Q00755_InNeedOfPetras extends Quest
{
if (qs.isCond(1))
{
htmltext = "sofa_aku_q0755_07.htm";
htmltext = "sofa_aku_q0755_07.html";
}
else if (qs.isCond(2))
{
@@ -107,12 +107,12 @@ public class Q00755_InNeedOfPetras extends Quest
qs.giveItems(AKUS_SUPPLY_BOX, 1);
qs.giveItems(ENERGY_OF_DESTRUCTION, 1);
qs.exitQuest(QuestType.DAILY, true);
htmltext = "sofa_aku_q0755_08.htm";
htmltext = "sofa_aku_q0755_08.html";
}
}
else if (qs.isCompleted())
{
htmltext = "sofa_aku_q0755_06.htm";
htmltext = "sofa_aku_q0755_06.html";
}
return htmltext;

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Hmm? Oh, it's you! I'm so glad you are here. Could you collect <font color="LEVEL">Petra</font> for me again?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.htm">"Sure."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.html">"Sure."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
I'm collecting <font color="LEVEL">Petra</font> right now, and I need help. You look like you need something to do, hee! <br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.htm">"Sure, I'll help."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.html">"Sure, I'll help."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Hee, hat's what I like to hear! Go to <font color="LEVEL">Seed of Hellfire</font> and kill the Zofans. They carry the <font color="LEVEL">Petra</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_04.htm">"Here I go!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_04.html">"Here I go!"</button>
</body></html>