Addition of Dragon Slayer event.

Contributed by CostyKiller.
This commit is contained in:
MobiusDevelopment
2021-07-01 23:30:03 +00:00
parent 8379bbcffc
commit 84210307f1
26 changed files with 804 additions and 12 deletions

View File

@@ -4,7 +4,17 @@
<enchant id="81737" maxEnchant="10"> <enchant id="81737" maxEnchant="10">
<item id="81736" /> <item id="81736" />
</enchant> </enchant>
<!-- Scroll: Enchant Mysterious Weapon -->
<enchant id="48502">
<item id="48494" />
</enchant>
<!-- Mysterious and Special Weapon Enchant Scroll -->
<enchant id="48503" maxEnchant="14" randomEnchantMin="1" randomEnchantMax="3">
<item id="48494" />
</enchant>
<!-- Blessed Scroll: Enchant Brooch --> <!-- Blessed Scroll: Enchant Brooch -->
<enchant id="81361" maxEnchant="10"> <enchant id="81361" maxEnchant="10">
<item id="81359" /> <item id="81359" />

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>34419</npc> <!-- Luna -->
</npcs>
<item>
<ingredient id="57" count="20000000" /> <!-- Adena -->
<production id="48494" count="1" /> <!-- Mysterious Dragon Slayer -->
</item>
<item>
<ingredient id="4356" count="160" /> <!-- Gold Einhasad -->
<production id="48500" count="1" /> <!-- Mythical Dragon Pack -->
</item>
</list>

View File

@@ -0,0 +1,7 @@
<html><body>Dragon Slayer Luna:<br>
Mysterious Dragon Slayer is a very special weapon. It is imbued with energy that was first discovered in the Dragon Valley. This energy is lethal for monsters that live there.<br>
The weapon can be enchanted with <font color="LEVEL">Scroll:Enchant Mysterious Weapon</font> created from dragon relics. This is the only way to reach the weapon's true potential.<br>
Don't you want to have this power of ancient dragons? As I've said, you won't be able to get it without luck. Give it a try! And if you are successful, I'll give you a nice reward.<br>
Don't forget, the weapon can only be enchanted with <font color="LEVEL">Scroll:Enchant Mysterious Weapon</font>. No other item will do.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest DragonSlayer 34419.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,24 @@
<html><body>Dragon Slayer Luna:<br>
You'd like to know what reward you will get for the enchanted Mysterious Dragon Slayer, wouldn't you? Nothing's easier! See for yourself, and if you notice something you like, don't waste time.<br>
+7 - Woundrous Shard (2 pcs.)<br1>
+8 - Elcyum<br1>
+9 - Shillien's Soul Crystal Box<br1>
+10 - Artifact Crystal (2 pcs.)<br1>
+11 - Royal Black Save Ticket<br1>
<font color="LEVEL">
+12 - Shiny Jewel Energy<br1>
+13 - Scroll: Enchant Ancient Cloak<br1>
+14 - Greater Zodiac Agathion's Book of Growth<br1>
+15 - Shining Energy of Protection<br1>
+16 - Dragon Weapon Augmenting Stone<br1>
+17 - Stable Scroll: Enchant Legendary Cloak<br1>
+18 - Greater Zodiac Agathion Cube<br1>
</font><font color="ff6868">
+19 - Sayha's Talisman Pack Lv. 10<br1>
+20 - Ultimate Luxurious Jewelry Pack Lv. 5<br1>
+21 - Mid-grade Dragon Weapon Pack<br1>
+22 - High-grade Dragon Weapon Pack<br1>
+23 - Top-grade Dragon Weapon Pack<br1>
</font>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest DragonSlayer 34419.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Dragon Slayer Luna:<br>
I can't find any mysterious Dragon Slayers here!<br>
If you want to receive the reward, <font color="LEVEL">equip the mysterious Dragon Slayer enchanted to +7 or above</font> and show me.<br>
If you have a Dragon Slayer enchanted to +7 or above, hold it in your hands and talk to me again.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest DragonSLayer 32599.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Dragon Slayer Luna:<br>
Congratulations on beginning your enchants.<br>
It looks like luck is beginning to favor you. Don't be afraid to challenge yourself, my child. Well done!
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Dragon Slayer Luna:<br>
Well, are you ready to test your luck?<br>
I'm talking about enchanting Mysterious Dragon Slayer. You won't be able to do it without a bit of luck, that's for sure. So you have a great opportunity to see if you are lucky or not!<br>
If you manage to enchant Mysterious Dragon Slayer for +7 or higher, I will give you something rare.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DragonSlayer 34419-1.htm">Learn more about the event</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 344190001">Buy Mysterious Dragon Slayer</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DragonSlayer receive_reward">Give Mysterious Dragon Slayer enchanted to +7 ~ +23</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DragonSlayer 34419-2.htm">See the list of rewards</Button>
</body></html>

View File

@@ -0,0 +1,185 @@
/*
* 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.DragonSlayer;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.holders.ItemHolder;
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
import org.l2jmobius.gameserver.model.quest.LongTimeEvent;
/**
* Dragon Slayer event AI.
* @author CostyKiller
*/
public class DragonSlayer extends LongTimeEvent
{
// NPC
private static final int LUNA = 34419;
// Items
private static final int MYSTERIOUS_DRAGON_SLAYER = 48494;
private static final ItemHolder REWARD_7_ID_AND_QTY = new ItemHolder(29759, 2); // Wondrous Shard
private static final ItemHolder REWARD_8_ID_AND_QTY = new ItemHolder(36515, 1); // Elcyum
private static final ItemHolder REWARD_9_ID_AND_QTY = new ItemHolder(48910, 1); // Shillien's Soul Crystal Box
private static final ItemHolder REWARD_10_ID_AND_QTY = new ItemHolder(80636, 2); // Artifact Crystal
private static final ItemHolder REWARD_11_ID_AND_QTY = new ItemHolder(80449, 1); // Royal Black Save Ticket
private static final ItemHolder REWARD_12_ID_AND_QTY = new ItemHolder(29469, 1); // Shiny Jewel Energy
private static final ItemHolder REWARD_13_ID_AND_QTY = new ItemHolder(28595, 1); // Scroll: Enchant Ancient Cloak
private static final ItemHolder REWARD_14_ID_AND_QTY = new ItemHolder(80932, 1); // Greater Zodiac Agathion's Book of Growth
private static final ItemHolder REWARD_15_ID_AND_QTY = new ItemHolder(81770, 1); // Shining Energy of Protection
private static final ItemHolder REWARD_16_ID_AND_QTY = new ItemHolder(81135, 1); // Dragon Weapon Augmenting Stone
private static final ItemHolder REWARD_17_ID_AND_QTY = new ItemHolder(28766, 1); // Stable Scroll: Enchant Legendary Cloak
private static final ItemHolder REWARD_18_ID_AND_QTY = new ItemHolder(80931, 1); // Greater Zodiac Agathion Cube
private static final ItemHolder REWARD_19_ID_AND_QTY = new ItemHolder(47821, 1); // Sayha's Talisman Pack Lv. 10
private static final ItemHolder REWARD_20_ID_AND_QTY = new ItemHolder(48839, 1); // Ultimate Luxurious Jewelry Box Lv. 5
private static final ItemHolder REWARD_21_ID_AND_QTY = new ItemHolder(48667, 1); // Mid-grade Dragon Weapon Pack
private static final ItemHolder REWARD_22_ID_AND_QTY = new ItemHolder(80663, 1); // High-grade Dragon Weapon Pack
private static final ItemHolder REWARD_23_ID_AND_QTY = new ItemHolder(29907, 1); // Top-grade Dragon Weapon Pack
private DragonSlayer()
{
addStartNpc(LUNA);
addFirstTalkId(LUNA);
addTalkId(LUNA);
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = event;
if (event.equals("receive_reward"))
{
if ((getItemEquipped(player, Inventory.PAPERDOLL_RHAND) == MYSTERIOUS_DRAGON_SLAYER) && (getEnchantLevel(player, MYSTERIOUS_DRAGON_SLAYER) > 6))
{
takeItems(player, MYSTERIOUS_DRAGON_SLAYER, 1);
switch (getEnchantLevel(player, MYSTERIOUS_DRAGON_SLAYER))
{
case 7:
{
giveItems(player, REWARD_7_ID_AND_QTY);
break;
}
case 8:
{
giveItems(player, REWARD_8_ID_AND_QTY);
break;
}
case 9:
{
giveItems(player, REWARD_9_ID_AND_QTY);
break;
}
case 10:
{
giveItems(player, REWARD_10_ID_AND_QTY);
break;
}
case 11:
{
giveItems(player, REWARD_11_ID_AND_QTY);
break;
}
case 12:
{
giveItems(player, REWARD_12_ID_AND_QTY);
break;
}
case 13:
{
giveItems(player, REWARD_13_ID_AND_QTY);
break;
}
case 14:
{
giveItems(player, REWARD_14_ID_AND_QTY);
break;
}
case 15:
{
giveItems(player, REWARD_15_ID_AND_QTY);
break;
}
case 16:
{
giveItems(player, REWARD_16_ID_AND_QTY);
break;
}
case 17:
{
giveItems(player, REWARD_17_ID_AND_QTY);
break;
}
case 18:
{
giveItems(player, REWARD_18_ID_AND_QTY);
break;
}
case 19:
{
giveItems(player, REWARD_19_ID_AND_QTY);
break;
}
case 20:
{
giveItems(player, REWARD_20_ID_AND_QTY);
break;
}
case 21:
{
giveItems(player, REWARD_21_ID_AND_QTY);
break;
}
case 22:
{
giveItems(player, REWARD_22_ID_AND_QTY);
break;
}
case 23:
{
giveItems(player, REWARD_23_ID_AND_QTY);
break;
}
default:
{
if (getEnchantLevel(player, MYSTERIOUS_DRAGON_SLAYER) > 23)
{
giveItems(player, REWARD_23_ID_AND_QTY);
}
break;
}
}
htmltext = "34419-rewardok.htm";
}
else
{
htmltext = "34419-rewardnosword.htm";
}
}
return htmltext;
}
@Override
public String onFirstTalk(Npc npc, PlayerInstance player)
{
return npc.getId() + ".htm";
}
public static void main(String[] args)
{
new DragonSlayer();
}
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Dragon Slayer" active="14 06 2021-14 08 2021" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<spawnlist>
<add npc="34419" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
<add npc="34419" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
<add npc="34419" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
<add npc="34419" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
<add npc="34419" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
<add npc="34419" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
<add npc="34419" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
<add npc="34419" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
<add npc="34419" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
<add npc="34419" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
<add npc="34419" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
<add npc="34419" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
<add npc="34419" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
<add npc="34419" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
</spawnlist>
<messages>
<add type="onEnd" text="Dragon Slayer: Event end!" />
<add type="onEnter" text="Dragon Slayer: Event ongoing! Visit Luna! The event will end at Aug 14th!" />
</messages>
</event>

View File

@@ -1335,7 +1335,7 @@
</stats> </stats>
</item> </item>
<item id="48494" name="Mysterious Dragon Slayer" type="Weapon"> <item id="48494" name="Mysterious Dragon Slayer" type="Weapon">
<!-- ?ontains the power of an ancient dragon, which can be drawn by enchanting. Enchant it to a high level and take it to Luna to obtain a special reward. --> <!-- Contains the power of an ancient dragon, which can be drawn by enchanting. Enchant it to a high level and take it to Luna to obtain a special reward. -->
<set name="icon" val="icon.bm_the_two_handed_sword_of_hero" /> <set name="icon" val="icon.bm_the_two_handed_sword_of_hero" />
<set name="default_action" val="EQUIP" /> <set name="default_action" val="EQUIP" />
<set name="weapon_type" val="SWORD" /> <set name="weapon_type" val="SWORD" />
@@ -1345,7 +1345,8 @@
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="soulshots" val="1" /> <set name="soulshots" val="1" />
<set name="spiritshots" val="1" /> <set name="spiritshots" val="1" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="enchant_enabled" val="true" />
<stats> <stats>
<stat type="pAtk">282</stat> <stat type="pAtk">282</stat>
<stat type="mAtk">114</stat> <stat type="mAtk">114</stat>

View File

@@ -3,10 +3,48 @@
<item id="48500" name="Dragon's Relic Chest" type="EtcItem"> <item id="48500" name="Dragon's Relic Chest" type="EtcItem">
<!-- Double-click to obtain a random item. --> <!-- Double-click to obtain a random item. -->
<set name="icon" val="icon.bm_dragon_present_3" /> <set name="icon" val="icon.bm_dragon_present_3" />
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" /> <set name="default_action" val="CAPSULE" />
<set name="immediate_effect" val="true" />
<set name="material" val="LEATHER" /> <set name="material" val="LEATHER" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="ExtractableItems" />
<capsuled_items>
<item id="48502" min="5" max="5" chance="100" /> <!-- Scroll: Enchant Mysterious Weapon -->
<item id="29379" min="1" max="1" chance="3.03" /> <!-- Peeves' Purple Potion -->
<item id="29677" min="1" max="1" chance="3.03" /> <!-- Glittering Freya's Ice Rose -->
<item id="29916" min="1" max="1" chance="3.03" /> <!-- +20 Supreme Krishna Weapon Pack -->
<item id="36414" min="1" max="1" chance="3.03" /> <!-- Dragon Claw -->
<item id="36515" min="6" max="6" chance="3.03" /> <!-- Elcyum -->
<item id="37560" min="5" max="5" chance="3.03" /> <!-- Emperor's Vitality Tonic -->
<item id="39738" min="10" max="10" chance="3.03" /> <!-- Rune Stone -->
<item id="47494" min="5" max="5" chance="3.03" /> <!-- Selenite -->
<item id="48831" min="1" max="1" chance="3.03" /> <!-- Jewel Energy -->
<item id="48840" min="1" max="1" chance="3.03" /> <!-- Ultimate Luxurious Jewelry Box Lv. 1 -->
<item id="48876" min="1" max="1" chance="3.03" /> <!-- Forgotten Spellbook Chapter 1 -->
<item id="48912" min="1" max="1" chance="3.03" /> <!-- Gran Kain's Scroll: Enchant R-grade Weapon -->
<item id="80000" min="1" max="1" chance="3.03" /> <!-- Artifact Fragment -->
<item id="80449" min="1" max="1" chance="3.03" /> <!-- Royal Black Save Ticket -->
<item id="80501" min="1" max="1" chance="3.03" /> <!-- Royal Gold Save Ticket -->
<item id="80502" min="1" max="1" chance="3.03" /> <!-- Gran Kain's Scroll: Enchant R-grade Armor -->
<item id="80636" min="1" max="1" chance="3.03" /> <!-- Artifact Crystal -->
<item id="80817" min="2" max="2" chance="3.03" /> <!-- Emperor's Special Cocktail -->
<item id="80932" min="1" max="1" chance="3.03" /> <!-- Greater Zodiac Agathion's Book of Growth -->
<item id="80958" min="1" max="1" chance="3.03" /> <!-- Sealed Heavenly Talisman -->
<item id="80964" min="1" max="1" chance="3.03" /> <!-- Energy of Protection -->
<item id="81059" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (P. Atk.) -->
<item id="81069" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (Standard Attack Critical Damage) -->
<item id="81079" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (P. Skill Critical Damage) -->
<item id="81099" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (M. Atk.) -->
<item id="81109" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (M. Critical Damage) -->
<item id="81119" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (M. Skill Power) -->
<item id="81134" min="2" max="2" chance="3.03" /> <!-- Crystal of Dyes -->
<item id="81453" min="1" max="1" chance="3.03" /> <!-- Enhanced Rune Stone -->
<item id="81706" min="1" max="1" chance="3.03" /> <!-- Scroll: Enchant Superior Seed Bracelet -->
<item id="81729" min="1" max="1" chance="3.03" /> <!-- Accessory Augmenting Stone -->
<item id="81747" min="2" max="2" chance="3.03" /> <!-- Royal Honey Dark Beer -->
<item id="81759" min="2" max="2" chance="3.03" /> <!-- Glowing Royal Dragon's Attribute Potion (EXP) -->
</capsuled_items>
</item> </item>
<item id="48501" name="Shining Dragon's Relic Chest" type="EtcItem"> <item id="48501" name="Shining Dragon's Relic Chest" type="EtcItem">
<!-- Double-click the box to obtain a very rare item at random. --> <!-- Double-click the box to obtain a very rare item at random. -->
@@ -20,19 +58,31 @@
<!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Cannot use enchant success rate boosting items. --> <!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Cannot use enchant success rate boosting items. -->
<set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" /> <set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="ENCHT_WP" />
<set name="material" val="PAPER" /> <set name="material" val="PAPER" />
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="EnchantScrolls" />
<set name="immediate_effect" val="true" />
<skills>
<skill id="39204" level="1" /> <!-- Scroll: Enchant Mysterious Weapon -->
</skills>
</item> </item>
<item id="48503" name="Mysterious and Special Weapon Enchant Scroll" type="EtcItem"> <item id="48503" name="Mysterious and Special Weapon Enchant Scroll" type="EtcItem">
<!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Enchants the weapon randomly from +1 to +3. Can enchant up to +14, and the weapon is destroyed when enchanting fails. Cannot use enchant success rate boosting items. --> <!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Enchants the weapon randomly from +1 to +3. Can enchant up to +14, and the weapon is destroyed when enchanting fails. Cannot use enchant success rate boosting items. -->
<set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" /> <set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="ENCHT_WP" />
<set name="material" val="PAPER" /> <set name="material" val="PAPER" />
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="EnchantScrolls" />
<set name="immediate_effect" val="true" />
<skills>
<skill id="39204" level="2" /> <!-- Scroll: Enchant Mysterious Weapon -->
</skills>
</item> </item>
<item id="48504" name="+10 Bloody Armor set Pack" type="EtcItem"> <item id="48504" name="+10 Bloody Armor set Pack" type="EtcItem">
<!-- Double-click to obtain one of the following items: +10 Bloody Eternal Heavy/ Light/ Robe set. --> <!-- Double-click to obtain one of the following items: +10 Bloody Eternal Heavy/ Light/ Robe set. -->

View File

@@ -571,8 +571,16 @@
<!-- For 30 min. all basic stats +3, Vitality bonus +50%, P./ M. Def. +15%.\n\nThe effect remains after death. Cooldown: 5 min.\nCannot be used in the Olympiad. --> <!-- For 30 min. all basic stats +3, Vitality bonus +50%, P./ M. Def. +15%.\n\nThe effect remains after death. Cooldown: 5 min.\nCannot be used in the Olympiad. -->
<set name="icon" val="icon.bm_royal_black_beer" /> <set name="icon" val="icon.bm_royal_black_beer" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE" />
<set name="immediate_effect" val="true" />
<set name="material" val="LIQUID" /> <set name="material" val="LIQUID" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_oly_restricted" val="true" />
<set name="is_coc_restricted" val="true" />
<set name="handler" val="ItemSkills" />
<skills>
<skill id="39707" level="1" /> <!-- Royal Honey Dark Beer -->
</skills>
</item> </item>
<item id="81748" name="Recipe: Ancient Book: Divine Inspiration (Beginner) (60%)" type="EtcItem"> <item id="81748" name="Recipe: Ancient Book: Divine Inspiration (Beginner) (60%)" type="EtcItem">
<!-- For Tyrr Maestro only. A recipe for Ancient Book: Divine Inspiration (Beginner). Requires Create Item Lv. 15. The success rate is 60%. --> <!-- For Tyrr Maestro only. A recipe for Ancient Book: Divine Inspiration (Beginner). Requires Create Item Lv. 15. The success rate is 60%. -->

View File

@@ -39,8 +39,63 @@
</skill> </skill>
<skill id="39707" toLevel="1" name="Royal Honey Dark Beer"> <skill id="39707" toLevel="1" name="Royal Honey Dark Beer">
<!-- For $s1, all basic stats $s2, Vitality bonus +$s3, P./ M. Def. +$s4. Cooldown: 5 min. The effect remains after death. Cannot be used in the Olympiad. --> <!-- For $s1, all basic stats $s2, Vitality bonus +$s3, P./ M. Def. +$s4. Cooldown: 5 min. The effect remains after death. Cannot be used in the Olympiad. -->
<icon>icon.skill0000</icon> <icon>icon.bm_royal_black_beer</icon>
<operateType>A1</operateType> <operateType>A2</operateType>
<isMagic>2</isMagic>
<reuseDelay>300000</reuseDelay>
<coolTime>500</coolTime>
<abnormalType>HONEY_BEER</abnormalType>
<abnormalLevel>1</abnormalLevel>
<abnormalTime>1800</abnormalTime>
<stayAfterDeath>true</stayAfterDeath>
<blockedInOlympiad>true</blockedInOlympiad> <!-- Unconfirmed -->
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="StatUp">
<amount>3</amount>
<stat>STR</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>CON</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>DEX</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>INT</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>WIT</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>MEN</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>LUC</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>CHA</stat>
</effect>
<effect name="VitalityExpRate">
<amount>50</amount>
</effect>
<effect name="PhysicalDefence">
<amount>15</amount>
<mode>PER</mode>
</effect>
<effect name="MagicalDefence">
<amount>15</amount>
<mode>PER</mode>
</effect>
</effects>
</skill> </skill>
<skill id="39708" toLevel="1" name="First Time Lv. 120 Gift"> <skill id="39708" toLevel="1" name="First Time Lv. 120 Gift">
<!-- AUTO GENERATED SKILL TODO: FIX IT --> <!-- AUTO GENERATED SKILL TODO: FIX IT -->

View File

@@ -4,7 +4,17 @@
<enchant id="81737" maxEnchant="10"> <enchant id="81737" maxEnchant="10">
<item id="81736" /> <item id="81736" />
</enchant> </enchant>
<!-- Scroll: Enchant Mysterious Weapon -->
<enchant id="48502">
<item id="48494" />
</enchant>
<!-- Mysterious and Special Weapon Enchant Scroll -->
<enchant id="48503" maxEnchant="14" randomEnchantMin="1" randomEnchantMax="3">
<item id="48494" />
</enchant>
<!-- Blessed Scroll: Enchant Brooch --> <!-- Blessed Scroll: Enchant Brooch -->
<enchant id="81361" maxEnchant="10"> <enchant id="81361" maxEnchant="10">
<item id="81359" /> <item id="81359" />

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>34419</npc> <!-- Luna -->
</npcs>
<item>
<ingredient id="57" count="20000000" /> <!-- Adena -->
<production id="48494" count="1" /> <!-- Mysterious Dragon Slayer -->
</item>
<item>
<ingredient id="4356" count="160" /> <!-- Gold Einhasad -->
<production id="48500" count="1" /> <!-- Mythical Dragon Pack -->
</item>
</list>

View File

@@ -0,0 +1,7 @@
<html><body>Dragon Slayer Luna:<br>
Mysterious Dragon Slayer is a very special weapon. It is imbued with energy that was first discovered in the Dragon Valley. This energy is lethal for monsters that live there.<br>
The weapon can be enchanted with <font color="LEVEL">Scroll:Enchant Mysterious Weapon</font> created from dragon relics. This is the only way to reach the weapon's true potential.<br>
Don't you want to have this power of ancient dragons? As I've said, you won't be able to get it without luck. Give it a try! And if you are successful, I'll give you a nice reward.<br>
Don't forget, the weapon can only be enchanted with <font color="LEVEL">Scroll:Enchant Mysterious Weapon</font>. No other item will do.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest DragonSlayer 34419.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,24 @@
<html><body>Dragon Slayer Luna:<br>
You'd like to know what reward you will get for the enchanted Mysterious Dragon Slayer, wouldn't you? Nothing's easier! See for yourself, and if you notice something you like, don't waste time.<br>
+7 - Woundrous Shard (2 pcs.)<br1>
+8 - Elcyum<br1>
+9 - Shillien's Soul Crystal Box<br1>
+10 - Artifact Crystal (2 pcs.)<br1>
+11 - Royal Black Save Ticket<br1>
<font color="LEVEL">
+12 - Shiny Jewel Energy<br1>
+13 - Scroll: Enchant Ancient Cloak<br1>
+14 - Greater Zodiac Agathion's Book of Growth<br1>
+15 - Shining Energy of Protection<br1>
+16 - Dragon Weapon Augmenting Stone<br1>
+17 - Stable Scroll: Enchant Legendary Cloak<br1>
+18 - Greater Zodiac Agathion Cube<br1>
</font><font color="ff6868">
+19 - Sayha's Talisman Pack Lv. 10<br1>
+20 - Ultimate Luxurious Jewelry Pack Lv. 5<br1>
+21 - Mid-grade Dragon Weapon Pack<br1>
+22 - High-grade Dragon Weapon Pack<br1>
+23 - Top-grade Dragon Weapon Pack<br1>
</font>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest DragonSlayer 34419.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Dragon Slayer Luna:<br>
I can't find any mysterious Dragon Slayers here!<br>
If you want to receive the reward, <font color="LEVEL">equip the mysterious Dragon Slayer enchanted to +7 or above</font> and show me.<br>
If you have a Dragon Slayer enchanted to +7 or above, hold it in your hands and talk to me again.<br>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest DragonSLayer 32599.htm">Back</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Dragon Slayer Luna:<br>
Congratulations on beginning your enchants.<br>
It looks like luck is beginning to favor you. Don't be afraid to challenge yourself, my child. Well done!
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Dragon Slayer Luna:<br>
Well, are you ready to test your luck?<br>
I'm talking about enchanting Mysterious Dragon Slayer. You won't be able to do it without a bit of luck, that's for sure. So you have a great opportunity to see if you are lucky or not!<br>
If you manage to enchant Mysterious Dragon Slayer for +7 or higher, I will give you something rare.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DragonSlayer 34419-1.htm">Learn more about the event</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 344190001">Buy Mysterious Dragon Slayer</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DragonSlayer receive_reward">Give Mysterious Dragon Slayer enchanted to +7 ~ +23</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DragonSlayer 34419-2.htm">See the list of rewards</Button>
</body></html>

View File

@@ -0,0 +1,185 @@
/*
* 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.DragonSlayer;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
import org.l2jmobius.gameserver.model.holders.ItemHolder;
import org.l2jmobius.gameserver.model.itemcontainer.Inventory;
import org.l2jmobius.gameserver.model.quest.LongTimeEvent;
/**
* Dragon Slayer event AI.
* @author CostyKiller
*/
public class DragonSlayer extends LongTimeEvent
{
// NPC
private static final int LUNA = 34419;
// Items
private static final int MYSTERIOUS_DRAGON_SLAYER = 48494;
private static final ItemHolder REWARD_7_ID_AND_QTY = new ItemHolder(29759, 2); // Wondrous Shard
private static final ItemHolder REWARD_8_ID_AND_QTY = new ItemHolder(36515, 1); // Elcyum
private static final ItemHolder REWARD_9_ID_AND_QTY = new ItemHolder(48910, 1); // Shillien's Soul Crystal Box
private static final ItemHolder REWARD_10_ID_AND_QTY = new ItemHolder(80636, 2); // Artifact Crystal
private static final ItemHolder REWARD_11_ID_AND_QTY = new ItemHolder(80449, 1); // Royal Black Save Ticket
private static final ItemHolder REWARD_12_ID_AND_QTY = new ItemHolder(29469, 1); // Shiny Jewel Energy
private static final ItemHolder REWARD_13_ID_AND_QTY = new ItemHolder(28595, 1); // Scroll: Enchant Ancient Cloak
private static final ItemHolder REWARD_14_ID_AND_QTY = new ItemHolder(80932, 1); // Greater Zodiac Agathion's Book of Growth
private static final ItemHolder REWARD_15_ID_AND_QTY = new ItemHolder(81770, 1); // Shining Energy of Protection
private static final ItemHolder REWARD_16_ID_AND_QTY = new ItemHolder(81135, 1); // Dragon Weapon Augmenting Stone
private static final ItemHolder REWARD_17_ID_AND_QTY = new ItemHolder(28766, 1); // Stable Scroll: Enchant Legendary Cloak
private static final ItemHolder REWARD_18_ID_AND_QTY = new ItemHolder(80931, 1); // Greater Zodiac Agathion Cube
private static final ItemHolder REWARD_19_ID_AND_QTY = new ItemHolder(47821, 1); // Sayha's Talisman Pack Lv. 10
private static final ItemHolder REWARD_20_ID_AND_QTY = new ItemHolder(48839, 1); // Ultimate Luxurious Jewelry Box Lv. 5
private static final ItemHolder REWARD_21_ID_AND_QTY = new ItemHolder(48667, 1); // Mid-grade Dragon Weapon Pack
private static final ItemHolder REWARD_22_ID_AND_QTY = new ItemHolder(80663, 1); // High-grade Dragon Weapon Pack
private static final ItemHolder REWARD_23_ID_AND_QTY = new ItemHolder(29907, 1); // Top-grade Dragon Weapon Pack
private DragonSlayer()
{
addStartNpc(LUNA);
addFirstTalkId(LUNA);
addTalkId(LUNA);
}
@Override
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
{
String htmltext = event;
if (event.equals("receive_reward"))
{
if ((getItemEquipped(player, Inventory.PAPERDOLL_RHAND) == MYSTERIOUS_DRAGON_SLAYER) && (getEnchantLevel(player, MYSTERIOUS_DRAGON_SLAYER) > 6))
{
takeItems(player, MYSTERIOUS_DRAGON_SLAYER, 1);
switch (getEnchantLevel(player, MYSTERIOUS_DRAGON_SLAYER))
{
case 7:
{
giveItems(player, REWARD_7_ID_AND_QTY);
break;
}
case 8:
{
giveItems(player, REWARD_8_ID_AND_QTY);
break;
}
case 9:
{
giveItems(player, REWARD_9_ID_AND_QTY);
break;
}
case 10:
{
giveItems(player, REWARD_10_ID_AND_QTY);
break;
}
case 11:
{
giveItems(player, REWARD_11_ID_AND_QTY);
break;
}
case 12:
{
giveItems(player, REWARD_12_ID_AND_QTY);
break;
}
case 13:
{
giveItems(player, REWARD_13_ID_AND_QTY);
break;
}
case 14:
{
giveItems(player, REWARD_14_ID_AND_QTY);
break;
}
case 15:
{
giveItems(player, REWARD_15_ID_AND_QTY);
break;
}
case 16:
{
giveItems(player, REWARD_16_ID_AND_QTY);
break;
}
case 17:
{
giveItems(player, REWARD_17_ID_AND_QTY);
break;
}
case 18:
{
giveItems(player, REWARD_18_ID_AND_QTY);
break;
}
case 19:
{
giveItems(player, REWARD_19_ID_AND_QTY);
break;
}
case 20:
{
giveItems(player, REWARD_20_ID_AND_QTY);
break;
}
case 21:
{
giveItems(player, REWARD_21_ID_AND_QTY);
break;
}
case 22:
{
giveItems(player, REWARD_22_ID_AND_QTY);
break;
}
case 23:
{
giveItems(player, REWARD_23_ID_AND_QTY);
break;
}
default:
{
if (getEnchantLevel(player, MYSTERIOUS_DRAGON_SLAYER) > 23)
{
giveItems(player, REWARD_23_ID_AND_QTY);
}
break;
}
}
htmltext = "34419-rewardok.htm";
}
else
{
htmltext = "34419-rewardnosword.htm";
}
}
return htmltext;
}
@Override
public String onFirstTalk(Npc npc, PlayerInstance player)
{
return npc.getId() + ".htm";
}
public static void main(String[] args)
{
new DragonSlayer();
}
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Dragon Slayer" active="14 06 2021-14 08 2021" enableShrines="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<spawnlist>
<add npc="34419" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
<add npc="34419" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
<add npc="34419" x="80814" y="147987" z="-3448" heading="3355" /> <!-- Giran -->
<add npc="34419" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
<add npc="34419" x="147457" y="27863" z="-2248" heading="17863" /> <!-- Aden -->
<add npc="34419" x="112172" y="220447" z="-3648" heading="30708" /> <!-- Heine -->
<add npc="34419" x="148195" y="-57368" z="-2752" heading="17863" /> <!-- Goddard -->
<add npc="34419" x="44530" y="-48368" z="-776" heading="14450" /> <!-- Rune -->
<add npc="34419" x="86897" y="-141346" z="-1320" heading="49153" /> <!-- Shutgard -->
<add npc="34419" x="-114822" y="256385" z="-1472" heading="49744" /> <!-- Talking Island -->
<add npc="34419" x="-78832" y="249115" z="-3272" heading="56380" /> <!-- Faeron Village -->
<add npc="34419" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
<add npc="34419" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
<add npc="34419" x="208499" y="87743" z="-1006" heading="11264" /> <!-- Arcan -->
</spawnlist>
<messages>
<add type="onEnd" text="Dragon Slayer: Event end!" />
<add type="onEnter" text="Dragon Slayer: Event ongoing! Visit Luna! The event will end at Aug 14th!" />
</messages>
</event>

View File

@@ -1335,7 +1335,7 @@
</stats> </stats>
</item> </item>
<item id="48494" name="Mysterious Dragon Slayer" type="Weapon"> <item id="48494" name="Mysterious Dragon Slayer" type="Weapon">
<!-- ?ontains the power of an ancient dragon, which can be drawn by enchanting. Enchant it to a high level and take it to Luna to obtain a special reward. --> <!-- Contains the power of an ancient dragon, which can be drawn by enchanting. Enchant it to a high level and take it to Luna to obtain a special reward. -->
<set name="icon" val="icon.bm_the_two_handed_sword_of_hero" /> <set name="icon" val="icon.bm_the_two_handed_sword_of_hero" />
<set name="default_action" val="EQUIP" /> <set name="default_action" val="EQUIP" />
<set name="weapon_type" val="SWORD" /> <set name="weapon_type" val="SWORD" />
@@ -1345,7 +1345,8 @@
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="soulshots" val="1" /> <set name="soulshots" val="1" />
<set name="spiritshots" val="1" /> <set name="spiritshots" val="1" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="enchant_enabled" val="true" />
<stats> <stats>
<stat type="pAtk">282</stat> <stat type="pAtk">282</stat>
<stat type="mAtk">114</stat> <stat type="mAtk">114</stat>

View File

@@ -3,10 +3,48 @@
<item id="48500" name="Dragon's Relic Chest" type="EtcItem"> <item id="48500" name="Dragon's Relic Chest" type="EtcItem">
<!-- Double-click to obtain a random item. --> <!-- Double-click to obtain a random item. -->
<set name="icon" val="icon.bm_dragon_present_3" /> <set name="icon" val="icon.bm_dragon_present_3" />
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" /> <set name="default_action" val="CAPSULE" />
<set name="immediate_effect" val="true" />
<set name="material" val="LEATHER" /> <set name="material" val="LEATHER" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="ExtractableItems" />
<capsuled_items>
<item id="48502" min="5" max="5" chance="100" /> <!-- Scroll: Enchant Mysterious Weapon -->
<item id="29379" min="1" max="1" chance="3.03" /> <!-- Peeves' Purple Potion -->
<item id="29677" min="1" max="1" chance="3.03" /> <!-- Glittering Freya's Ice Rose -->
<item id="29916" min="1" max="1" chance="3.03" /> <!-- +20 Supreme Krishna Weapon Pack -->
<item id="36414" min="1" max="1" chance="3.03" /> <!-- Dragon Claw -->
<item id="36515" min="6" max="6" chance="3.03" /> <!-- Elcyum -->
<item id="37560" min="5" max="5" chance="3.03" /> <!-- Emperor's Vitality Tonic -->
<item id="39738" min="10" max="10" chance="3.03" /> <!-- Rune Stone -->
<item id="47494" min="5" max="5" chance="3.03" /> <!-- Selenite -->
<item id="48831" min="1" max="1" chance="3.03" /> <!-- Jewel Energy -->
<item id="48840" min="1" max="1" chance="3.03" /> <!-- Ultimate Luxurious Jewelry Box Lv. 1 -->
<item id="48876" min="1" max="1" chance="3.03" /> <!-- Forgotten Spellbook Chapter 1 -->
<item id="48912" min="1" max="1" chance="3.03" /> <!-- Gran Kain's Scroll: Enchant R-grade Weapon -->
<item id="80000" min="1" max="1" chance="3.03" /> <!-- Artifact Fragment -->
<item id="80449" min="1" max="1" chance="3.03" /> <!-- Royal Black Save Ticket -->
<item id="80501" min="1" max="1" chance="3.03" /> <!-- Royal Gold Save Ticket -->
<item id="80502" min="1" max="1" chance="3.03" /> <!-- Gran Kain's Scroll: Enchant R-grade Armor -->
<item id="80636" min="1" max="1" chance="3.03" /> <!-- Artifact Crystal -->
<item id="80817" min="2" max="2" chance="3.03" /> <!-- Emperor's Special Cocktail -->
<item id="80932" min="1" max="1" chance="3.03" /> <!-- Greater Zodiac Agathion's Book of Growth -->
<item id="80958" min="1" max="1" chance="3.03" /> <!-- Sealed Heavenly Talisman -->
<item id="80964" min="1" max="1" chance="3.03" /> <!-- Energy of Protection -->
<item id="81059" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (P. Atk.) -->
<item id="81069" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (Standard Attack Critical Damage) -->
<item id="81079" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (P. Skill Critical Damage) -->
<item id="81099" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (M. Atk.) -->
<item id="81109" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (M. Critical Damage) -->
<item id="81119" min="1" max="1" chance="3.03" /> <!-- Legendary Dye Lv. 5 (M. Skill Power) -->
<item id="81134" min="2" max="2" chance="3.03" /> <!-- Crystal of Dyes -->
<item id="81453" min="1" max="1" chance="3.03" /> <!-- Enhanced Rune Stone -->
<item id="81706" min="1" max="1" chance="3.03" /> <!-- Scroll: Enchant Superior Seed Bracelet -->
<item id="81729" min="1" max="1" chance="3.03" /> <!-- Accessory Augmenting Stone -->
<item id="81747" min="2" max="2" chance="3.03" /> <!-- Royal Honey Dark Beer -->
<item id="81759" min="2" max="2" chance="3.03" /> <!-- Glowing Royal Dragon's Attribute Potion (EXP) -->
</capsuled_items>
</item> </item>
<item id="48501" name="Shining Dragon's Relic Chest" type="EtcItem"> <item id="48501" name="Shining Dragon's Relic Chest" type="EtcItem">
<!-- Double-click the box to obtain a very rare item at random. --> <!-- Double-click the box to obtain a very rare item at random. -->
@@ -20,19 +58,31 @@
<!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Cannot use enchant success rate boosting items. --> <!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Cannot use enchant success rate boosting items. -->
<set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" /> <set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="ENCHT_WP" />
<set name="material" val="PAPER" /> <set name="material" val="PAPER" />
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="EnchantScrolls" />
<set name="immediate_effect" val="true" />
<skills>
<skill id="39204" level="1" /> <!-- Scroll: Enchant Mysterious Weapon -->
</skills>
</item> </item>
<item id="48503" name="Mysterious and Special Weapon Enchant Scroll" type="EtcItem"> <item id="48503" name="Mysterious and Special Weapon Enchant Scroll" type="EtcItem">
<!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Enchants the weapon randomly from +1 to +3. Can enchant up to +14, and the weapon is destroyed when enchanting fails. Cannot use enchant success rate boosting items. --> <!-- Weapon enchant scroll that can only be used on a Mysterious Dragon Slayer. The Mysterious Dragon Slayer weapon can be purchased from Dragon Slayer Luna on the event platform in the each town. Enchants the weapon randomly from +1 to +3. Can enchant up to +14, and the weapon is destroyed when enchanting fails. Cannot use enchant success rate boosting items. -->
<set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" /> <set name="icon" val="icon.yogi_scroll_of_enchant_weapon_grade_i00" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE" />
<set name="etcitem_type" val="ENCHT_WP" />
<set name="material" val="PAPER" /> <set name="material" val="PAPER" />
<set name="weight" val="10" /> <set name="weight" val="10" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" /> <set name="is_stackable" val="true" />
<set name="handler" val="EnchantScrolls" />
<set name="immediate_effect" val="true" />
<skills>
<skill id="39204" level="2" /> <!-- Scroll: Enchant Mysterious Weapon -->
</skills>
</item> </item>
<item id="48504" name="+10 Bloody Armor set Pack" type="EtcItem"> <item id="48504" name="+10 Bloody Armor set Pack" type="EtcItem">
<!-- Double-click to obtain one of the following items: +10 Bloody Eternal Heavy/ Light/ Robe set. --> <!-- Double-click to obtain one of the following items: +10 Bloody Eternal Heavy/ Light/ Robe set. -->

View File

@@ -571,8 +571,16 @@
<!-- For 30 min. all basic stats +3, Vitality bonus +50%, P./ M. Def. +15%.\n\nThe effect remains after death. Cooldown: 5 min.\nCannot be used in the Olympiad. --> <!-- For 30 min. all basic stats +3, Vitality bonus +50%, P./ M. Def. +15%.\n\nThe effect remains after death. Cooldown: 5 min.\nCannot be used in the Olympiad. -->
<set name="icon" val="icon.bm_royal_black_beer" /> <set name="icon" val="icon.bm_royal_black_beer" />
<set name="default_action" val="SKILL_REDUCE" /> <set name="default_action" val="SKILL_REDUCE" />
<set name="immediate_effect" val="true" />
<set name="material" val="LIQUID" /> <set name="material" val="LIQUID" />
<set name="is_sellable" val="false" /> <set name="is_sellable" val="false" />
<set name="is_stackable" val="true" />
<set name="is_oly_restricted" val="true" />
<set name="is_coc_restricted" val="true" />
<set name="handler" val="ItemSkills" />
<skills>
<skill id="39707" level="1" /> <!-- Royal Honey Dark Beer -->
</skills>
</item> </item>
<item id="81748" name="Recipe: Ancient Book: Divine Inspiration (Beginner) (60%)" type="EtcItem"> <item id="81748" name="Recipe: Ancient Book: Divine Inspiration (Beginner) (60%)" type="EtcItem">
<!-- For Tyrr Maestro only. A recipe for Ancient Book: Divine Inspiration (Beginner). Requires Create Item Lv. 15. The success rate is 60%. --> <!-- For Tyrr Maestro only. A recipe for Ancient Book: Divine Inspiration (Beginner). Requires Create Item Lv. 15. The success rate is 60%. -->

View File

@@ -39,8 +39,63 @@
</skill> </skill>
<skill id="39707" toLevel="1" name="Royal Honey Dark Beer"> <skill id="39707" toLevel="1" name="Royal Honey Dark Beer">
<!-- For $s1, all basic stats $s2, Vitality bonus +$s3, P./ M. Def. +$s4. Cooldown: 5 min. The effect remains after death. Cannot be used in the Olympiad. --> <!-- For $s1, all basic stats $s2, Vitality bonus +$s3, P./ M. Def. +$s4. Cooldown: 5 min. The effect remains after death. Cannot be used in the Olympiad. -->
<icon>icon.skill0000</icon> <icon>icon.bm_royal_black_beer</icon>
<operateType>A1</operateType> <operateType>A2</operateType>
<isMagic>2</isMagic>
<reuseDelay>300000</reuseDelay>
<coolTime>500</coolTime>
<abnormalType>HONEY_BEER</abnormalType>
<abnormalLevel>1</abnormalLevel>
<abnormalTime>1800</abnormalTime>
<stayAfterDeath>true</stayAfterDeath>
<blockedInOlympiad>true</blockedInOlympiad> <!-- Unconfirmed -->
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<effects>
<effect name="StatUp">
<amount>3</amount>
<stat>STR</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>CON</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>DEX</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>INT</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>WIT</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>MEN</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>LUC</stat>
</effect>
<effect name="StatUp">
<amount>3</amount>
<stat>CHA</stat>
</effect>
<effect name="VitalityExpRate">
<amount>50</amount>
</effect>
<effect name="PhysicalDefence">
<amount>15</amount>
<mode>PER</mode>
</effect>
<effect name="MagicalDefence">
<amount>15</amount>
<mode>PER</mode>
</effect>
</effects>
</skill> </skill>
<skill id="39708" toLevel="1" name="First Time Lv. 120 Gift"> <skill id="39708" toLevel="1" name="First Time Lv. 120 Gift">
<!-- AUTO GENERATED SKILL TODO: FIX IT --> <!-- AUTO GENERATED SKILL TODO: FIX IT -->