Addition of Happy Hours event.
Thanks quangnguyen and Liamxroy.
This commit is contained in:
parent
828a1586e6
commit
c41c433dd6
146
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/multisell/3426200.xml
vendored
Normal file
146
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/multisell/3426200.xml
vendored
Normal file
@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34262</npc> <!-- Sibi Manager -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient id="57" count="110000" />
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="200" />
|
||||
<!-- Golden Mermaid's Tear 7-day -->
|
||||
<production id="49585" count="1" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious No-grade Soulshot -->
|
||||
<production id="34603" count="571" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious D-grade Soulshot -->
|
||||
<production id="34604" count="400" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious C-grade Soulshot -->
|
||||
<production id="34605" count="267" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious B-grade Soulshot -->
|
||||
<production id="34606" count="80" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious A-grade Soulshot -->
|
||||
<production id="34607" count="50" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed No-grade Soulshot -->
|
||||
<production id="49744" count="267" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed D-grade Soulshot -->
|
||||
<production id="49745" count="160" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed C-grade Soulshot -->
|
||||
<production id="49746" count="103" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed B-grade Soulshot -->
|
||||
<production id="49747" count="30" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed A-grade Soulshot -->
|
||||
<production id="49748" count="18" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious No-grade Spiritshot -->
|
||||
<production id="49062" count="267" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious D-grade Spiritshot -->
|
||||
<production id="49063" count="222" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious C-grade Spiritshot -->
|
||||
<production id="49064" count="114" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious B-grade Spiritshot -->
|
||||
<production id="49749" count="40" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious A-grade Spiritshot -->
|
||||
<production id="49750" count="33" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed No-grade Spiritshot -->
|
||||
<production id="34610" count="114" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed D-grade Spiritshot -->
|
||||
<production id="34611" count="89" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed C-grade Spiritshot -->
|
||||
<production id="34612" count="44" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed B-grade Spiritshot -->
|
||||
<production id="34613" count="16" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed A-grade Spiritshot -->
|
||||
<production id="34614" count="14" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="50" />
|
||||
<!-- Greater Scroll of Resurrection -->
|
||||
<production id="49542" count="1" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="50" />
|
||||
<!-- Fishing Rod Chest 10-day -->
|
||||
<production id="49507" count="1" />
|
||||
</item>
|
||||
</list>
|
20
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/multisell/3426201.xml
vendored
Normal file
20
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/multisell/3426201.xml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34262</npc> <!-- Sibi Manager -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="20" />
|
||||
<production id="32253" count="1" chance="1" /> <!-- Infinite Mithril Quiver -->
|
||||
<production id="32249" count="1" chance="1" /> <!-- Infinite Wooden Quiver -->
|
||||
<production id="32250" count="1" chance="1" /> <!-- Infinite Bone Quiver -->
|
||||
<production id="32251" count="1" chance="1" /> <!-- Infinite Steel Quiver -->
|
||||
<production id="32252" count="1" chance="1" /> <!-- Infinite Silver Quiver -->
|
||||
<production id="17" count="100" chance="19" /> <!-- Wooden Arrow -->
|
||||
<production id="1341" count="200" chance="19" /> <!-- Bone Arrow -->
|
||||
<production id="1342" count="100" chance="19" /> <!-- Steel Arrow -->
|
||||
<production id="1343" count="100" chance="19" /> <!-- Silver Arrow -->
|
||||
<production id="1344" count="100" chance="19" /> <!-- Mithril Arrow -->
|
||||
</item>
|
||||
</list>
|
25
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/multisell/3426202.xml
vendored
Normal file
25
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/multisell/3426202.xml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34262</npc> <!-- Sibi Manager -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="50" /> <!-- Sibi's Coin -->
|
||||
<production id="49580" count="1" chance="1" /> <!-- Baium Ring -->
|
||||
<production id="49785" count="1" chance="1" /> <!-- Weapon Supply Box A-grade -->
|
||||
<production id="90014" count="1" chance="1" /> <!-- High Grade Life Stone -->
|
||||
<production id="6662" count="1" chance="1" /> <!-- Ring of Core -->
|
||||
<production id="6661" count="1" chance="1" /> <!-- Orfen's Earring -->
|
||||
<production id="49682" count="1" chance="1" /> <!-- Baium Soul -->
|
||||
<production id="49756" count="1" chance="1" /> <!-- Cloth Piece -->
|
||||
<production id="70007" count="1" chance="1" /> <!-- Sealed Rune Lv.8 -->
|
||||
<production id="49681" count="1" chance="1" /> <!-- Talisman of Insolence VI -->
|
||||
<production id="49789" count="1" chance="1" /> <!-- +8 Enchanted Weapon Supply Box B-grade -->
|
||||
<production id="49790" count="1" chance="1" /> <!-- +16 Enchanted Weapon Supply Box C-grade -->
|
||||
<production id="49783" count="50" chance="10" /> <!-- Sibi's Coin -->
|
||||
<production id="49783" count="30" chance="15" /> <!-- Sibi's Coin -->
|
||||
<production id="49783" count="20" chance="25" /> <!-- Sibi's Coin -->
|
||||
<production id="49783" count="5" chance="39" /> <!-- Sibi's Coin -->
|
||||
</item>
|
||||
</list>
|
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262-1.htm
vendored
Normal file
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262-1.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
Balthus Knight's Supply Box is a special item prepared by Duke Balthus Van Dyke for the Bathus Knights to alleviate their hardship.<br>
|
||||
Can I really supply for the great warrior <font color="LEVEL">Lemniscate</font>? <font color="LEVEL">Balthus Knight's Supply Box</font> can only be obtained by <font color="LEVEL">one character Lv.20 and above per account.</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest HappyHours giveSupplyBox">"Please give me the Balthus Knight's Supply Box."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 0">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262-2.htm
vendored
Normal file
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262-2.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
Augh! You're not a Balthus Knight! How come you had the crust to pretend being one!<br>
|
||||
Well then, I forgive you this time. But if you try again to pass as ab Balthus Knight, you won't get away with that!<br>
|
||||
(Supplies are given once a day, one piece per one account of a character who reached Level 20.)<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 0">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262-3.htm
vendored
Normal file
6
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262-3.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
Hello! Do you know that greed comes before a fall?<br1>
|
||||
You have already received your Supply Box, that's enough for you!<br>
|
||||
Open your inventory, probably the box is there.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 0">Back</Button>
|
||||
</body></html>
|
13
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262.htm
vendored
Normal file
13
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/34262.htm
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
My name is Sibi, I am Balthus Knight's Supply Officer. The Lord of Oren Castle, Balthus Van Dyke, entrusted me with an important mission. Come to me whenever you need supplies for your missions.<br>
|
||||
Besides, if you have <font color="LEVEL">Sibi's Coins</font>, I can exchange them for useful consumables and some special rewards!<br>
|
||||
When event ends the following items will be deleted:<br1>
|
||||
-Sibi's Coin<br1>
|
||||
-Balthus Knight's Mark<br1>
|
||||
-Balthus Knight's Supply Box<br1>
|
||||
-Sibi's Coin Box<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest HappyHours 34262-1.htm">"What is the Balthus Knights Supply Box?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Multisell 3426200">"I want to exchange Sibi's Coins for consumables."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Multisell 3426201">"I want to get an Infinite Arrow Quiver."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Multisell 3426202">"I want to get some special reward."</Button>
|
||||
</body></html>
|
122
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/HappyHours.java
vendored
Normal file
122
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/HappyHours.java
vendored
Normal file
@ -0,0 +1,122 @@
|
||||
/*
|
||||
* 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.HappyHours;
|
||||
|
||||
import com.l2jmobius.gameserver.model.L2World;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class HappyHours extends LongTimeEvent
|
||||
{
|
||||
// NPC
|
||||
private static final int SIBI = 34262;
|
||||
// Items
|
||||
private static final int SUPPLY_BOX = 49782;
|
||||
private static final int SIBIS_COIN = 49783;
|
||||
// Skill
|
||||
private static final int TRANSFORMATION_SKILL = 39171;
|
||||
// Other
|
||||
private static final int MIN_LEVEL = 20;
|
||||
private static final int REWARD_INTERVAL = 60 * 60 * 1000; // 1 hour
|
||||
private static long _lastRewardTime = System.currentTimeMillis();
|
||||
|
||||
private HappyHours()
|
||||
{
|
||||
addStartNpc(SIBI);
|
||||
addFirstTalkId(SIBI);
|
||||
addTalkId(SIBI);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34262-1.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "giveSupplyBox":
|
||||
{
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
return "34262-2.htm";
|
||||
}
|
||||
if (hasQuestItems(player, SUPPLY_BOX))
|
||||
{
|
||||
return "34262-3.htm";
|
||||
}
|
||||
giveItems(player, SUPPLY_BOX, 1);
|
||||
break;
|
||||
}
|
||||
case "REWARD_SIBI_COINS":
|
||||
{
|
||||
if (isEventPeriod())
|
||||
{
|
||||
if ((System.currentTimeMillis() - (_lastRewardTime + REWARD_INTERVAL)) > 0) // Exploit check - Just in case.
|
||||
{
|
||||
_lastRewardTime = System.currentTimeMillis();
|
||||
final SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.YOU_OBTAINED_S1_SIBI_S_COINS);
|
||||
msg.addInt(20);
|
||||
for (L2PcInstance plr : L2World.getInstance().getPlayers())
|
||||
{
|
||||
if ((plr != null) && (plr.isOnlineInt() == 1) && plr.isAffectedBySkill(TRANSFORMATION_SKILL))
|
||||
{
|
||||
plr.addItem("HappyHours", SIBIS_COIN, 20, player, false);
|
||||
plr.sendPacket(msg);
|
||||
// TODO: Random reward.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cancelQuestTimers("REWARD_SIBI_COINS");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
return "34262.htm";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void startEvent()
|
||||
{
|
||||
super.startEvent();
|
||||
cancelQuestTimers("REWARD_SIBI_COINS");
|
||||
startQuestTimer("REWARD_SIBI_COINS", REWARD_INTERVAL + 1000, null, null, true);
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new HappyHours();
|
||||
}
|
||||
}
|
27
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/config.xml
vendored
Normal file
27
L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/events/HappyHours/config.xml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Happy Hours" active="05 09 2017-03 10 2017" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<spawnlist>
|
||||
<add npc="34262" x="-84008" y="243032" z="-3728" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="34262" x="45688" y="49080" z="-3056" heading="49744" /> <!-- Elven Village -->
|
||||
<add npc="34262" x="-44584" y="-113608" z="-192" heading="49744" /> <!-- Orc Village -->
|
||||
<add npc="34262" x="10643" y="17034" z="-4592" heading="49744" /> <!-- Dark Elven Village -->
|
||||
<add npc="34262" x="115656" y="-178056" z="-912" heading="49744" /> <!-- Dwarf Village -->
|
||||
<add npc="34262" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
|
||||
<add npc="34262" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="34262" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="34262" x="82312" y="148616" z="-3440" heading="3355" /> <!-- Giran -->
|
||||
<add npc="34262" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="34262" x="147064" y="25928" z="-2008" heading="17863" /> <!-- Aden -->
|
||||
<add npc="34262" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
</spawnlist>
|
||||
<destoyItemsOnEnd>
|
||||
<item id="49783" /> <!-- Sibi's Coin -->
|
||||
<item id="49784" /> <!-- Balthus Knight Mark -->
|
||||
<item id="49782" /> <!-- Balthus Knight Supply Box -->
|
||||
<item id="49800" /> <!-- Sibi's Coin Box -->
|
||||
</destoyItemsOnEnd>
|
||||
<messages>
|
||||
<add type="onEnd" text="Happy Hours: Event end!" />
|
||||
<add type="onEnter" text="Happy Hours: Event ongoing!" />
|
||||
</messages>
|
||||
</event>
|
@ -511,6 +511,7 @@
|
||||
<!-- Magic scroll, restoring 50% of XP and resurrecting the character. Cannot be exchanged, dropped, or sold. Can be stored in a private warehouse. -->
|
||||
<set name="icon" val="icon.etc_scroll_of_resurrection_i01" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="etcitem_type" val="SCROLL" />
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="weight" val="120" />
|
||||
<set name="is_tradable" val="false" />
|
||||
@ -518,6 +519,12 @@
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="commissionItemType" val="SCROLL_OTHER" />
|
||||
<skills>
|
||||
<skill id="39109" level="1" /> <!-- Improved Scroll of Resurrection -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49543" name="Elemental Stone" type="EtcItem">
|
||||
<!-- A stone containing incredible power. -->
|
||||
@ -1066,6 +1073,10 @@
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="time" val="10080" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39113" level="1" /> <!-- Golden Necklace of Mermaid -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49586" name="Mermaid's Golden Fishing Rod" additionalName="30-day" type="Weapon">
|
||||
<!-- 30-day item. Mermaid's Golden Fishing Rod. Cannot be exchanged, dropped, or sold. Can be stored in a private warehouse. Bobber usage: 1. Enables to teleport to Giran/Gludin. Cooldown: 1 min. -->
|
||||
|
@ -1096,11 +1096,16 @@
|
||||
<!-- Double-click to receive 3 Balthus Knight Marks. (Can be used only once a day). Cannot be exchanged, dropped or sold. Can be stored in a private warehouse. This item will be deleted after the event is over. -->
|
||||
<set name="icon" val="icon.etc_ev_kalie_treasure_box" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="reuse_delay" val="86400000" /> <!-- 1 Day -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39170" level="1"/> <!-- Balthus Knights Supply -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49783" name="Sibis Coin" type="EtcItem">
|
||||
<!-- You can exchange this coin with Event Manager Sibis for event items or materials. The item will be deleted after the event is over. -->
|
||||
@ -1108,17 +1113,23 @@
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_tradable" val="true" />
|
||||
</item>
|
||||
<item id="49784" name="Balthus Knight Mark" type="EtcItem">
|
||||
<!-- XP/SP gain + 10% and a chance to get Special Supplies for 1 hour. Intended for Lv. 20 and higher. Cannot be exchanged, dropped, or sold in a private store. Can be stored in a private warehouse and transferred between characters on the same account. The item will be removed after the event is over. -->
|
||||
<set name="icon" val="icon.ev_balthus_token" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="reuse_delay" val="60000" /> <!-- 1 minute -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39171" level="1"/> <!-- Member of Balthus Knights -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49785" name="Weapon Supply Box (A-grade)" type="EtcItem">
|
||||
<!-- Double-click to receive an A-grade Weapon. -->
|
||||
@ -1128,7 +1139,7 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39172" level="1"/> <!--Weapon Supply Box (A-grade)-->
|
||||
<skill id="39172" level="1"/> <!-- Weapon Supply Box (A-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49786" name="A-grade Armor Supply Box" type="EtcItem">
|
||||
@ -1139,7 +1150,7 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39173" level="1"/> <!--Armor Supply Box (A-grade)-->
|
||||
<skill id="39173" level="1"/> <!-- Armor Supply Box (A-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49787" name="Solid Scroll: Enchant (A-grade) Box" type="EtcItem">
|
||||
@ -1161,16 +1172,24 @@
|
||||
<item id="49789" name="+8 Enchanted Weapon Supply Box (B-grade)" type="EtcItem">
|
||||
<!-- Double-click to receive a +8 B-grade Weapon. -->
|
||||
<set name="icon" val="icon.etc_jewel_box_i00" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39174" level="1"/> <!-- +8 Enchanted Weapon Supply Box (B-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49790" name="+16 Enchanted Weapon Supply Box (C-grade)" type="EtcItem">
|
||||
<!-- Double-click to receive a +16 C-grade Weapon. -->
|
||||
<set name="icon" val="icon.etc_treasure_box_i06" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39175" level="1"/> <!-- +16 Enchanted Weapon Supply Box (C-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49791" name="Cadmus Transformation Bracelet - Prophet" additionalName="1-day" type="Armor">
|
||||
<!-- Transforms you into Prophet Cadmus. Can be used once a day. After the transformation, you can use the following skills for 4 hours: Might, Shield, Wind Walk, Return, Focus, Death Whisper, Guidance, Haste, Acumen, and Heal. Cannot be exchanged, dropped, or sold in a private store. Can be stored in a private warehouse. A 1-day item. -->
|
||||
|
@ -61,6 +61,10 @@
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39272" level="1"/> <!--Officer of Balthus Knights -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="90507" name="Dragon's Balthus Chest" type="EtcItem">
|
||||
<!-- Double-click to receive Dragon's Treasure Chest that can have random rare accessories or one of many Enchanted Scrolls. Cannot be dropped or sold in the grocery store. -->
|
||||
|
@ -200,7 +200,7 @@
|
||||
<height normal="30" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="34262" level="99" type="L2Npc" name="Sibis" title="u,Balthus Knights’ Supply Officer">
|
||||
<npc id="34262" level="99" type="L2Merchant" name="Sibis" title="Balthus Knights’ Supply Officer">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>HUMAN</race>
|
||||
<sex>FEMALE</sex>
|
||||
|
@ -579,11 +579,11 @@
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>5</amount>
|
||||
<mode>PER</mode>
|
||||
<mode>DIFF</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>5</amount>
|
||||
<mode>PER</mode>
|
||||
<mode>DIFF</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
@ -819,7 +819,7 @@
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39057" toLevel="1" name="Warrior Experience Amulet">
|
||||
<skill id="39057" toLevel="1" name="Hero Experience Rune">
|
||||
<icon>icon.skill19226</icon>
|
||||
<operateType>P</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
@ -1097,14 +1097,132 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39072" toLevel="1" name="Weapon Supply Box (D-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39072</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49491</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="7.14">
|
||||
<item id="2499" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="70" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="224" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="225" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="1660" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="278" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="279" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="280" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="262" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="297" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="159" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="189" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="188" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="190" count="1" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39073" toLevel="1" name="Weapon Supply Box (C-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39073</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49492</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="8.3">
|
||||
<item id="242" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="7887" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="72" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="71" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="281" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="193" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="160" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="161" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="192" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="194" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="302" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="263" count="1" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39074" toLevel="1" name="Angel Cat's Energy">
|
||||
<!-- For 60 min., Max HP/MP + 5%, and XP/SP gained through hunting + 20%. -->
|
||||
|
@ -69,9 +69,28 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39109" toLevel="1" name="Improved Scroll of Resurrection">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<castRange>400</castRange>
|
||||
<effectPoint>1</effectPoint>
|
||||
<effectRange>600</effectRange>
|
||||
<hitTime>1000</hitTime>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49542</itemConsumeId> <!-- Improved Scroll of Resurrection -->
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<coolTime>500</coolTime>
|
||||
<targetType>PC_BODY</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpResurrection" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="Resurrection">
|
||||
<power>50</power>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39110" toLevel="1" name="Teleport Device - Entrance to Enchanted Valley">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
@ -89,9 +108,35 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39113" toLevel="1" name="Golden Necklace of Mermaid">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<icon>icon.skill39113</icon>
|
||||
<abnormalLvl>1</abnormalLvl>
|
||||
<abnormalTime>3600</abnormalTime>
|
||||
<abnormalType>VOTE</abnormalType>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49585</itemConsumeId>
|
||||
<operateType>A2</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLvl>1</magicLvl>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>50</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>50</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39114" toLevel="3" name="Refined Queen Ant's Ring">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
@ -1092,14 +1137,73 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39170" toLevel="1" name="Balthus Knights Supply">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39172</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<reuseDelay>86400000</reuseDelay>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="100.0">
|
||||
<item id="49784" count="3" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39171" toLevel="1" name="Member of Balthus Knights">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49784</itemConsumeId>
|
||||
<abnormalLvl>1</abnormalLvl>
|
||||
<abnormalTime>3600</abnormalTime>
|
||||
<abnormalType>CHANGEBODY</abnormalType>
|
||||
<abnormalVisualEffect>CHANGESHAPE_TRANSFORM</abnormalVisualEffect>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<blockedInOlympiad>true</blockedInOlympiad>
|
||||
<effectPoint>1</effectPoint>
|
||||
<icon>icon.skill39171</icon>
|
||||
<isMagic>4</isMagic> <!-- Magic Skill -->
|
||||
<magicLvl>56</magicLvl>
|
||||
<operateType>A2</operateType>
|
||||
<reuseDelay>60000</reuseDelay>
|
||||
<reuseDelayLock>true</reuseDelayLock>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<hitTime>3000</hitTime>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<basicProperty>NONE</basicProperty>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>20</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39172" toLevel="1" name="Weapon Supply Box (A-grade)">
|
||||
<icon>icon.skill39172</icon>
|
||||
@ -1305,14 +1409,165 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39174" toLevel="1" name="+8 Enchanted Weapon Supply Box (B-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39174</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49789</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="4.0">
|
||||
<item id="175" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="267" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="268" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="287" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="79" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="284" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="171" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="234" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="300" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="78" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7883" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="91" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7900" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7893" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="142" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="229" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="97" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="264" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7892" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="92" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="210" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7901" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="148" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="243" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7889" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39175" toLevel="1" name="+16 Enchanted Weapon Supply Box (C-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39175</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49790</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="8.3">
|
||||
<item id="242" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="7887" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="72" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="71" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="281" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="193" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="160" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="161" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="192" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="194" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="302" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="263" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39176" toLevel="1" name="Red Libra Supplies Lv. 1">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
|
@ -814,9 +814,35 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39272" toLevel="1" name="Officer of Balthus Knights">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>90506</itemConsumeId>
|
||||
<abnormalLvl>1</abnormalLvl>
|
||||
<abnormalTime>3600</abnormalTime>
|
||||
<abnormalType>VOTE</abnormalType>
|
||||
<icon>icon.skill39171</icon>
|
||||
<operateType>A2</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLvl>1</magicLvl>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>20</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>20</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>20</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39273" toLevel="1" name="Special Dragon's Fruit">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
|
146
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/multisell/3426200.xml
vendored
Normal file
146
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/multisell/3426200.xml
vendored
Normal file
@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34262</npc> <!-- Sibi Manager -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Adena -->
|
||||
<ingredient id="57" count="110000" />
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="200" />
|
||||
<!-- Golden Mermaid's Tear 7-day -->
|
||||
<production id="49585" count="1" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious No-grade Soulshot -->
|
||||
<production id="34603" count="571" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious D-grade Soulshot -->
|
||||
<production id="34604" count="400" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious C-grade Soulshot -->
|
||||
<production id="34605" count="267" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious B-grade Soulshot -->
|
||||
<production id="34606" count="80" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious A-grade Soulshot -->
|
||||
<production id="34607" count="50" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed No-grade Soulshot -->
|
||||
<production id="49744" count="267" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed D-grade Soulshot -->
|
||||
<production id="49745" count="160" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed C-grade Soulshot -->
|
||||
<production id="49746" count="103" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed B-grade Soulshot -->
|
||||
<production id="49747" count="30" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed A-grade Soulshot -->
|
||||
<production id="49748" count="18" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious No-grade Spiritshot -->
|
||||
<production id="49062" count="267" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious D-grade Spiritshot -->
|
||||
<production id="49063" count="222" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious C-grade Spiritshot -->
|
||||
<production id="49064" count="114" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious B-grade Spiritshot -->
|
||||
<production id="49749" count="40" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious A-grade Spiritshot -->
|
||||
<production id="49750" count="33" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed No-grade Spiritshot -->
|
||||
<production id="34610" count="114" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed D-grade Spiritshot -->
|
||||
<production id="34611" count="89" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed C-grade Spiritshot -->
|
||||
<production id="34612" count="44" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed B-grade Spiritshot -->
|
||||
<production id="34613" count="16" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="2" />
|
||||
<!-- Mysterious Blessed A-grade Spiritshot -->
|
||||
<production id="34614" count="14" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="50" />
|
||||
<!-- Greater Scroll of Resurrection -->
|
||||
<production id="49542" count="1" />
|
||||
</item>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="50" />
|
||||
<!-- Fishing Rod Chest 10-day -->
|
||||
<production id="49507" count="1" />
|
||||
</item>
|
||||
</list>
|
20
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/multisell/3426201.xml
vendored
Normal file
20
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/multisell/3426201.xml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34262</npc> <!-- Sibi Manager -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="20" />
|
||||
<production id="32253" count="1" chance="1" /> <!-- Infinite Mithril Quiver -->
|
||||
<production id="32249" count="1" chance="1" /> <!-- Infinite Wooden Quiver -->
|
||||
<production id="32250" count="1" chance="1" /> <!-- Infinite Bone Quiver -->
|
||||
<production id="32251" count="1" chance="1" /> <!-- Infinite Steel Quiver -->
|
||||
<production id="32252" count="1" chance="1" /> <!-- Infinite Silver Quiver -->
|
||||
<production id="17" count="100" chance="19" /> <!-- Wooden Arrow -->
|
||||
<production id="1341" count="200" chance="19" /> <!-- Bone Arrow -->
|
||||
<production id="1342" count="100" chance="19" /> <!-- Steel Arrow -->
|
||||
<production id="1343" count="100" chance="19" /> <!-- Silver Arrow -->
|
||||
<production id="1344" count="100" chance="19" /> <!-- Mithril Arrow -->
|
||||
</item>
|
||||
</list>
|
25
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/multisell/3426202.xml
vendored
Normal file
25
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/multisell/3426202.xml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list isChanceMultisell="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||
<npcs>
|
||||
<npc>34262</npc> <!-- Sibi Manager -->
|
||||
</npcs>
|
||||
<item>
|
||||
<!-- Sibi's Coin -->
|
||||
<ingredient id="49783" count="50" /> <!-- Sibi's Coin -->
|
||||
<production id="49580" count="1" chance="1" /> <!-- Baium Ring -->
|
||||
<production id="49785" count="1" chance="1" /> <!-- Weapon Supply Box A-grade -->
|
||||
<production id="90014" count="1" chance="1" /> <!-- High Grade Life Stone -->
|
||||
<production id="6662" count="1" chance="1" /> <!-- Ring of Core -->
|
||||
<production id="6661" count="1" chance="1" /> <!-- Orfen's Earring -->
|
||||
<production id="49682" count="1" chance="1" /> <!-- Baium Soul -->
|
||||
<production id="49756" count="1" chance="1" /> <!-- Cloth Piece -->
|
||||
<production id="70007" count="1" chance="1" /> <!-- Sealed Rune Lv.8 -->
|
||||
<production id="49681" count="1" chance="1" /> <!-- Talisman of Insolence VI -->
|
||||
<production id="49789" count="1" chance="1" /> <!-- +8 Enchanted Weapon Supply Box B-grade -->
|
||||
<production id="49790" count="1" chance="1" /> <!-- +16 Enchanted Weapon Supply Box C-grade -->
|
||||
<production id="49783" count="50" chance="10" /> <!-- Sibi's Coin -->
|
||||
<production id="49783" count="30" chance="15" /> <!-- Sibi's Coin -->
|
||||
<production id="49783" count="20" chance="25" /> <!-- Sibi's Coin -->
|
||||
<production id="49783" count="5" chance="39" /> <!-- Sibi's Coin -->
|
||||
</item>
|
||||
</list>
|
6
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262-1.htm
vendored
Normal file
6
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262-1.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
Balthus Knight's Supply Box is a special item prepared by Duke Balthus Van Dyke for the Bathus Knights to alleviate their hardship.<br>
|
||||
Can I really supply for the great warrior <font color="LEVEL">Lemniscate</font>? <font color="LEVEL">Balthus Knight's Supply Box</font> can only be obtained by <font color="LEVEL">one character Lv.20 and above per account.</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest HappyHours giveSupplyBox">"Please give me the Balthus Knight's Supply Box."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 0">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262-2.htm
vendored
Normal file
6
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262-2.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
Augh! You're not a Balthus Knight! How come you had the crust to pretend being one!<br>
|
||||
Well then, I forgive you this time. But if you try again to pass as ab Balthus Knight, you won't get away with that!<br>
|
||||
(Supplies are given once a day, one piece per one account of a character who reached Level 20.)<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 0">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262-3.htm
vendored
Normal file
6
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262-3.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
Hello! Do you know that greed comes before a fall?<br1>
|
||||
You have already received your Supply Box, that's enough for you!<br>
|
||||
Open your inventory, probably the box is there.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 0">Back</Button>
|
||||
</body></html>
|
13
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262.htm
vendored
Normal file
13
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/34262.htm
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<html><body>Balthus Knights Supply Officer Sibi:<br>
|
||||
My name is Sibi, I am Balthus Knight's Supply Officer. The Lord of Oren Castle, Balthus Van Dyke, entrusted me with an important mission. Come to me whenever you need supplies for your missions.<br>
|
||||
Besides, if you have <font color="LEVEL">Sibi's Coins</font>, I can exchange them for useful consumables and some special rewards!<br>
|
||||
When event ends the following items will be deleted:<br1>
|
||||
-Sibi's Coin<br1>
|
||||
-Balthus Knight's Mark<br1>
|
||||
-Balthus Knight's Supply Box<br1>
|
||||
-Sibi's Coin Box<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest HappyHours 34262-1.htm">"What is the Balthus Knights Supply Box?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Multisell 3426200">"I want to exchange Sibi's Coins for consumables."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Multisell 3426201">"I want to get an Infinite Arrow Quiver."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Multisell 3426202">"I want to get some special reward."</Button>
|
||||
</body></html>
|
122
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/HappyHours.java
vendored
Normal file
122
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/HappyHours.java
vendored
Normal file
@ -0,0 +1,122 @@
|
||||
/*
|
||||
* 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.HappyHours;
|
||||
|
||||
import com.l2jmobius.gameserver.model.L2World;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.LongTimeEvent;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class HappyHours extends LongTimeEvent
|
||||
{
|
||||
// NPC
|
||||
private static final int SIBI = 34262;
|
||||
// Items
|
||||
private static final int SUPPLY_BOX = 49782;
|
||||
private static final int SIBIS_COIN = 49783;
|
||||
// Skill
|
||||
private static final int TRANSFORMATION_SKILL = 39171;
|
||||
// Other
|
||||
private static final int MIN_LEVEL = 20;
|
||||
private static final int REWARD_INTERVAL = 60 * 60 * 1000; // 1 hour
|
||||
private static long _lastRewardTime = System.currentTimeMillis();
|
||||
|
||||
private HappyHours()
|
||||
{
|
||||
addStartNpc(SIBI);
|
||||
addFirstTalkId(SIBI);
|
||||
addTalkId(SIBI);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34262-1.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "giveSupplyBox":
|
||||
{
|
||||
if (player.getLevel() < MIN_LEVEL)
|
||||
{
|
||||
return "34262-2.htm";
|
||||
}
|
||||
if (hasQuestItems(player, SUPPLY_BOX))
|
||||
{
|
||||
return "34262-3.htm";
|
||||
}
|
||||
giveItems(player, SUPPLY_BOX, 1);
|
||||
break;
|
||||
}
|
||||
case "REWARD_SIBI_COINS":
|
||||
{
|
||||
if (isEventPeriod())
|
||||
{
|
||||
if ((System.currentTimeMillis() - (_lastRewardTime + REWARD_INTERVAL)) > 0) // Exploit check - Just in case.
|
||||
{
|
||||
_lastRewardTime = System.currentTimeMillis();
|
||||
final SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.YOU_OBTAINED_S1_SIBI_S_COINS);
|
||||
msg.addInt(20);
|
||||
for (L2PcInstance plr : L2World.getInstance().getPlayers())
|
||||
{
|
||||
if ((plr != null) && (plr.isOnlineInt() == 1) && plr.isAffectedBySkill(TRANSFORMATION_SKILL))
|
||||
{
|
||||
plr.addItem("HappyHours", SIBIS_COIN, 20, player, false);
|
||||
plr.sendPacket(msg);
|
||||
// TODO: Random reward.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cancelQuestTimers("REWARD_SIBI_COINS");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
return "34262.htm";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void startEvent()
|
||||
{
|
||||
super.startEvent();
|
||||
cancelQuestTimers("REWARD_SIBI_COINS");
|
||||
startQuestTimer("REWARD_SIBI_COINS", REWARD_INTERVAL + 1000, null, null, true);
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new HappyHours();
|
||||
}
|
||||
}
|
27
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/config.xml
vendored
Normal file
27
L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/events/HappyHours/config.xml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<event name="Happy Hours" active="05 09 2017-03 10 2017" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
|
||||
<spawnlist>
|
||||
<add npc="34262" x="-84008" y="243032" z="-3728" heading="49744" /> <!-- Talking Island -->
|
||||
<add npc="34262" x="45688" y="49080" z="-3056" heading="49744" /> <!-- Elven Village -->
|
||||
<add npc="34262" x="-44584" y="-113608" z="-192" heading="49744" /> <!-- Orc Village -->
|
||||
<add npc="34262" x="10643" y="17034" z="-4592" heading="49744" /> <!-- Dark Elven Village -->
|
||||
<add npc="34262" x="115656" y="-178056" z="-912" heading="49744" /> <!-- Dwarf Village -->
|
||||
<add npc="34262" x="-80485" y="149537" z="-3016" heading="16383" /> <!-- Gluddin -->
|
||||
<add npc="34262" x="-14143" y="123176" z="-3096" heading="30212" /> <!-- Gludio -->
|
||||
<add npc="34262" x="16354" y="142848" z="-2680" heading="14450" /> <!-- Dion -->
|
||||
<add npc="34262" x="82312" y="148616" z="-3440" heading="3355" /> <!-- Giran -->
|
||||
<add npc="34262" x="82008" y="53874" z="-1472" heading="3355" /> <!-- Oren -->
|
||||
<add npc="34262" x="147064" y="25928" z="-2008" heading="17863" /> <!-- Aden -->
|
||||
<add npc="34262" x="117380" y="76684" z="-2672" heading="40961" /> <!-- Hunters Village -->
|
||||
</spawnlist>
|
||||
<destoyItemsOnEnd>
|
||||
<item id="49783" /> <!-- Sibi's Coin -->
|
||||
<item id="49784" /> <!-- Balthus Knight Mark -->
|
||||
<item id="49782" /> <!-- Balthus Knight Supply Box -->
|
||||
<item id="49800" /> <!-- Sibi's Coin Box -->
|
||||
</destoyItemsOnEnd>
|
||||
<messages>
|
||||
<add type="onEnd" text="Happy Hours: Event end!" />
|
||||
<add type="onEnter" text="Happy Hours: Event ongoing!" />
|
||||
</messages>
|
||||
</event>
|
@ -511,6 +511,7 @@
|
||||
<!-- Magic scroll, restoring 50% of XP and resurrecting the character. Cannot be exchanged, dropped, or sold. Can be stored in a private warehouse. -->
|
||||
<set name="icon" val="icon.etc_scroll_of_resurrection_i01" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="etcitem_type" val="SCROLL" />
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="weight" val="120" />
|
||||
<set name="is_tradable" val="false" />
|
||||
@ -518,6 +519,12 @@
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_oly_restricted" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<set name="commissionItemType" val="SCROLL_OTHER" />
|
||||
<skills>
|
||||
<skill id="39109" level="1" /> <!-- Improved Scroll of Resurrection -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49543" name="Elemental Stone" type="EtcItem">
|
||||
<!-- A stone containing incredible power. -->
|
||||
@ -1066,6 +1073,10 @@
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="time" val="10080" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39113" level="1" /> <!-- Golden Necklace of Mermaid -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49586" name="Mermaid's Golden Fishing Rod" additionalName="30-day" type="Weapon">
|
||||
<!-- 30-day item. Mermaid's Golden Fishing Rod. Cannot be exchanged, dropped, or sold. Can be stored in a private warehouse. Bobber usage: 1. Enables to teleport to Giran/Gludin. Cooldown: 1 min. -->
|
||||
|
@ -1096,11 +1096,16 @@
|
||||
<!-- Double-click to receive 3 Balthus Knight Marks. (Can be used only once a day). Cannot be exchanged, dropped or sold. Can be stored in a private warehouse. This item will be deleted after the event is over. -->
|
||||
<set name="icon" val="icon.etc_ev_kalie_treasure_box" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="reuse_delay" val="86400000" /> <!-- 1 Day -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39170" level="1"/> <!-- Balthus Knights Supply -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49783" name="Sibis Coin" type="EtcItem">
|
||||
<!-- You can exchange this coin with Event Manager Sibis for event items or materials. The item will be deleted after the event is over. -->
|
||||
@ -1108,17 +1113,23 @@
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="is_tradable" val="true" />
|
||||
</item>
|
||||
<item id="49784" name="Balthus Knight Mark" type="EtcItem">
|
||||
<!-- XP/SP gain + 10% and a chance to get Special Supplies for 1 hour. Intended for Lv. 20 and higher. Cannot be exchanged, dropped, or sold in a private store. Can be stored in a private warehouse and transferred between characters on the same account. The item will be removed after the event is over. -->
|
||||
<set name="icon" val="icon.ev_balthus_token" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="reuse_delay" val="60000" /> <!-- 1 minute -->
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_tradable" val="false" />
|
||||
<set name="is_dropable" val="false" />
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39171" level="1"/> <!-- Member of Balthus Knights -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49785" name="Weapon Supply Box (A-grade)" type="EtcItem">
|
||||
<!-- Double-click to receive an A-grade Weapon. -->
|
||||
@ -1128,7 +1139,7 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39172" level="1"/> <!--Weapon Supply Box (A-grade)-->
|
||||
<skill id="39172" level="1"/> <!-- Weapon Supply Box (A-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49786" name="A-grade Armor Supply Box" type="EtcItem">
|
||||
@ -1139,7 +1150,7 @@
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39173" level="1"/> <!--Armor Supply Box (A-grade)-->
|
||||
<skill id="39173" level="1"/> <!-- Armor Supply Box (A-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49787" name="Solid Scroll: Enchant (A-grade) Box" type="EtcItem">
|
||||
@ -1161,16 +1172,24 @@
|
||||
<item id="49789" name="+8 Enchanted Weapon Supply Box (B-grade)" type="EtcItem">
|
||||
<!-- Double-click to receive a +8 B-grade Weapon. -->
|
||||
<set name="icon" val="icon.etc_jewel_box_i00" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39174" level="1"/> <!-- +8 Enchanted Weapon Supply Box (B-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49790" name="+16 Enchanted Weapon Supply Box (C-grade)" type="EtcItem">
|
||||
<!-- Double-click to receive a +16 C-grade Weapon. -->
|
||||
<set name="icon" val="icon.etc_treasure_box_i06" />
|
||||
<set name="default_action" val="SKILL_REDUCE" />
|
||||
<set name="default_action" val="SKILL_REDUCE_ON_SKILL_SUCCESS" />
|
||||
<set name="material" val="PAPER" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39175" level="1"/> <!-- +16 Enchanted Weapon Supply Box (C-grade) -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="49791" name="Cadmus Transformation Bracelet - Prophet" additionalName="1-day" type="Armor">
|
||||
<!-- Transforms you into Prophet Cadmus. Can be used once a day. After the transformation, you can use the following skills for 4 hours: Might, Shield, Wind Walk, Return, Focus, Death Whisper, Guidance, Haste, Acumen, and Heal. Cannot be exchanged, dropped, or sold in a private store. Can be stored in a private warehouse. A 1-day item. -->
|
||||
|
@ -61,6 +61,10 @@
|
||||
<set name="is_depositable" val="false" />
|
||||
<set name="is_sellable" val="false" />
|
||||
<set name="is_stackable" val="true" />
|
||||
<set name="handler" val="ItemSkills" />
|
||||
<skills>
|
||||
<skill id="39272" level="1"/> <!--Officer of Balthus Knights -->
|
||||
</skills>
|
||||
</item>
|
||||
<item id="90507" name="Dragon's Balthus Chest" type="EtcItem">
|
||||
<!-- Double-click to receive Dragon's Treasure Chest that can have random rare accessories or one of many Enchanted Scrolls. Cannot be dropped or sold in the grocery store. -->
|
||||
|
@ -200,7 +200,7 @@
|
||||
<height normal="30" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="34262" level="99" type="L2Npc" name="Sibis" title="u,Balthus Knights’ Supply Officer">
|
||||
<npc id="34262" level="99" type="L2Merchant" name="Sibis" title="Balthus Knights’ Supply Officer">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<race>HUMAN</race>
|
||||
<sex>FEMALE</sex>
|
||||
|
@ -579,11 +579,11 @@
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>5</amount>
|
||||
<mode>PER</mode>
|
||||
<mode>DIFF</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>5</amount>
|
||||
<mode>PER</mode>
|
||||
<mode>DIFF</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
@ -819,7 +819,7 @@
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39057" toLevel="1" name="Warrior Experience Amulet">
|
||||
<skill id="39057" toLevel="1" name="Hero Experience Rune">
|
||||
<icon>icon.skill19226</icon>
|
||||
<operateType>P</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
@ -1097,14 +1097,132 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39072" toLevel="1" name="Weapon Supply Box (D-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39072</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49491</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="7.14">
|
||||
<item id="2499" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="70" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="224" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="225" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="1660" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="278" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="279" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="280" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="262" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="297" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="159" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="189" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="188" count="1" />
|
||||
</item>
|
||||
<item chance="7.14">
|
||||
<item id="190" count="1" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39073" toLevel="1" name="Weapon Supply Box (C-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39073</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49492</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="8.3">
|
||||
<item id="242" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="7887" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="72" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="71" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="281" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="193" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="160" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="161" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="192" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="194" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="302" count="1" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="263" count="1" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39074" toLevel="1" name="Angel Cat's Energy">
|
||||
<!-- For 60 min., Max HP/MP + 5%, and XP/SP gained through hunting + 20%. -->
|
||||
|
@ -69,9 +69,28 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39109" toLevel="1" name="Improved Scroll of Resurrection">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<castRange>400</castRange>
|
||||
<effectPoint>1</effectPoint>
|
||||
<effectRange>600</effectRange>
|
||||
<hitTime>1000</hitTime>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49542</itemConsumeId> <!-- Improved Scroll of Resurrection -->
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<coolTime>500</coolTime>
|
||||
<targetType>PC_BODY</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpResurrection" />
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="Resurrection">
|
||||
<power>50</power>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39110" toLevel="1" name="Teleport Device - Entrance to Enchanted Valley">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
@ -89,9 +108,35 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39113" toLevel="1" name="Golden Mermaid's Tears">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<icon>icon.skill39113</icon>
|
||||
<abnormalLvl>1</abnormalLvl>
|
||||
<abnormalTime>3600</abnormalTime>
|
||||
<abnormalType>VOTE</abnormalType>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49585</itemConsumeId>
|
||||
<operateType>A2</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLvl>1</magicLvl>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>1</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>50</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>50</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39114" toLevel="3" name="Refined Queen Ant's Ring">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
@ -1092,14 +1137,73 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39170" toLevel="1" name="Balthus Knights' Supply Box">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39172</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<reuseDelay>86400000</reuseDelay>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="100.0">
|
||||
<item id="49784" count="3" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39171" toLevel="1" name="Member of Balthus Knights">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49784</itemConsumeId>
|
||||
<abnormalLvl>1</abnormalLvl>
|
||||
<abnormalTime>3600</abnormalTime>
|
||||
<abnormalType>CHANGEBODY</abnormalType>
|
||||
<abnormalVisualEffect>CHANGESHAPE_TRANSFORM</abnormalVisualEffect>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<blockedInOlympiad>true</blockedInOlympiad>
|
||||
<effectPoint>1</effectPoint>
|
||||
<icon>icon.skill39171</icon>
|
||||
<isMagic>4</isMagic> <!-- Magic Skill -->
|
||||
<magicLvl>56</magicLvl>
|
||||
<operateType>A2</operateType>
|
||||
<reuseDelay>60000</reuseDelay>
|
||||
<reuseDelayLock>true</reuseDelayLock>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<hitTime>3000</hitTime>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<basicProperty>NONE</basicProperty>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>20</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>10</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39172" toLevel="1" name="Weapon Supply Box (A-grade)">
|
||||
<icon>icon.skill39172</icon>
|
||||
@ -1305,14 +1409,165 @@
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39174" toLevel="1" name="+8 Enchanted Weapon Supply Box (B-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39174</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49789</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="4.0">
|
||||
<item id="175" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="267" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="268" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="287" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="79" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="284" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="171" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="234" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="300" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="78" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7883" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="91" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7900" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7893" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="142" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="229" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="97" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="264" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7892" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="92" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="210" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7901" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="148" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="243" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
<item chance="4.0">
|
||||
<item id="7889" count="1" minEnchant="8" maxEnchant="8" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39175" toLevel="1" name="+16 Enchanted Weapon Supply Box (C-grade)">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<icon>icon.skill39175</icon>
|
||||
<isMagic>2</isMagic> <!-- Static Skill -->
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>49790</itemConsumeId>
|
||||
<magicLvl>1</magicLvl>
|
||||
<operateType>A1</operateType>
|
||||
<rideState>NONE;STRIDER;WYVERN;WOLF</rideState>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<hitCancelTime>0</hitCancelTime>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<conditions>
|
||||
<condition name="OpEncumbered">
|
||||
<weightPercent>20</weightPercent>
|
||||
<slotsPercent>10</slotsPercent>
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="RestorationRandom">
|
||||
<items>
|
||||
<item chance="8.3">
|
||||
<item id="242" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="7887" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="72" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="71" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="281" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="193" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="160" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="161" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="192" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="194" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="302" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
<item chance="8.3">
|
||||
<item id="263" count="1" minEnchant="16" maxEnchant="16" />
|
||||
</item>
|
||||
</items>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39176" toLevel="1" name="Red Libra Supplies Lv. 1">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
|
@ -814,9 +814,35 @@
|
||||
<operateType>A1</operateType>
|
||||
</skill>
|
||||
<skill id="39272" toLevel="1" name="Officer of Balthus Knights">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
<icon>icon.skill0000</icon>
|
||||
<operateType>A1</operateType>
|
||||
<itemConsumeCount>1</itemConsumeCount>
|
||||
<itemConsumeId>90506</itemConsumeId>
|
||||
<abnormalLvl>1</abnormalLvl>
|
||||
<abnormalTime>3600</abnormalTime>
|
||||
<abnormalType>VOTE</abnormalType>
|
||||
<icon>icon.skill39171</icon>
|
||||
<operateType>A2</operateType>
|
||||
<magicCriticalRate>5</magicCriticalRate>
|
||||
<magicLvl>1</magicLvl>
|
||||
<stayAfterDeath>true</stayAfterDeath>
|
||||
<targetType>SELF</targetType>
|
||||
<affectScope>SINGLE</affectScope>
|
||||
<passiveConditions>
|
||||
<condition name="CheckLevel">
|
||||
<minLevel>20</minLevel>
|
||||
<maxLevel>85</maxLevel>
|
||||
<affectType>CASTER</affectType>
|
||||
</condition>
|
||||
</passiveConditions>
|
||||
<effects>
|
||||
<effect name="ExpModify">
|
||||
<amount>20</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
<effect name="SpModify">
|
||||
<amount>20</amount>
|
||||
<mode>PER</mode>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="39273" toLevel="1" name="Special Dragon's Fruit">
|
||||
<!-- AUTO GENERATED SKILL TODO: FIX IT -->
|
||||
|
Loading…
Reference in New Issue
Block a user