Fixed some Pailaka Injured Dragon issues.

Contributed by Mathael.
This commit is contained in:
MobiusDev
2016-08-09 20:22:39 +00:00
parent 4d6d4ef37f
commit fda112131d
5 changed files with 78 additions and 143 deletions

View File

@@ -3,4 +3,4 @@ You have done it!<br>
You have lifted the curse! I no longer feel the taint of darkness upon our Atlar of Fire!<br>
Warrior, I wish you could stay heer with us, but our shaman decrees that you must leave...<br>
Here is a Scroll of Escape that he has prepared for you. Use it to return safely to your world.
</body></html>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Ketra Orc Supporter:<br>
Use the Scroll of Escape that I gave you to return to your world.
</body></html>
</body></html>

View File

@@ -306,6 +306,17 @@ public class Q00144_PailakaInjuredDragon extends Quest
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return getNoQuestMsg(player);
}
return qs.getState() == State.COMPLETED ? "32512-03.html" : "32512-01.html";
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{