Partial sync L2jUnity free release Feb 16th 2015.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
What do you know about Pailaka? The Ivory Tower discovered it shortly after Kamaloka.<br>
|
||||
Apparently, it's a kind of "pocket reality" created by Kamaloka's energy acting on places that are filled with a high degree of chaos: old battlefields or the sites of powerful magical experiments, for example.<br>
|
||||
Although Pailaka is not part of our reality, what happens there can affect our world...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32497-02.htm">Keep listening.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32497-02.htm">"Ah... Please go on."</Button>
|
||||
</body></html>
|
@@ -1,9 +1,8 @@
|
||||
<html><body>Inspector Adler:<br>
|
||||
We inspectors were sent by the Ivory Tower to find more about that place.<br>
|
||||
We followed the flow of mana and traced the energy of Kamaloka to find likely spots.<br>
|
||||
At present, Pailaka has not affected our reality, but who knows what may happen in time? It may even impact next year's harvest.<br>
|
||||
We discovered Pailaka in the Forgotten Temple close to here. If you are willing, I would like you to enter Pailaka and restore order. Will you do it?<br>
|
||||
<font color="LEVEL">(You will be rewarded for your efforts. Vitality points will be granted to you immediately upon completing the quest. If you receive the reward while your Vitality Level is high, though, you may notice a slight reduction.)</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32497-03.htm">Say yes.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32497-04.htm">Say no.</Button>
|
||||
The Ivory Tower sent our inspection team to find out what we could about the place.<br>
|
||||
We followed the flow of mana, tracing the energy of Kamaloka to find likely spots to look.<br>
|
||||
So far, it seems that Pailaka has not affected our reality, but who knows what may happen as time goes by? It might even impact next year's harvest!<br>
|
||||
We found Pailaka, it's in the Forgotten Temple, very close to here. If you are willing, I'd like you to enter Pailaka and restore order. Can I trust you to do so?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32497-03.htm">"Absolutely."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32497-04.htm">Quest</Button>
|
||||
</body></html>
|
@@ -1,3 +1,3 @@
|
||||
<html><body>Inspector Adler:<br>
|
||||
<html><body>Investigator Adler:<br>
|
||||
It is time for you to use the Scroll of Escape I gave you.
|
||||
</body></html>
|
@@ -1,6 +1,17 @@
|
||||
<html><body>Inspector Adler:<br>
|
||||
The Spirite's power is flowing smoothly. You have certainly justfield my trust in you!<br>
|
||||
Thanks to you, we are rapidy restoring stability. Of course, that means the dimensional portal that connects your world to ours is also quickly closing.<br>
|
||||
Hurry and take my hand! That sword belongs to this dimension, so you'd best leave it behind. Ah, I can see you'd rather keep it -- but such a powerful item may desrupt travel between dimensions!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 32510-02.htm">Take his hand.</Button>
|
||||
It seems I chose wisely when I asked you to take on this task. The power levels here are stabilizing. <br>
|
||||
Thanks to you, the connection between our world and this other dimension is fading!<br>
|
||||
Here, take my hand! And leave that sword behind! It belongs to this dimension and will block us from returning! You can have one of these fine weapons to replace it. Choose whichever you'd like, but hurry!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 226">Cursed Dagger</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 160">Battle Axe</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 72">StormBringer</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 232">Dark Elven Dagger</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 192">Crystal Staff</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 194">Heavy Doom Axe</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 263">Chakram</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 193">Stick of Faith</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 173">Skull Graver</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 281">Crystallized Ice Bow</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 298">Orcish Glaive</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00128_PailakaSongOfIceAndFire 71">Flamberge</Button>
|
||||
</body></html>
|
@@ -1,3 +1,3 @@
|
||||
<html><body>Inspector Adler:<br>
|
||||
Please accept this Scroll of Escape. Its power will allow you to safely return to your world.
|
||||
<html><body>Investigator Adler:<br>
|
||||
A fine choice. Use it well. Also, take this Scroll of Escape. It should take you back to where you came from.
|
||||
</body></html>
|
@@ -21,7 +21,6 @@ import com.l2jmobius.gameserver.instancemanager.InstanceManager;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.entity.Instance;
|
||||
import com.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
@@ -59,17 +58,10 @@ public final class Q00128_PailakaSongOfIceAndFire extends Quest
|
||||
private static final int HEAL_POTION = 13033;
|
||||
private static final int FIRE_ENHANCER = 13040;
|
||||
private static final int WATER_ENHANCER = 13041;
|
||||
private static final int[] REWARDS =
|
||||
{
|
||||
13294, // Pailaka Ring
|
||||
13293, // Pailaka Earring
|
||||
736, // Scroll of Escape
|
||||
};
|
||||
// Skills
|
||||
private static SkillHolder VITALITY_REPLENISHING = new SkillHolder(5774, 1);
|
||||
private static final int SCROLL_OF_ESCAPE = 736;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 36;
|
||||
private static final int MAX_LEVEL = 42;
|
||||
private static final int MIN_LEVEL = 49;
|
||||
private static final int MAX_LEVEL = 55;
|
||||
private static final int EXIT_TIME = 5;
|
||||
|
||||
public Q00128_PailakaSongOfIceAndFire()
|
||||
@@ -78,6 +70,8 @@ public final class Q00128_PailakaSongOfIceAndFire extends Quest
|
||||
addStartNpc(ADLER1);
|
||||
addTalkId(ADLER1, ADLER2, SINAI, INSPECTOR);
|
||||
addKillId(HILLAS, PAPION, KINSUS, GARGOS, ADIANTUM);
|
||||
addCondMinLevel(MIN_LEVEL, "32497-05.htm");
|
||||
addCondMaxLevel(MAX_LEVEL, "32497-06.htm");
|
||||
registerQuestItems(SWORD, ENH_SWORD1, ENH_SWORD2, BOOK1, BOOK2, BOOK3, BOOK4, BOOK5, BOOK6, BOOK7, WATER_ESSENCE, FIRE_ESSENCE, SHIELD_POTION, HEAL_POTION, FIRE_ENHANCER, WATER_ENHANCER);
|
||||
}
|
||||
|
||||
@@ -152,25 +146,28 @@ public final class Q00128_PailakaSongOfIceAndFire extends Quest
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32510-02.htm":
|
||||
case "226": // Cursed Dagger
|
||||
case "160": // Battle Axe
|
||||
case "72": // StormBringer
|
||||
case "232": // Dark Elven Dagger
|
||||
case "192": // Crystal Staff
|
||||
case "194": // Heavy Doom Axe
|
||||
case "263": // Chakram
|
||||
case "193": // Stick of Faith
|
||||
case "173": // Skill Graver
|
||||
case "281": // Crystallized Ice Bow
|
||||
case "298": // Orcish Glaive
|
||||
case "71": // Flamberge
|
||||
{
|
||||
qs.exitQuest(false, true);
|
||||
|
||||
final Instance inst = InstanceManager.getInstance().getInstance(npc.getInstanceId());
|
||||
inst.setDuration(EXIT_TIME * 60000);
|
||||
inst.setEmptyDestroyTime(0);
|
||||
|
||||
if (inst.containsPlayer(player.getObjectId()))
|
||||
{
|
||||
npc.setTarget(player);
|
||||
npc.doCast(VITALITY_REPLENISHING.getSkill());
|
||||
addExpAndSp(player, 810000, 50000);
|
||||
for (int id : REWARDS)
|
||||
{
|
||||
giveItems(player, id, 1);
|
||||
}
|
||||
}
|
||||
htmltext = event;
|
||||
qs.exitQuest(false, true);
|
||||
giveAdena(player, 187200, true);
|
||||
addExpAndSp(player, 1860000, 446);
|
||||
giveItems(player, SCROLL_OF_ESCAPE, 1);
|
||||
giveItems(player, Integer.parseInt(event), 1);
|
||||
htmltext = "32510-2.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -195,18 +192,7 @@ public final class Q00128_PailakaSongOfIceAndFire extends Quest
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
htmltext = "32497-05.htm";
|
||||
}
|
||||
else if (player.getLevel() > MAX_LEVEL)
|
||||
{
|
||||
htmltext = "32497-06.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "32497-01.htm";
|
||||
}
|
||||
htmltext = "32497-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
|
@@ -21,7 +21,6 @@ import com.l2jmobius.gameserver.instancemanager.InstanceManager;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.entity.Instance;
|
||||
import com.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
@@ -54,8 +53,6 @@ public final class Q00129_PailakaDevilsLegacy extends Quest
|
||||
private static final int PAILAKA_KEY = 13150; // Pailaka All-Purpose Key
|
||||
private static final int BRACELET = 13295; // Pailaka Bracelet
|
||||
private static final int ESCAPE = 736; // Scroll of Escape
|
||||
// Skills
|
||||
private static final SkillHolder VITALITY_REPLENISHING = new SkillHolder(5774, 2); // Pailaka Reward Vitality Replenishing
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 61;
|
||||
private static final int MAX_LEVEL = 67;
|
||||
@@ -225,7 +222,6 @@ public final class Q00129_PailakaDevilsLegacy extends Quest
|
||||
{
|
||||
htmltext = "32508-00.htm";
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case ADVENTURER2:
|
||||
@@ -242,9 +238,8 @@ public final class Q00129_PailakaDevilsLegacy extends Quest
|
||||
inst.setEmptyDestroyTime(0);
|
||||
if (inst.containsPlayer(player.getObjectId()))
|
||||
{
|
||||
npc.setTarget(player);
|
||||
npc.doCast(VITALITY_REPLENISHING.getSkill());
|
||||
addExpAndSp(player, 10800000, 950000);
|
||||
addExpAndSp(player, 4010000, 962);
|
||||
giveAdena(player, 411500, true);
|
||||
rewardItems(player, BRACELET, 1);
|
||||
rewardItems(player, ESCAPE, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user