Custom Birth of Draco event.
This commit is contained in:
12
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-01.htm
vendored
Normal file
12
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-01.htm
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
I come at the request of Pa'agrio Lord Kakai. Shilen has distributed Draco Eggs among her monsters, spreading the power of darkness. If the Dracos hatch, terrible monsters will run amuck!<br1>
|
||||
Steal <font color="LEVEL">Draco Eggs</font> from their monstrous new families. The Dracos must hatch under our care.<br>
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveAgathion">"Give me a Flame Spirit Summon Bracelet."</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-04.htm">"How do I hatch a Small Draco Egg?"</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-07.htm">"How do I hatch a Large Draco Egg?"</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-09.htm">"I'd like to buy something with the Shattered Egg Shells."</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-09.htm">"Can I get something for giving you 50 Shattered Egg Shells?"</Button>-->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco howtohatch.htm">"How do I hatch a Draco Egg?"</Button><!-- custom -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco lyndraco.htm">"I want to summon a Lyn Draco."</Button><!-- custom -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco rewards.htm">"I'd like to get something with the Shattered Egg Shells."</Button><!-- custom -->
|
||||
</body></html>
|
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-02.htm
vendored
Normal file
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-02.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
Now! Take this <font color="LEVEL">Flame Spirit Agathion Bracelet</font>. You can use this bracelet to call forth a <font color="LEVEL">Flame Spirit Agathion</font>. The Flame Spirit will share the power of Pa'agrio that you can use to incubate the <font color="LEVEL">Draco Eggs</font>.
|
||||
</body></html>
|
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-03.htm
vendored
Normal file
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-03.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
You already received the <font color="LEVEL">Flame Spirit Agathion Bracelet</font>. Use the bracelet to call forth the <font color="LEVEL">Flame Spirit Agathion</font> and incubate the <font color="LEVEL">Draco Eggs</font>.
|
||||
</body></html>
|
10
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-04.htm
vendored
Normal file
10
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-04.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Small Draco Egg</font>.<br>
|
||||
Remember, <font color="LEVEL">you can hatch a Small Draco Egg by yourself</font>.<br>
|
||||
Summon the <font color="LEVEL">Small Draco Egg</font> in your inventory. It will appear with a base temperature of <font color="LEVEL">16 degrees</font>.<br>
|
||||
The <font color="LEVEL">Flame Spirit Agathion</font> can use <font color="LEVEL">Pa'agrio's Hand</font> on the <font color="LEVEL">Small Draco Egg</font> to raise its temperature. But this is not always easy! Even the Flame Spirit struggles to wield Pa'agrio's Hand. <font color="LEVEL">The temperature increase may be anywhere between 1 - 10 degrees</font>.<br>
|
||||
The egg should hatch between 26 - 36 degrees. It will definitely hatch if the temperature hits exactly <font color="LEVEL">37 degrees</font>. After that point, though, it will break!<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
<font color="LEVEL">Oh! One last thing. When you're in a party, your Draco Egg will be summoned at the same time as your other party members' eggs!</font><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
4
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-05.htm
vendored
Normal file
4
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-05.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
I'm sorry! You weren't able to receive a gift this time.<br>
|
||||
But don't get too down. Whenever you bring me <font color="LEVEL">50 Shattered Egg Shells</font>, you will be able to try your luck.
|
||||
</body></html>
|
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-06.htm
vendored
Normal file
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-06.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
You don't have enough <font color="LEVEL">Shattered Egg Shells</font>! You need at least <font color="LEVEL">50</font> to receive a gift.
|
||||
</body></html>
|
10
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-07.htm
vendored
Normal file
10
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-07.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Large Draco Egg</font>.<br>
|
||||
First, <font color="LEVEL">it takes a party to hatch a Large Draco Egg</font>.<br>
|
||||
Second, summon the <font color="LEVEL">Large Draco Egg</font> from your inventory. It will appear with a base temperature of <font color="LEVEL">16 degrees</font>.<br>
|
||||
Third, have the <font color="LEVEL">Flame Spirit Agathion</font> use <font color="LEVEL">Pa'agrio's Hand</font> to raise the egg's temperature. But be warned! Even the Flame Spirit has a hard time handling Pa'agrio's Hand. <font color="LEVEL">The temperature increase may be anywhere between 0.1 - 1 degree</font>.<br>
|
||||
Fourth, the egg should hatch between 36 - 36.9 degrees with room for failure. It will definitely hatch if the temperature hits exactly <font color="LEVEL">37 degrees</font>. But it will break if you exceed that temperature!<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
<font color="LEVEL">Oh! One last thing. <font color="LEVEL">When you're in a party, your Draco Egg will be summoned at the same time as your other party members' eggs</font>!</font><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
8
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-08.htm
vendored
Normal file
8
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-08.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Shattered Egg Shells</font>, and you may get one of the following items:<br>
|
||||
<font color="LEVEL">Small Draco Egg, Large Draco Egg, Draco's Gift, or Draco's Shiny Gift.</font><br>
|
||||
<font color="LEVEL">But not all the time, mind you. You might not get anything at all.</font><br>
|
||||
The choice is yours. Will you try your luck?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftyEggs">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-09.htm
vendored
Normal file
6
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-09.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
If you want, I can bestow my energy to help you hatch multiple <font color="LEVEL">Small Draco Eggs</font> at once.<br>
|
||||
<font color="LEVEL">But remember, a combination of eggs will have multiplied effects as well. You can only get one reward if a <font color="LEVEL">Lyn Draco</font> appears! Oh, and once the eggs are combined, they cannot be separated. Will you still combine them?</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveEggs">"Here, 10 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftyEggs">"Here, 50 eggs."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-10.htm
vendored
Normal file
5
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-10.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Do you want exchange more?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-4300&reply=12">"Here, 10 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-4300&reply=13">"Here, 50 eggs."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-11.htm
vendored
Normal file
3
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/33687-11.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
You don't have enough Small Draco Eggs. I can exchange some for you if you bring more.
|
||||
</body></html>
|
123
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/BirthOfDraco.java
vendored
Normal file
123
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/BirthOfDraco.java
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package events.BirthOfDraco;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
|
||||
/**
|
||||
* Birth of Draco
|
||||
* @URL http://www.lineage2.com/en/news/events/birth-of-draco.php
|
||||
* @author Mobius
|
||||
*/
|
||||
public final class BirthOfDraco extends LongTimeEvent
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASLAN = 33687;
|
||||
private static final int LYN_DRACO = 33828;
|
||||
// Items
|
||||
private static final int SMALL_EGG = 34864;
|
||||
private static final int LARGE_EGG = 34865;
|
||||
private static final int SHATTERED_EGG = 34866;
|
||||
private static final int SHINY_GIFT = 34868;
|
||||
// private static final int AGATHION = 34869; // needs proper ExSendUIEvent
|
||||
|
||||
private BirthOfDraco()
|
||||
{
|
||||
addStartNpc(ASLAN);
|
||||
addFirstTalkId(ASLAN);
|
||||
addTalkId(ASLAN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "33687-01.htm":
|
||||
case "33687-04.htm":
|
||||
case "33687-07.htm":
|
||||
case "33687-08.htm":
|
||||
case "33687-09.htm":
|
||||
case "howtohatch.htm": // custom info
|
||||
case "lyndraco.htm": // custom info
|
||||
case "rewards.htm": // custom info
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "giveFiftySmallEggs":
|
||||
{
|
||||
if (getQuestItemsCount(player, SMALL_EGG) >= 50)
|
||||
{
|
||||
takeItems(player, SMALL_EGG, 50);
|
||||
addSpawn(LYN_DRACO, player.getX(), player.getY(), player.getZ(), player.getHeading() + 32500, true, 180000);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-11.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "getRandomReward":
|
||||
{
|
||||
if (getQuestItemsCount(player, SHATTERED_EGG) >= 50)
|
||||
{
|
||||
takeItems(player, SHATTERED_EGG, 50);
|
||||
if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, SHINY_GIFT, 1);
|
||||
}
|
||||
else if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, LARGE_EGG, 1);
|
||||
}
|
||||
else if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, SMALL_EGG, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-05.htm";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-06.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
/*
|
||||
* case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
|
||||
*/
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
return npc.getId() + "-01.htm";
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new BirthOfDraco();
|
||||
}
|
||||
}
|
26
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/config.xml
vendored
Normal file
26
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/config.xml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Birth of Draco" active="13 05 2012-11 06 2012" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<droplist>
|
||||
<add item="34863" min="1" max="1" chance="3%" /> <!-- Contaminated Draco Egg -->
|
||||
</droplist>
|
||||
<spawnlist>
|
||||
<add npc="33687" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="33687" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="33687" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
|
||||
<add npc="33687" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="33687" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
|
||||
<add npc="33687" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
|
||||
<add npc="33687" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
|
||||
<add npc="33687" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
|
||||
<add npc="33687" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
|
||||
<add npc="33687" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="33687" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
|
||||
<add npc="33687" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
|
||||
<add npc="33687" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
<add npc="33687" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
|
||||
</spawnlist>
|
||||
<messages>
|
||||
<add type="onEnd" text="Birth of Draco: Event end!" />
|
||||
<add type="onEnter" text="Birth of Draco: Event ongoing!" />
|
||||
</messages>
|
||||
</event>
|
7
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/howtohatch.htm
vendored
Normal file
7
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/howtohatch.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Draco Egg</font>.<br>
|
||||
Summon the <font color="LEVEL">Draco Egg</font> from your your inventory.<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
Start hitting the <font color="LEVEL">Draco Egg</font> to raise it's temperature. Bigger eggs need more time to hatch.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
5
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/lyndraco.htm
vendored
Normal file
5
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/lyndraco.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Small Draco Eggs</font> to summon a Lyn Draco that has a chance to drop better quality items.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftySmallEggs">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
5
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/rewards.htm
vendored
Normal file
5
L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/events/BirthOfDraco/rewards.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Shattered Egg Shells</font> and get a random gift, or nothing!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco getRandomReward">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
@@ -2203,55 +2203,63 @@
|
||||
<height normal="50.5" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="19257" level="1" type="L2Npc" name="Small Draco Egg">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<npc id="19257" level="99" type="L2Monster" name="Small Draco Egg">
|
||||
<race>ELEMENTAL</race>
|
||||
<sex>MALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="1" hpRegen="1" mp="1" mpRegen="1" />
|
||||
<stats str="80" int="79" dex="55" wit="78" con="73" men="78">
|
||||
<vitals hp="65863" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="1" magical="1" critical="4" attackSpeed="253" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1" magical="1" />
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<attack physical="8000" magical="7200" critical="84" attackSpeed="553" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="900" magical="800" />
|
||||
<abnormalResist physical="10" magical="27" />
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
<status attackable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="7" /> <!-- Spirits -->
|
||||
<skill id="4415" level="3" /> <!-- One-handed Sword -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="34867" min="1" max="5" chance="70" /> <!-- Draco's Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="8" />
|
||||
<height normal="20" />
|
||||
<radius normal="10" />
|
||||
<height normal="27" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="19258" level="1" type="L2Npc" name="Large Draco Egg">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<npc id="19258" level="99" type="L2Monster" name="Large Draco Egg">
|
||||
<race>ELEMENTAL</race>
|
||||
<sex>MALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="1" hpRegen="1" mp="1" mpRegen="1" />
|
||||
<stats str="103" int="79" dex="55" wit="78" con="108" men="78">
|
||||
<vitals hp="65863" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="1" magical="1" critical="4" attackSpeed="253" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1" magical="1" />
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<attack physical="14000" magical="12200" critical="334" attackSpeed="653" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1000" magical="1300" />
|
||||
<abnormalResist physical="10" magical="27" />
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
<status attackable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="7" /> <!-- Spirits -->
|
||||
<skill id="4415" level="3" /> <!-- One-handed Sword -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="34868" min="1" max="3" chance="60" /> <!-- Draco's Shiny Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="10" />
|
||||
<height normal="27" />
|
||||
|
@@ -849,31 +849,37 @@
|
||||
<height normal="15" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="33828" level="1" type="L2Npc" name="Lyn Draco">
|
||||
<npc id="33828" level="1" type="L2Monster" name="Lyn Draco">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>CONSTRUCT</race>
|
||||
<sex>FEMALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="39" hpRegen="2" mp="40" mpRegen="0.9" />
|
||||
<stats str="103" int="79" dex="55" wit="78" con="108" men="78">
|
||||
<vitals hp="6586364" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="50" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="8.47458" magical="5.78704" critical="4" attackSpeed="253" range="40" type="FIST" distance="80" width="120" random="5" accuracy="5" />
|
||||
<defence physical="44.44444" magical="32.52252" />
|
||||
<attack physical="14000" magical="12200" critical="334" attackSpeed="653" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1000" magical="1300" />
|
||||
<attribute>
|
||||
<defence fire="20" water="20" wind="20" earth="20" holy="20" dark="20" />
|
||||
</attribute>
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<abnormalResist physical="10" magical="10" />
|
||||
</stats>
|
||||
<status attackable="false" targetable="false" />
|
||||
<status attackable="true" targetable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="2" /> <!-- Magic Creatures -->
|
||||
<skill id="4390" level="1" /> <!-- NPC Abnormal Immunity -->
|
||||
<skill id="4415" level="1" /> <!-- Bare Hands -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="36323" min="1" max="2" chance="80" /> <!-- Lyn Draco's Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="10" />
|
||||
<height normal="45" />
|
||||
|
@@ -2508,7 +2508,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9467" toLevel="1" name="Contaminated Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34863</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2538,7 +2537,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9468" toLevel="1" name="Small Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<hitTime>1500</hitTime>
|
||||
@@ -2546,22 +2544,25 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<magicLvl>1</magicLvl>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>34864</itemConsumeId> <!-- Small Draco Egg -->
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>3000</reuseDelay>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="OpCheckAbnormal">
|
||||
<type>SIGNAL_C</type>
|
||||
<level>8</level>
|
||||
<hasAbnormal>false</hasAbnormal>
|
||||
</condition>
|
||||
<condition name="OpPeacezone" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc">
|
||||
<npcId>19257</npcId> <!-- Small Draco Egg -->
|
||||
<npcCount>1</npcCount>
|
||||
<despawnDelay>180000</despawnDelay>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9469" toLevel="1" name="Large Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<hitTime>1500</hitTime>
|
||||
@@ -2569,22 +2570,25 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<magicLvl>1</magicLvl>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>34865</itemConsumeId> <!-- Large Draco Egg -->
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>3000</reuseDelay>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="OpCheckAbnormal">
|
||||
<type>SIGNAL_C</type>
|
||||
<level>8</level>
|
||||
<hasAbnormal>false</hasAbnormal>
|
||||
</condition>
|
||||
<condition name="OpPeacezone" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc">
|
||||
<npcId>19258</npcId> <!-- Large Draco Egg -->
|
||||
<npcCount>1</npcCount>
|
||||
<despawnDelay>180000</despawnDelay>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9470" toLevel="1" name="Draco's Gift">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34867</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2652,7 +2656,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9471" toLevel="1" name="Draco's Shiny Gift">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34868</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2668,7 +2671,7 @@
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="0.007">
|
||||
<item id="35751" count="1" />
|
||||
<item id="36324" count="1" />
|
||||
</item>
|
||||
<item chance="0.097">
|
||||
<item id="19447" count="1" />
|
||||
|
12
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-01.htm
vendored
Normal file
12
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-01.htm
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
I come at the request of Pa'agrio Lord Kakai. Shilen has distributed Draco Eggs among her monsters, spreading the power of darkness. If the Dracos hatch, terrible monsters will run amuck!<br1>
|
||||
Steal <font color="LEVEL">Draco Eggs</font> from their monstrous new families. The Dracos must hatch under our care.<br>
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveAgathion">"Give me a Flame Spirit Summon Bracelet."</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-04.htm">"How do I hatch a Small Draco Egg?"</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-07.htm">"How do I hatch a Large Draco Egg?"</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-09.htm">"I'd like to buy something with the Shattered Egg Shells."</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-09.htm">"Can I get something for giving you 50 Shattered Egg Shells?"</Button>-->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco howtohatch.htm">"How do I hatch a Draco Egg?"</Button><!-- custom -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco lyndraco.htm">"I want to summon a Lyn Draco."</Button><!-- custom -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco rewards.htm">"I'd like to get something with the Shattered Egg Shells."</Button><!-- custom -->
|
||||
</body></html>
|
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-02.htm
vendored
Normal file
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-02.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
Now! Take this <font color="LEVEL">Flame Spirit Agathion Bracelet</font>. You can use this bracelet to call forth a <font color="LEVEL">Flame Spirit Agathion</font>. The Flame Spirit will share the power of Pa'agrio that you can use to incubate the <font color="LEVEL">Draco Eggs</font>.
|
||||
</body></html>
|
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-03.htm
vendored
Normal file
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-03.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
You already received the <font color="LEVEL">Flame Spirit Agathion Bracelet</font>. Use the bracelet to call forth the <font color="LEVEL">Flame Spirit Agathion</font> and incubate the <font color="LEVEL">Draco Eggs</font>.
|
||||
</body></html>
|
10
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-04.htm
vendored
Normal file
10
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-04.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Small Draco Egg</font>.<br>
|
||||
Remember, <font color="LEVEL">you can hatch a Small Draco Egg by yourself</font>.<br>
|
||||
Summon the <font color="LEVEL">Small Draco Egg</font> in your inventory. It will appear with a base temperature of <font color="LEVEL">16 degrees</font>.<br>
|
||||
The <font color="LEVEL">Flame Spirit Agathion</font> can use <font color="LEVEL">Pa'agrio's Hand</font> on the <font color="LEVEL">Small Draco Egg</font> to raise its temperature. But this is not always easy! Even the Flame Spirit struggles to wield Pa'agrio's Hand. <font color="LEVEL">The temperature increase may be anywhere between 1 - 10 degrees</font>.<br>
|
||||
The egg should hatch between 26 - 36 degrees. It will definitely hatch if the temperature hits exactly <font color="LEVEL">37 degrees</font>. After that point, though, it will break!<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
<font color="LEVEL">Oh! One last thing. When you're in a party, your Draco Egg will be summoned at the same time as your other party members' eggs!</font><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
4
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-05.htm
vendored
Normal file
4
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-05.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
I'm sorry! You weren't able to receive a gift this time.<br>
|
||||
But don't get too down. Whenever you bring me <font color="LEVEL">50 Shattered Egg Shells</font>, you will be able to try your luck.
|
||||
</body></html>
|
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-06.htm
vendored
Normal file
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-06.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
You don't have enough <font color="LEVEL">Shattered Egg Shells</font>! You need at least <font color="LEVEL">50</font> to receive a gift.
|
||||
</body></html>
|
10
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-07.htm
vendored
Normal file
10
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-07.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Large Draco Egg</font>.<br>
|
||||
First, <font color="LEVEL">it takes a party to hatch a Large Draco Egg</font>.<br>
|
||||
Second, summon the <font color="LEVEL">Large Draco Egg</font> from your inventory. It will appear with a base temperature of <font color="LEVEL">16 degrees</font>.<br>
|
||||
Third, have the <font color="LEVEL">Flame Spirit Agathion</font> use <font color="LEVEL">Pa'agrio's Hand</font> to raise the egg's temperature. But be warned! Even the Flame Spirit has a hard time handling Pa'agrio's Hand. <font color="LEVEL">The temperature increase may be anywhere between 0.1 - 1 degree</font>.<br>
|
||||
Fourth, the egg should hatch between 36 - 36.9 degrees with room for failure. It will definitely hatch if the temperature hits exactly <font color="LEVEL">37 degrees</font>. But it will break if you exceed that temperature!<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
<font color="LEVEL">Oh! One last thing. <font color="LEVEL">When you're in a party, your Draco Egg will be summoned at the same time as your other party members' eggs</font>!</font><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
8
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-08.htm
vendored
Normal file
8
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-08.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Shattered Egg Shells</font>, and you may get one of the following items:<br>
|
||||
<font color="LEVEL">Small Draco Egg, Large Draco Egg, Draco's Gift, or Draco's Shiny Gift.</font><br>
|
||||
<font color="LEVEL">But not all the time, mind you. You might not get anything at all.</font><br>
|
||||
The choice is yours. Will you try your luck?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftyEggs">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-09.htm
vendored
Normal file
6
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-09.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
If you want, I can bestow my energy to help you hatch multiple <font color="LEVEL">Small Draco Eggs</font> at once.<br>
|
||||
<font color="LEVEL">But remember, a combination of eggs will have multiplied effects as well. You can only get one reward if a <font color="LEVEL">Lyn Draco</font> appears! Oh, and once the eggs are combined, they cannot be separated. Will you still combine them?</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveEggs">"Here, 10 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftyEggs">"Here, 50 eggs."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-10.htm
vendored
Normal file
5
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-10.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Do you want exchange more?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-4300&reply=12">"Here, 10 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-4300&reply=13">"Here, 50 eggs."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-11.htm
vendored
Normal file
3
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/33687-11.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
You don't have enough Small Draco Eggs. I can exchange some for you if you bring more.
|
||||
</body></html>
|
123
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/BirthOfDraco.java
vendored
Normal file
123
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/BirthOfDraco.java
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package events.BirthOfDraco;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
|
||||
/**
|
||||
* Birth of Draco
|
||||
* @URL http://www.lineage2.com/en/news/events/birth-of-draco.php
|
||||
* @author Mobius
|
||||
*/
|
||||
public final class BirthOfDraco extends LongTimeEvent
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASLAN = 33687;
|
||||
private static final int LYN_DRACO = 33828;
|
||||
// Items
|
||||
private static final int SMALL_EGG = 34864;
|
||||
private static final int LARGE_EGG = 34865;
|
||||
private static final int SHATTERED_EGG = 34866;
|
||||
private static final int SHINY_GIFT = 34868;
|
||||
// private static final int AGATHION = 34869; // needs proper ExSendUIEvent
|
||||
|
||||
private BirthOfDraco()
|
||||
{
|
||||
addStartNpc(ASLAN);
|
||||
addFirstTalkId(ASLAN);
|
||||
addTalkId(ASLAN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "33687-01.htm":
|
||||
case "33687-04.htm":
|
||||
case "33687-07.htm":
|
||||
case "33687-08.htm":
|
||||
case "33687-09.htm":
|
||||
case "howtohatch.htm": // custom info
|
||||
case "lyndraco.htm": // custom info
|
||||
case "rewards.htm": // custom info
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "giveFiftySmallEggs":
|
||||
{
|
||||
if (getQuestItemsCount(player, SMALL_EGG) >= 50)
|
||||
{
|
||||
takeItems(player, SMALL_EGG, 50);
|
||||
addSpawn(LYN_DRACO, player.getX(), player.getY(), player.getZ(), player.getHeading() + 32500, true, 180000);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-11.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "getRandomReward":
|
||||
{
|
||||
if (getQuestItemsCount(player, SHATTERED_EGG) >= 50)
|
||||
{
|
||||
takeItems(player, SHATTERED_EGG, 50);
|
||||
if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, SHINY_GIFT, 1);
|
||||
}
|
||||
else if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, LARGE_EGG, 1);
|
||||
}
|
||||
else if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, SMALL_EGG, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-05.htm";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-06.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
/*
|
||||
* case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
|
||||
*/
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
return npc.getId() + "-01.htm";
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new BirthOfDraco();
|
||||
}
|
||||
}
|
26
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/config.xml
vendored
Normal file
26
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/config.xml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Birth of Draco" active="13 05 2012-11 06 2012" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<droplist>
|
||||
<add item="34863" min="1" max="1" chance="3%" /> <!-- Contaminated Draco Egg -->
|
||||
</droplist>
|
||||
<spawnlist>
|
||||
<add npc="33687" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="33687" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="33687" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
|
||||
<add npc="33687" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="33687" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
|
||||
<add npc="33687" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
|
||||
<add npc="33687" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
|
||||
<add npc="33687" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
|
||||
<add npc="33687" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
|
||||
<add npc="33687" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="33687" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
|
||||
<add npc="33687" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
|
||||
<add npc="33687" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
<add npc="33687" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
|
||||
</spawnlist>
|
||||
<messages>
|
||||
<add type="onEnd" text="Birth of Draco: Event end!" />
|
||||
<add type="onEnter" text="Birth of Draco: Event ongoing!" />
|
||||
</messages>
|
||||
</event>
|
7
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/howtohatch.htm
vendored
Normal file
7
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/howtohatch.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Draco Egg</font>.<br>
|
||||
Summon the <font color="LEVEL">Draco Egg</font> from your your inventory.<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
Start hitting the <font color="LEVEL">Draco Egg</font> to raise it's temperature. Bigger eggs need more time to hatch.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
5
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/lyndraco.htm
vendored
Normal file
5
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/lyndraco.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Small Draco Eggs</font> to summon a Lyn Draco that has a chance to drop better quality items.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftySmallEggs">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
5
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/rewards.htm
vendored
Normal file
5
L2J_Mobius_2.5_Underground/dist/game/data/scripts/events/BirthOfDraco/rewards.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Shattered Egg Shells</font> and get a random gift, or nothing!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco getRandomReward">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
@@ -2203,55 +2203,63 @@
|
||||
<height normal="50.5" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="19257" level="1" type="L2Npc" name="Small Draco Egg" title="">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<npc id="19257" level="99" type="L2Monster" name="Small Draco Egg" title="">
|
||||
<race>ELEMENTAL</race>
|
||||
<sex>MALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="1" hpRegen="1" mp="1" mpRegen="1" />
|
||||
<stats str="80" int="79" dex="55" wit="78" con="73" men="78">
|
||||
<vitals hp="65863" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="1" magical="1" critical="4" attackSpeed="253" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1" magical="1" />
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<attack physical="8000" magical="7200" critical="84" attackSpeed="553" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="900" magical="800" />
|
||||
<abnormalResist physical="10" magical="27" />
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
<status attackable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="7" /> <!-- Spirits -->
|
||||
<skill id="4415" level="3" /> <!-- One-handed Sword -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="34867" min="1" max="5" chance="70" /> <!-- Draco's Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="8" />
|
||||
<height normal="20" />
|
||||
<radius normal="10" />
|
||||
<height normal="27" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="19258" level="1" type="L2Npc" name="Large Draco Egg" title="">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<npc id="19258" level="99" type="L2Monster" name="Large Draco Egg" title="">
|
||||
<race>ELEMENTAL</race>
|
||||
<sex>MALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="1" hpRegen="1" mp="1" mpRegen="1" />
|
||||
<stats str="103" int="79" dex="55" wit="78" con="108" men="78">
|
||||
<vitals hp="65863" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="1" magical="1" critical="4" attackSpeed="253" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1" magical="1" />
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<attack physical="14000" magical="12200" critical="334" attackSpeed="653" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1000" magical="1300" />
|
||||
<abnormalResist physical="10" magical="27" />
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
<status attackable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="7" /> <!-- Spirits -->
|
||||
<skill id="4415" level="3" /> <!-- One-handed Sword -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="34868" min="1" max="3" chance="60" /> <!-- Draco's Shiny Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="10" />
|
||||
<height normal="27" />
|
||||
|
@@ -849,31 +849,37 @@
|
||||
<height normal="15" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="33828" level="1" type="L2Npc" name="Lyn Draco" title="">
|
||||
<npc id="33828" level="1" type="L2Monster" name="Lyn Draco" title="">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>CONSTRUCT</race>
|
||||
<sex>FEMALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="39" hpRegen="2" mp="40" mpRegen="0.9" />
|
||||
<stats str="103" int="79" dex="55" wit="78" con="108" men="78">
|
||||
<vitals hp="6586364" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="50" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="8.47458" magical="5.78704" critical="4" attackSpeed="253" range="40" type="FIST" distance="80" width="120" random="5" accuracy="5" />
|
||||
<defence physical="44.44444" magical="32.52252" />
|
||||
<attack physical="14000" magical="12200" critical="334" attackSpeed="653" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1000" magical="1300" />
|
||||
<attribute>
|
||||
<defence fire="20" water="20" wind="20" earth="20" holy="20" dark="20" />
|
||||
</attribute>
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<abnormalResist physical="10" magical="10" />
|
||||
</stats>
|
||||
<status attackable="false" targetable="false" />
|
||||
<status attackable="true" targetable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="2" /> <!-- Magic Creatures -->
|
||||
<skill id="4390" level="1" /> <!-- NPC Abnormal Immunity -->
|
||||
<skill id="4415" level="1" /> <!-- Bare Hands -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="36323" min="1" max="2" chance="80" /> <!-- Lyn Draco's Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="10" />
|
||||
<height normal="45" />
|
||||
|
@@ -2508,7 +2508,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9467" toLevel="1" name="Contaminated Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34863</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2538,7 +2537,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9468" toLevel="1" name="Small Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<hitTime>1500</hitTime>
|
||||
@@ -2546,22 +2544,25 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<magicLvl>1</magicLvl>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>34864</itemConsumeId> <!-- Small Draco Egg -->
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>3000</reuseDelay>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="OpCheckAbnormal">
|
||||
<type>SIGNAL_C</type>
|
||||
<level>8</level>
|
||||
<hasAbnormal>false</hasAbnormal>
|
||||
</condition>
|
||||
<condition name="OpPeacezone" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc">
|
||||
<npcId>19257</npcId> <!-- Small Draco Egg -->
|
||||
<npcCount>1</npcCount>
|
||||
<despawnDelay>180000</despawnDelay>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9469" toLevel="1" name="Large Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<hitTime>1500</hitTime>
|
||||
@@ -2569,22 +2570,25 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<magicLvl>1</magicLvl>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>34865</itemConsumeId> <!-- Large Draco Egg -->
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>3000</reuseDelay>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="OpCheckAbnormal">
|
||||
<type>SIGNAL_C</type>
|
||||
<level>8</level>
|
||||
<hasAbnormal>false</hasAbnormal>
|
||||
</condition>
|
||||
<condition name="OpPeacezone" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc">
|
||||
<npcId>19258</npcId> <!-- Large Draco Egg -->
|
||||
<npcCount>1</npcCount>
|
||||
<despawnDelay>180000</despawnDelay>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9470" toLevel="1" name="Draco's Gift">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34867</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2652,7 +2656,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9471" toLevel="1" name="Draco's Shiny Gift">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34868</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2668,7 +2671,7 @@
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="0.007">
|
||||
<item id="35751" count="1" />
|
||||
<item id="36324" count="1" />
|
||||
</item>
|
||||
<item chance="0.097">
|
||||
<item id="19447" count="1" />
|
||||
|
12
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-01.htm
vendored
Normal file
12
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-01.htm
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
I come at the request of Pa'agrio Lord Kakai. Shilen has distributed Draco Eggs among her monsters, spreading the power of darkness. If the Dracos hatch, terrible monsters will run amuck!<br1>
|
||||
Steal <font color="LEVEL">Draco Eggs</font> from their monstrous new families. The Dracos must hatch under our care.<br>
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveAgathion">"Give me a Flame Spirit Summon Bracelet."</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-04.htm">"How do I hatch a Small Draco Egg?"</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-07.htm">"How do I hatch a Large Draco Egg?"</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-09.htm">"I'd like to buy something with the Shattered Egg Shells."</Button>-->
|
||||
<!--<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco 33687-09.htm">"Can I get something for giving you 50 Shattered Egg Shells?"</Button>-->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco howtohatch.htm">"How do I hatch a Draco Egg?"</Button><!-- custom -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco lyndraco.htm">"I want to summon a Lyn Draco."</Button><!-- custom -->
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco rewards.htm">"I'd like to get something with the Shattered Egg Shells."</Button><!-- custom -->
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-02.htm
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-02.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
Now! Take this <font color="LEVEL">Flame Spirit Agathion Bracelet</font>. You can use this bracelet to call forth a <font color="LEVEL">Flame Spirit Agathion</font>. The Flame Spirit will share the power of Pa'agrio that you can use to incubate the <font color="LEVEL">Draco Eggs</font>.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-03.htm
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-03.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
You already received the <font color="LEVEL">Flame Spirit Agathion Bracelet</font>. Use the bracelet to call forth the <font color="LEVEL">Flame Spirit Agathion</font> and incubate the <font color="LEVEL">Draco Eggs</font>.
|
||||
</body></html>
|
10
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-04.htm
vendored
Normal file
10
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-04.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Small Draco Egg</font>.<br>
|
||||
Remember, <font color="LEVEL">you can hatch a Small Draco Egg by yourself</font>.<br>
|
||||
Summon the <font color="LEVEL">Small Draco Egg</font> in your inventory. It will appear with a base temperature of <font color="LEVEL">16 degrees</font>.<br>
|
||||
The <font color="LEVEL">Flame Spirit Agathion</font> can use <font color="LEVEL">Pa'agrio's Hand</font> on the <font color="LEVEL">Small Draco Egg</font> to raise its temperature. But this is not always easy! Even the Flame Spirit struggles to wield Pa'agrio's Hand. <font color="LEVEL">The temperature increase may be anywhere between 1 - 10 degrees</font>.<br>
|
||||
The egg should hatch between 26 - 36 degrees. It will definitely hatch if the temperature hits exactly <font color="LEVEL">37 degrees</font>. After that point, though, it will break!<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
<font color="LEVEL">Oh! One last thing. When you're in a party, your Draco Egg will be summoned at the same time as your other party members' eggs!</font><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-05.htm
vendored
Normal file
4
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-05.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
I'm sorry! You weren't able to receive a gift this time.<br>
|
||||
But don't get too down. Whenever you bring me <font color="LEVEL">50 Shattered Egg Shells</font>, you will be able to try your luck.
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-06.htm
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-06.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Servant of Flames Aslan:<br>
|
||||
You don't have enough <font color="LEVEL">Shattered Egg Shells</font>! You need at least <font color="LEVEL">50</font> to receive a gift.
|
||||
</body></html>
|
10
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-07.htm
vendored
Normal file
10
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-07.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Large Draco Egg</font>.<br>
|
||||
First, <font color="LEVEL">it takes a party to hatch a Large Draco Egg</font>.<br>
|
||||
Second, summon the <font color="LEVEL">Large Draco Egg</font> from your inventory. It will appear with a base temperature of <font color="LEVEL">16 degrees</font>.<br>
|
||||
Third, have the <font color="LEVEL">Flame Spirit Agathion</font> use <font color="LEVEL">Pa'agrio's Hand</font> to raise the egg's temperature. But be warned! Even the Flame Spirit has a hard time handling Pa'agrio's Hand. <font color="LEVEL">The temperature increase may be anywhere between 0.1 - 1 degree</font>.<br>
|
||||
Fourth, the egg should hatch between 36 - 36.9 degrees with room for failure. It will definitely hatch if the temperature hits exactly <font color="LEVEL">37 degrees</font>. But it will break if you exceed that temperature!<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
<font color="LEVEL">Oh! One last thing. <font color="LEVEL">When you're in a party, your Draco Egg will be summoned at the same time as your other party members' eggs</font>!</font><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
8
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-08.htm
vendored
Normal file
8
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-08.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Shattered Egg Shells</font>, and you may get one of the following items:<br>
|
||||
<font color="LEVEL">Small Draco Egg, Large Draco Egg, Draco's Gift, or Draco's Shiny Gift.</font><br>
|
||||
<font color="LEVEL">But not all the time, mind you. You might not get anything at all.</font><br>
|
||||
The choice is yours. Will you try your luck?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftyEggs">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-09.htm
vendored
Normal file
6
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-09.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
If you want, I can bestow my energy to help you hatch multiple <font color="LEVEL">Small Draco Eggs</font> at once.<br>
|
||||
<font color="LEVEL">But remember, a combination of eggs will have multiplied effects as well. You can only get one reward if a <font color="LEVEL">Lyn Draco</font> appears! Oh, and once the eggs are combined, they cannot be separated. Will you still combine them?</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveEggs">"Here, 10 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftyEggs">"Here, 50 eggs."</Button>
|
||||
</body></html>
|
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-10.htm
vendored
Normal file
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-10.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Do you want exchange more?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-4300&reply=12">"Here, 10 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h menu_select?ask=-4300&reply=13">"Here, 50 eggs."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-11.htm
vendored
Normal file
3
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/33687-11.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
You don't have enough Small Draco Eggs. I can exchange some for you if you bring more.
|
||||
</body></html>
|
123
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/BirthOfDraco.java
vendored
Normal file
123
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/BirthOfDraco.java
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package events.BirthOfDraco;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
|
||||
/**
|
||||
* Birth of Draco
|
||||
* @URL http://www.lineage2.com/en/news/events/birth-of-draco.php
|
||||
* @author Mobius
|
||||
*/
|
||||
public final class BirthOfDraco extends LongTimeEvent
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASLAN = 33687;
|
||||
private static final int LYN_DRACO = 33828;
|
||||
// Items
|
||||
private static final int SMALL_EGG = 34864;
|
||||
private static final int LARGE_EGG = 34865;
|
||||
private static final int SHATTERED_EGG = 34866;
|
||||
private static final int SHINY_GIFT = 34868;
|
||||
// private static final int AGATHION = 34869; // needs proper ExSendUIEvent
|
||||
|
||||
private BirthOfDraco()
|
||||
{
|
||||
addStartNpc(ASLAN);
|
||||
addFirstTalkId(ASLAN);
|
||||
addTalkId(ASLAN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "33687-01.htm":
|
||||
case "33687-04.htm":
|
||||
case "33687-07.htm":
|
||||
case "33687-08.htm":
|
||||
case "33687-09.htm":
|
||||
case "howtohatch.htm": // custom info
|
||||
case "lyndraco.htm": // custom info
|
||||
case "rewards.htm": // custom info
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "giveFiftySmallEggs":
|
||||
{
|
||||
if (getQuestItemsCount(player, SMALL_EGG) >= 50)
|
||||
{
|
||||
takeItems(player, SMALL_EGG, 50);
|
||||
addSpawn(LYN_DRACO, player.getX(), player.getY(), player.getZ(), player.getHeading() + 32500, true, 180000);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-11.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "getRandomReward":
|
||||
{
|
||||
if (getQuestItemsCount(player, SHATTERED_EGG) >= 50)
|
||||
{
|
||||
takeItems(player, SHATTERED_EGG, 50);
|
||||
if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, SHINY_GIFT, 1);
|
||||
}
|
||||
else if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, LARGE_EGG, 1);
|
||||
}
|
||||
else if (getRandom(100) < 30)
|
||||
{
|
||||
giveItems(player, SMALL_EGG, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-05.htm";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33687-06.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
/*
|
||||
* case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
|
||||
*/
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
return npc.getId() + "-01.htm";
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new BirthOfDraco();
|
||||
}
|
||||
}
|
26
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/config.xml
vendored
Normal file
26
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/config.xml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Birth of Draco" active="13 05 2012-11 06 2012" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<droplist>
|
||||
<add item="34863" min="1" max="1" chance="3%" /> <!-- Contaminated Draco Egg -->
|
||||
</droplist>
|
||||
<spawnlist>
|
||||
<add npc="33687" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="33687" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="33687" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
|
||||
<add npc="33687" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="33687" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
|
||||
<add npc="33687" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
|
||||
<add npc="33687" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
|
||||
<add npc="33687" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
|
||||
<add npc="33687" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
|
||||
<add npc="33687" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="33687" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
|
||||
<add npc="33687" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
|
||||
<add npc="33687" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
<add npc="33687" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
|
||||
</spawnlist>
|
||||
<messages>
|
||||
<add type="onEnd" text="Birth of Draco: Event end!" />
|
||||
<add type="onEnter" text="Birth of Draco: Event ongoing!" />
|
||||
</messages>
|
||||
</event>
|
7
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/howtohatch.htm
vendored
Normal file
7
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/howtohatch.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Let me tell you how to hatch a <font color="LEVEL">Draco Egg</font>.<br>
|
||||
Summon the <font color="LEVEL">Draco Egg</font> from your your inventory.<br>
|
||||
Draco researchers say <font color="LEVEL">the closer the temperature is to 37 degrees, the more likely it is to hatch</font>.<br>
|
||||
Start hitting the <font color="LEVEL">Draco Egg</font> to raise it's temperature. Bigger eggs need more time to hatch.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/lyndraco.htm
vendored
Normal file
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/lyndraco.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Small Draco Eggs</font> to summon a Lyn Draco that has a chance to drop better quality items.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco giveFiftySmallEggs">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/rewards.htm
vendored
Normal file
5
L2J_Mobius_3.0_Helios/dist/game/data/scripts/events/BirthOfDraco/rewards.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Flame Servant Aslan:<br>
|
||||
Give me <font color="LEVEL">50 Shattered Egg Shells</font> and get a random gift, or nothing!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest BirthOfDraco getRandomReward">"Sure, why not. Here are your 50 eggs."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest BirthOfDraco 33687-01.htm">Back</Button>
|
||||
</body></html>
|
@@ -2203,55 +2203,63 @@
|
||||
<height normal="50.5" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="19257" level="1" type="L2Npc" name="Small Draco Egg" title="">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<npc id="19257" level="99" type="L2Monster" name="Small Draco Egg" title="">
|
||||
<race>ELEMENTAL</race>
|
||||
<sex>MALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="1" hpRegen="1" mp="1" mpRegen="1" />
|
||||
<stats str="80" int="79" dex="55" wit="78" con="73" men="78">
|
||||
<vitals hp="65863" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="1" magical="1" critical="4" attackSpeed="253" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1" magical="1" />
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<attack physical="8000" magical="7200" critical="84" attackSpeed="553" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="900" magical="800" />
|
||||
<abnormalResist physical="10" magical="27" />
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
<status attackable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="7" /> <!-- Spirits -->
|
||||
<skill id="4415" level="3" /> <!-- One-handed Sword -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="34867" min="1" max="5" chance="70" /> <!-- Draco's Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="8" />
|
||||
<height normal="20" />
|
||||
<radius normal="10" />
|
||||
<height normal="27" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="19258" level="1" type="L2Npc" name="Large Draco Egg" title="">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<npc id="19258" level="99" type="L2Monster" name="Large Draco Egg" title="">
|
||||
<race>ELEMENTAL</race>
|
||||
<sex>MALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="1" hpRegen="1" mp="1" mpRegen="1" />
|
||||
<stats str="103" int="79" dex="55" wit="78" con="108" men="78">
|
||||
<vitals hp="65863" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="1" magical="1" critical="4" attackSpeed="253" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1" magical="1" />
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<attack physical="14000" magical="12200" critical="334" attackSpeed="653" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1000" magical="1300" />
|
||||
<abnormalResist physical="10" magical="27" />
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
<status attackable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="7" /> <!-- Spirits -->
|
||||
<skill id="4415" level="3" /> <!-- One-handed Sword -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="34868" min="1" max="3" chance="60" /> <!-- Draco's Shiny Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="10" />
|
||||
<height normal="27" />
|
||||
|
@@ -849,31 +849,37 @@
|
||||
<height normal="15" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="33828" level="1" type="L2Npc" name="Lyn Draco" title="">
|
||||
<npc id="33828" level="1" type="L2Monster" name="Lyn Draco" title="">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>CONSTRUCT</race>
|
||||
<sex>FEMALE</sex>
|
||||
<mpReward value="20" type="PER" ticks="10" affects="PARTY" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="39" hpRegen="2" mp="40" mpRegen="0.9" />
|
||||
<stats str="103" int="79" dex="55" wit="78" con="108" men="78">
|
||||
<vitals hp="6586364" hpRegen="3" mp="56645458" mpRegen="3" />
|
||||
<speed>
|
||||
<walk ground="50" />
|
||||
<run ground="60" />
|
||||
</speed>
|
||||
<attack physical="8.47458" magical="5.78704" critical="4" attackSpeed="253" range="40" type="FIST" distance="80" width="120" random="5" accuracy="5" />
|
||||
<defence physical="44.44444" magical="32.52252" />
|
||||
<attack physical="14000" magical="12200" critical="334" attackSpeed="653" range="0" type="FIST" distance="0" width="0" random="0" accuracy="4.75" />
|
||||
<defence physical="1000" magical="1300" />
|
||||
<attribute>
|
||||
<defence fire="20" water="20" wind="20" earth="20" holy="20" dark="20" />
|
||||
</attribute>
|
||||
<abnormalResist physical="0" magical="0" />
|
||||
<abnormalResist physical="10" magical="10" />
|
||||
</stats>
|
||||
<status attackable="false" targetable="false" />
|
||||
<status attackable="true" targetable="true" />
|
||||
<skill_list>
|
||||
<skill id="4416" level="2" /> <!-- Magic Creatures -->
|
||||
<skill id="4390" level="1" /> <!-- NPC Abnormal Immunity -->
|
||||
<skill id="4415" level="1" /> <!-- Bare Hands -->
|
||||
<skill id="4045" level="1" /> <!-- Resist Full Magic Attack -->
|
||||
</skill_list>
|
||||
<ai clanHelpRange="300" aggroRange="300" />
|
||||
<drop_lists>
|
||||
<drop>
|
||||
<item id="36323" min="1" max="2" chance="80" /> <!-- Lyn Draco's Gift -->
|
||||
</drop>
|
||||
</drop_lists>
|
||||
<collision>
|
||||
<radius normal="10" />
|
||||
<height normal="45" />
|
||||
|
@@ -2508,7 +2508,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9467" toLevel="1" name="Contaminated Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34863</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2538,7 +2537,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9468" toLevel="1" name="Small Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<hitTime>1500</hitTime>
|
||||
@@ -2546,22 +2544,25 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<magicLvl>1</magicLvl>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>34864</itemConsumeId> <!-- Small Draco Egg -->
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>3000</reuseDelay>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="OpCheckAbnormal">
|
||||
<type>SIGNAL_C</type>
|
||||
<level>8</level>
|
||||
<hasAbnormal>false</hasAbnormal>
|
||||
</condition>
|
||||
<condition name="OpPeacezone" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc">
|
||||
<npcId>19257</npcId> <!-- Small Draco Egg -->
|
||||
<npcCount>1</npcCount>
|
||||
<despawnDelay>180000</despawnDelay>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9469" toLevel="1" name="Large Draco Egg">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<hitTime>1500</hitTime>
|
||||
@@ -2569,22 +2570,25 @@
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>1.5</hitCancelTime>
|
||||
<magicLvl>1</magicLvl>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>34865</itemConsumeId> <!-- Large Draco Egg -->
|
||||
<isMagic>2</isMagic>
|
||||
<reuseDelay>3000</reuseDelay>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpCanNotUseAirship" />
|
||||
<condition name="OpCheckAbnormal">
|
||||
<type>SIGNAL_C</type>
|
||||
<level>8</level>
|
||||
<hasAbnormal>false</hasAbnormal>
|
||||
</condition>
|
||||
<condition name="OpPeacezone" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="SummonNpc">
|
||||
<npcId>19258</npcId> <!-- Large Draco Egg -->
|
||||
<npcCount>1</npcCount>
|
||||
<despawnDelay>180000</despawnDelay>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9470" toLevel="1" name="Draco's Gift">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34867</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2652,7 +2656,6 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="9471" toLevel="1" name="Draco's Shiny Gift">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<itemConsumeId>34868</itemConsumeId>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<icon>icon.skill0000</icon>
|
||||
@@ -2668,7 +2671,7 @@
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="0.007">
|
||||
<item id="35751" count="1" />
|
||||
<item id="36324" count="1" />
|
||||
</item>
|
||||
<item chance="0.097">
|
||||
<item id="19447" count="1" />
|
||||
|
Reference in New Issue
Block a user