Ensoul system implementation.

Contributed by Mathael.
This commit is contained in:
MobiusDev 2016-03-05 16:25:48 +00:00
parent 7a9de77047
commit 240332641f
23 changed files with 1680 additions and 2 deletions

View File

@ -0,0 +1,8 @@
DROP TABLE IF EXISTS `item_soulcrystal`;
CREATE TABLE `item_soulcrystal` (
`object_id` int(11) NOT NULL,
`slot_id` int(1) NOT NULL,
`is_special` bit(1) NOT NULL,
`effect_id` int(4) NOT NULL,
PRIMARY KEY (`object_id`,`slot_id`,`is_special`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@ -0,0 +1,4 @@
<html><body><br>
MISSING TEXT
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_ensoul">"I want to add a new Soul Crystal"</button>
</body></html>

View File

@ -138,6 +138,7 @@ import handlers.bypasshandlers.BuyShadowItem;
import handlers.bypasshandlers.ChatLink;
import handlers.bypasshandlers.ClanWarehouse;
import handlers.bypasshandlers.CrystalCavernsMovie;
import handlers.bypasshandlers.Ensoul;
import handlers.bypasshandlers.EventEngine;
import handlers.bypasshandlers.Freight;
import handlers.bypasshandlers.ItemAuctionLink;
@ -420,6 +421,7 @@ final class MasterHandler
ChatLink.class,
ClanWarehouse.class,
CrystalCavernsMovie.class,
Ensoul.class,
EventEngine.class,
Freight.class,
ItemAuctionLink.class,

View File

@ -0,0 +1,48 @@
/*
* 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 handlers.bypasshandlers;
import com.l2jmobius.gameserver.handler.IBypassHandler;
import com.l2jmobius.gameserver.model.actor.L2Character;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.network.serverpackets.ensoul.ExShowEnsoulWindow;
public class Ensoul implements IBypassHandler
{
private static final String[] COMMANDS =
{
"ensoul"
};
@Override
public boolean useBypass(String command, L2PcInstance activeChar, L2Character target)
{
if (!target.isNpc())
{
return false;
}
activeChar.sendPacket(ExShowEnsoulWindow.STATIC_PACKET);
return true;
}
@Override
public String[] getBypassList()
{
return COMMANDS;
}
}

View File

@ -0,0 +1,664 @@
<?xml version="1.0" encoding="UTF-8"?>
<SoulCrystalOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/soulCrystalOptions.xsd">
<option id="1" skillId="13856" level="1" effectId="1" type="1" /> <!-- Might - P. Atk. + 2%" -->
<option id="1" skillId="13856" level="2" effectId="2" type="1" /> <!-- Might - P. Atk. + 3%" -->
<option id="1" skillId="13856" level="3" effectId="3" type="1" /> <!-- Might - P. Atk. + 4%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="4" effectId="4" type="1" /> <!-- Might - P. Atk. + 5%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="5" effectId="5" type="1" /> <!-- Might - P. Atk. + 6%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="6" effectId="6" type="1" /> <!-- Might - P. Atk. + 7%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="7" effectId="7" type="1" /> <!-- Might - P. Atk. + 8%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="8" effectId="8" type="1" /> <!-- Might - P. Atk. + 9%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="9" effectId="9" type="1" /> <!-- Might - P. Atk. + 10%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="10" effectId="10" type="1" /> <!-- Might - P. Atk. + 11%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="11" effectId="11" type="1" /> <!-- Might - P. Atk. + 12%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="12" effectId="12" type="1" /> <!-- Might - P. Atk. + 13%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="13" effectId="13" type="1" /> <!-- Might - P. Atk. + 14%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="14" effectId="14" type="1" /> <!-- Might - P. Atk. + 15%, PvP Damage + 5%" -->
<option id="1" skillId="13856" level="15" effectId="15" type="1" /> <!-- Might - P. Atk. + 16%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="1" effectId="16" type="1" /> <!-- Fury - Atk. Spd. + 11%" -->
<option id="2" skillId="13857" level="2" effectId="17" type="1" /> <!-- Fury - Atk. Spd. + 12%" -->
<option id="2" skillId="13857" level="3" effectId="18" type="1" /> <!-- Fury - Atk. Spd. + 13%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="4" effectId="19" type="1" /> <!-- Fury - Atk. Spd. + 14%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="5" effectId="20" type="1" /> <!-- Fury - Atk. Spd. + 15%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="6" effectId="21" type="1" /> <!-- Fury - Atk. Spd. + 16%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="7" effectId="22" type="1" /> <!-- Fury - Atk. Spd. + 17%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="8" effectId="23" type="1" /> <!-- Fury - Atk. Spd. + 18%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="9" effectId="24" type="1" /> <!-- Fury - Atk. Spd. + 19%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="10" effectId="25" type="1" /> <!-- Fury - Atk. Spd. + 20%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="11" effectId="26" type="1" /> <!-- Fury - Atk. Spd. + 21%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="12" effectId="27" type="1" /> <!-- Fury - Atk. Spd. + 22%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="13" effectId="28" type="1" /> <!-- Fury - Atk. Spd. + 23%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="14" effectId="29" type="1" /> <!-- Fury - Atk. Spd. + 24%, PvP Damage + 5%" -->
<option id="2" skillId="13857" level="15" effectId="30" type="1" /> <!-- Fury - Atk. Spd. + 25%, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="1" effectId="31" type="1" /> <!-- Focus - P. Critical Rate + 58" -->
<option id="3" skillId="13858" level="2" effectId="32" type="1" /> <!-- Focus - P. Critical Rate + 64" -->
<option id="3" skillId="13858" level="3" effectId="33" type="1" /> <!-- Focus - P. Critical Rate + 70, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="4" effectId="34" type="1" /> <!-- Focus - P. Critical Rate + 76, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="5" effectId="35" type="1" /> <!-- Focus - P. Critical Rate + 82, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="6" effectId="36" type="1" /> <!-- Focus - P. Critical Rate + 88, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="7" effectId="37" type="1" /> <!-- Focus - P. Critical Rate + 94, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="8" effectId="38" type="1" /> <!-- Focus - P. Critical Rate + 100, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="9" effectId="39" type="1" /> <!-- Focus - P. Critical Rate + 106, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="10" effectId="40" type="1" /> <!-- Focus - P. Critical Rate + 112, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="11" effectId="41" type="1" /> <!-- Focus - P. Critical Rate + 118, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="12" effectId="42" type="1" /> <!-- Focus - P. Critical Rate + 124, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="13" effectId="43" type="1" /> <!-- Focus - P. Critical Rate + 130, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="14" effectId="44" type="1" /> <!-- Focus - P. Critical Rate + 136, PvP Damage + 5%" -->
<option id="3" skillId="13858" level="15" effectId="45" type="1" /> <!-- Focus - P. Critical Rate + 142, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="1" effectId="46" type="1" /> <!-- Death - P. Critical Damage + 3%" -->
<option id="4" skillId="13859" level="2" effectId="47" type="1" /> <!-- Death - P. Critical Damage + 4%" -->
<option id="4" skillId="13859" level="3" effectId="48" type="1" /> <!-- Death - P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="4" effectId="49" type="1" /> <!-- Death - P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="5" effectId="50" type="1" /> <!-- Death - P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="6" effectId="51" type="1" /> <!-- Death - P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="7" effectId="52" type="1" /> <!-- Death - P. Critical Damage + 9%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="8" effectId="53" type="1" /> <!-- Death - P. Critical Damage + 10%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="9" effectId="54" type="1" /> <!-- Death - P. Critical Damage + 11%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="10" effectId="55" type="1" /> <!-- Death - P. Critical Damage + 12%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="11" effectId="56" type="1" /> <!-- Death - P. Critical Damage + 13%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="12" effectId="57" type="1" /> <!-- Death - P. Critical Damage + 14%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="13" effectId="58" type="1" /> <!-- Death - P. Critical Damage + 15%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="14" effectId="59" type="1" /> <!-- Death - P. Critical Damage + 16%, PvP Damage + 5%" -->
<option id="4" skillId="13859" level="15" effectId="60" type="1" /> <!-- Death - P. Critical Damage + 17%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="1" effectId="61" type="1" /> <!-- Hunter - P. Skill Critical Rate + 6%" -->
<option id="5" skillId="13860" level="2" effectId="62" type="1" /> <!-- Hunter - P. Skill Critical Rate + 7%" -->
<option id="5" skillId="13860" level="3" effectId="63" type="1" /> <!-- Hunter - P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="4" effectId="64" type="1" /> <!-- Hunter - P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="5" effectId="65" type="1" /> <!-- Hunter - P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="6" effectId="66" type="1" /> <!-- Hunter - P. Skill Critical Rate + 11%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="7" effectId="67" type="1" /> <!-- Hunter - P. Skill Critical Rate + 12%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="8" effectId="68" type="1" /> <!-- Hunter - P. Skill Critical Rate + 13%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="9" effectId="69" type="1" /> <!-- Hunter - P. Skill Critical Rate + 14%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="10" effectId="70" type="1" /> <!-- Hunter - P. Skill Critical Rate + 15%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="11" effectId="71" type="1" /> <!-- Hunter - P. Skill Critical Rate + 16%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="12" effectId="72" type="1" /> <!-- Hunter - P. Skill Critical Rate + 17%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="13" effectId="73" type="1" /> <!-- Hunter - P. Skill Critical Rate + 18%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="14" effectId="74" type="1" /> <!-- Hunter - P. Skill Critical Rate + 19%, PvP Damage + 5%" -->
<option id="5" skillId="13860" level="15" effectId="75" type="1" /> <!-- Hunter - P. Skill Critical Rate + 20%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="1" effectId="76" type="1" /> <!-- Fire - P. Skill Critical Damage + 6%" -->
<option id="6" skillId="13861" level="2" effectId="77" type="1" /> <!-- Fire - P. Skill Critical Damage + 7%" -->
<option id="6" skillId="13861" level="3" effectId="78" type="1" /> <!-- Fire - P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="4" effectId="79" type="1" /> <!-- Fire - P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="5" effectId="80" type="1" /> <!-- Fire - P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="6" effectId="81" type="1" /> <!-- Fire - P. Skill Critical Damage + 11%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="7" effectId="82" type="1" /> <!-- Fire - P. Skill Critical Damage + 12%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="8" effectId="83" type="1" /> <!-- Fire - P. Skill Critical Damage + 13%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="9" effectId="84" type="1" /> <!-- Fire - P. Skill Critical Damage + 14%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="10" effectId="85" type="1" /> <!-- Fire - P. Skill Critical Damage + 15%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="11" effectId="86" type="1" /> <!-- Fire - P. Skill Critical Damage + 16%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="12" effectId="87" type="1" /> <!-- Fire - P. Skill Critical Damage + 17%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="13" effectId="88" type="1" /> <!-- Fire - P. Skill Critical Damage + 18%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="14" effectId="89" type="1" /> <!-- Fire - P. Skill Critical Damage + 19%, PvP Damage + 5%" -->
<option id="6" skillId="13861" level="15" effectId="90" type="1" /> <!-- Fire - P. Skill Critical Damage + 20%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="1" effectId="91" type="1" /> <!-- Body - Max HP + 21%" -->
<option id="7" skillId="13862" level="2" effectId="92" type="1" /> <!-- Body - Max HP + 22%" -->
<option id="7" skillId="13862" level="3" effectId="93" type="1" /> <!-- Body - Max HP + 23%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="4" effectId="94" type="1" /> <!-- Body - Max HP + 24%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="5" effectId="95" type="1" /> <!-- Body - Max HP + 25%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="6" effectId="96" type="1" /> <!-- Body - Max HP + 26%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="7" effectId="97" type="1" /> <!-- Body - Max HP + 27%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="8" effectId="98" type="1" /> <!-- Body - Max HP + 28%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="9" effectId="99" type="1" /> <!-- Body - Max HP + 29%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="10" effectId="100" type="1" /> <!-- Body - Max HP + 30%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="11" effectId="101" type="1" /> <!-- Body - Max HP + 31%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="12" effectId="102" type="1" /> <!-- Body - Max HP + 32%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="13" effectId="103" type="1" /> <!-- Body - Max HP + 33%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="14" effectId="104" type="1" /> <!-- Body - Max HP + 34%, PvP Damage + 5%" -->
<option id="7" skillId="13862" level="15" effectId="105" type="1" /> <!-- Body - Max HP + 35%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="1" effectId="106" type="1" /> <!-- Empower - M. Atk. + 2%" -->
<option id="10" skillId="13863" level="2" effectId="107" type="1" /> <!-- Empower - M. Atk. + 3%" -->
<option id="10" skillId="13863" level="3" effectId="108" type="1" /> <!-- Empower - M. Atk. + 4%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="4" effectId="109" type="1" /> <!-- Empower - M. Atk. + 5%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="5" effectId="110" type="1" /> <!-- Empower - M. Atk. + 6%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="6" effectId="111" type="1" /> <!-- Empower - M. Atk. + 7%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="7" effectId="112" type="1" /> <!-- Empower - M. Atk. + 8%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="8" effectId="113" type="1" /> <!-- Empower - M. Atk. + 9%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="9" effectId="114" type="1" /> <!-- Empower - M. Atk. + 10%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="10" effectId="115" type="1" /> <!-- Empower - M. Atk. + 11%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="11" effectId="116" type="1" /> <!-- Empower - M. Atk. + 12%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="12" effectId="117" type="1" /> <!-- Empower - M. Atk. + 13%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="13" effectId="118" type="1" /> <!-- Empower - M. Atk. + 14%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="14" effectId="119" type="1" /> <!-- Empower - M. Atk. + 15%, PvP Damage + 5%" -->
<option id="10" skillId="13863" level="15" effectId="120" type="1" /> <!-- Empower - M. Atk. + 16%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="1" effectId="121" type="1" /> <!-- Acumen - Casting Spd. + 11%" -->
<option id="11" skillId="13864" level="2" effectId="122" type="1" /> <!-- Acumen - Casting Spd. + 12%" -->
<option id="11" skillId="13864" level="3" effectId="123" type="1" /> <!-- Acumen - Casting Spd. + 13%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="4" effectId="124" type="1" /> <!-- Acumen - Casting Spd. + 14%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="5" effectId="125" type="1" /> <!-- Acumen - Casting Spd. + 15%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="6" effectId="126" type="1" /> <!-- Acumen - Casting Spd. + 16%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="7" effectId="127" type="1" /> <!-- Acumen - Casting Spd. + 17%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="8" effectId="128" type="1" /> <!-- Acumen - Casting Spd. + 18%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="9" effectId="129" type="1" /> <!-- Acumen - Casting Spd. + 19%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="10" effectId="130" type="1" /> <!-- Acumen - Casting Spd. + 20%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="11" effectId="131" type="1" /> <!-- Acumen - Casting Spd. + 21%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="12" effectId="132" type="1" /> <!-- Acumen - Casting Spd. + 22%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="13" effectId="133" type="1" /> <!-- Acumen - Casting Spd. + 23%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="14" effectId="134" type="1" /> <!-- Acumen - Casting Spd. + 24%, PvP Damage + 5%" -->
<option id="11" skillId="13864" level="15" effectId="135" type="1" /> <!-- Acumen - Casting Spd. + 25%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="1" effectId="136" type="1" /> <!-- Wild - M. Critical Rate + 21%" -->
<option id="12" skillId="13865" level="2" effectId="137" type="1" /> <!-- Wild - M. Critical Rate + 22%" -->
<option id="12" skillId="13865" level="3" effectId="138" type="1" /> <!-- Wild - M. Critical Rate + 23%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="4" effectId="139" type="1" /> <!-- Wild - M. Critical Rate + 24%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="5" effectId="140" type="1" /> <!-- Wild - M. Critical Rate + 25%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="6" effectId="141" type="1" /> <!-- Wild - M. Critical Rate + 26%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="7" effectId="142" type="1" /> <!-- Wild - M. Critical Rate + 27%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="8" effectId="143" type="1" /> <!-- Wild - M. Critical Rate + 28%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="9" effectId="144" type="1" /> <!-- Wild - M. Critical Rate + 29%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="10" effectId="145" type="1" /> <!-- Wild - M. Critical Rate + 30%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="11" effectId="146" type="1" /> <!-- Wild - M. Critical Rate + 31%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="12" effectId="147" type="1" /> <!-- Wild - M. Critical Rate + 32%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="13" effectId="148" type="1" /> <!-- Wild - M. Critical Rate + 33%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="14" effectId="149" type="1" /> <!-- Wild - M. Critical Rate + 34%, PvP Damage + 5%" -->
<option id="12" skillId="13865" level="15" effectId="150" type="1" /> <!-- Wild - M. Critical Rate + 35%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="1" effectId="151" type="1" /> <!-- Mystic - M. Critical Damage + 3%" -->
<option id="13" skillId="13866" level="2" effectId="152" type="1" /> <!-- Mystic - M. Critical Damage + 4%" -->
<option id="13" skillId="13866" level="3" effectId="153" type="1" /> <!-- Mystic - M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="4" effectId="154" type="1" /> <!-- Mystic - M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="5" effectId="155" type="1" /> <!-- Mystic - M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="6" effectId="156" type="1" /> <!-- Mystic - M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="7" effectId="157" type="1" /> <!-- Mystic - M. Critical Damage + 9%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="8" effectId="158" type="1" /> <!-- Mystic - M. Critical Damage + 10%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="9" effectId="159" type="1" /> <!-- Mystic - M. Critical Damage + 11%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="10" effectId="160" type="1" /> <!-- Mystic - M. Critical Damage + 12%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="11" effectId="161" type="1" /> <!-- Mystic - M. Critical Damage + 13%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="12" effectId="162" type="1" /> <!-- Mystic - M. Critical Damage + 14%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="13" effectId="163" type="1" /> <!-- Mystic - M. Critical Damage + 15%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="14" effectId="164" type="1" /> <!-- Mystic - M. Critical Damage + 16%, PvP Damage + 5%" -->
<option id="13" skillId="13866" level="15" effectId="165" type="1" /> <!-- Mystic - M. Critical Damage + 17%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="1" effectId="166" type="1" /> <!-- Soul - Max MP + 26%" -->
<option id="14" skillId="13867" level="2" effectId="167" type="1" /> <!-- Soul - Max MP + 27%" -->
<option id="14" skillId="13867" level="3" effectId="168" type="1" /> <!-- Soul - Max MP + 28%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="4" effectId="169" type="1" /> <!-- Soul - Max MP + 29%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="5" effectId="170" type="1" /> <!-- Soul - Max MP + 30%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="6" effectId="171" type="1" /> <!-- Soul - Max MP + 31%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="7" effectId="172" type="1" /> <!-- Soul - Max MP + 32%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="8" effectId="173" type="1" /> <!-- Soul - Max MP + 33%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="9" effectId="174" type="1" /> <!-- Soul - Max MP + 34%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="10" effectId="175" type="1" /> <!-- Soul - Max MP + 35%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="11" effectId="176" type="1" /> <!-- Soul - Max MP + 36%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="12" effectId="177" type="1" /> <!-- Soul - Max MP + 37%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="13" effectId="178" type="1" /> <!-- Soul - Max MP + 38%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="14" effectId="179" type="1" /> <!-- Soul - Max MP + 39%, PvP Damage + 5%" -->
<option id="14" skillId="13867" level="15" effectId="180" type="1" /> <!-- Soul - Max MP + 40%, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="1" effectId="181" type="1" /> <!-- Speed Focus - Atk. Spd. + 5%, P. Critical Rate + 26" -->
<option id="19" skillId="13868" level="2" effectId="182" type="1" /> <!-- Speed Focus - Atk. Spd. + 5%, P. Critical Rate + 29" -->
<option id="19" skillId="13868" level="3" effectId="183" type="1" /> <!-- Speed Focus - Atk. Spd. + 6%, P. Critical Rate + 32, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="4" effectId="184" type="1" /> <!-- Speed Focus - Atk. Spd. + 6%, P. Critical Rate + 34, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="5" effectId="185" type="1" /> <!-- Speed Focus - Atk. Spd. + 7%, P. Critical Rate + 37, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="6" effectId="186" type="1" /> <!-- Speed Focus - Atk. Spd. + 7%, P. Critical Rate + 40, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="7" effectId="187" type="1" /> <!-- Speed Focus - Atk. Spd. + 8%, P. Critical Rate + 42, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="8" effectId="188" type="1" /> <!-- Speed Focus - Atk. Spd. + 8%, P. Critical Rate + 45, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="9" effectId="189" type="1" /> <!-- Speed Focus - Atk. Spd. + 9%, P. Critical Rate + 48, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="10" effectId="190" type="1" /> <!-- Speed Focus - Atk. Spd. + 9%, P. Critical Rate + 50, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="11" effectId="191" type="1" /> <!-- Speed Focus - Atk. Spd. + 10%, P. Critical Rate + 53, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="12" effectId="192" type="1" /> <!-- Speed Focus - Atk. Spd. + 10%, P. Critical Rate + 56, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="13" effectId="193" type="1" /> <!-- Speed Focus - Atk. Spd. + 11%, P. Critical Rate + 59, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="14" effectId="194" type="1" /> <!-- Speed Focus - Atk. Spd. + 11%, P. Critical Rate + 61, PvP Damage + 5%" -->
<option id="19" skillId="13868" level="15" effectId="195" type="1" /> <!-- Speed Focus - Atk. Spd. + 12%, P. Critical Rate + 64, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="1" effectId="196" type="1" /> <!-- Speed Death - Atk. Spd. + 5%, P. Critical Damage + 1%" -->
<option id="20" skillId="13869" level="2" effectId="197" type="1" /> <!-- Speed Death - Atk. Spd. + 5%, P. Critical Damage + 2%" -->
<option id="20" skillId="13869" level="3" effectId="198" type="1" /> <!-- Speed Death - Atk. Spd. + 6%, P. Critical Damage + 2%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="4" effectId="199" type="1" /> <!-- Speed Death - Atk. Spd. + 6%, P. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="5" effectId="200" type="1" /> <!-- Speed Death - Atk. Spd. + 7%, P. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="6" effectId="201" type="1" /> <!-- Speed Death - Atk. Spd. + 7%, P. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="7" effectId="202" type="1" /> <!-- Speed Death - Atk. Spd. + 8%, P. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="8" effectId="203" type="1" /> <!-- Speed Death - Atk. Spd. + 8%, P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="9" effectId="204" type="1" /> <!-- Speed Death - Atk. Spd. + 9%, P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="10" effectId="205" type="1" /> <!-- Speed Death - Atk. Spd. + 9%, P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="11" effectId="206" type="1" /> <!-- Speed Death - Atk. Spd. + 10%, P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="12" effectId="207" type="1" /> <!-- Speed Death - Atk. Spd. + 10%, P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="13" effectId="208" type="1" /> <!-- Speed Death - Atk. Spd. + 11%, P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="14" effectId="209" type="1" /> <!-- Speed Death - Atk. Spd. + 11%, P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="20" skillId="13869" level="15" effectId="210" type="1" /> <!-- Speed Death - Atk. Spd. + 12%, P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="1" effectId="211" type="1" /> <!-- Speed Hunter - Atk. Spd. + 5%, P. Skill Critical Rate + 3%" -->
<option id="21" skillId="13870" level="2" effectId="212" type="1" /> <!-- Speed Hunter - Atk. Spd. + 5%, P. Skill Critical Rate + 4%" -->
<option id="21" skillId="13870" level="3" effectId="213" type="1" /> <!-- Speed Hunter - Atk. Spd. + 6%, P. Skill Critical Rate + 4%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="4" effectId="214" type="1" /> <!-- Speed Hunter - Atk. Spd. + 6%, P. Skill Critical Rate + 5%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="5" effectId="215" type="1" /> <!-- Speed Hunter - Atk. Spd. + 7%, P. Skill Critical Rate + 5%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="6" effectId="216" type="1" /> <!-- Speed Hunter - Atk. Spd. + 7%, P. Skill Critical Rate + 6%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="7" effectId="217" type="1" /> <!-- Speed Hunter - Atk. Spd. + 8%, P. Skill Critical Rate + 6%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="8" effectId="218" type="1" /> <!-- Speed Hunter - Atk. Spd. + 8%, P. Skill Critical Rate + 7%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="9" effectId="219" type="1" /> <!-- Speed Hunter - Atk. Spd. + 9%, P. Skill Critical Rate + 7%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="10" effectId="220" type="1" /> <!-- Speed Hunter - Atk. Spd. + 9%, P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="11" effectId="221" type="1" /> <!-- Speed Hunter - Atk. Spd. + 10%, P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="12" effectId="222" type="1" /> <!-- Speed Hunter - Atk. Spd. + 10%, P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="13" effectId="223" type="1" /> <!-- Speed Hunter - Atk. Spd. + 11%, P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="14" effectId="224" type="1" /> <!-- Speed Hunter - Atk. Spd. + 11%, P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="21" skillId="13870" level="15" effectId="225" type="1" /> <!-- Speed Hunter - Atk. Spd. + 12%, P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="1" effectId="226" type="1" /> <!-- Speed Fire - Atk. Spd. + 5%, P. Skill Critical Damage + 3%" -->
<option id="22" skillId="13871" level="2" effectId="227" type="1" /> <!-- Speed Fire - Atk. Spd. + 5%, P. Skill Critical Damage + 4%" -->
<option id="22" skillId="13871" level="3" effectId="228" type="1" /> <!-- Speed Fire - Atk. Spd. + 6%, P. Skill Critical Damage + 4%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="4" effectId="229" type="1" /> <!-- Speed Fire - Atk. Spd. + 6%, P. Skill Critical Damage + 5%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="5" effectId="230" type="1" /> <!-- Speed Fire - Atk. Spd. + 7%, P. Skill Critical Damage + 5%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="6" effectId="231" type="1" /> <!-- Speed Fire - Atk. Spd. + 7%, P. Skill Critical Damage + 6%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="7" effectId="232" type="1" /> <!-- Speed Fire - Atk. Spd. + 8%, P. Skill Critical Damage + 6%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="8" effectId="233" type="1" /> <!-- Speed Fire - Atk. Spd. + 8%, P. Skill Critical Damage + 7%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="9" effectId="234" type="1" /> <!-- Speed Fire - Atk. Spd. + 9%, P. Skill Critical Damage + 7%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="10" effectId="235" type="1" /> <!-- Speed Fire - Atk. Spd. + 9%, P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="11" effectId="236" type="1" /> <!-- Speed Fire - Atk. Spd. + 10%, P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="12" effectId="237" type="1" /> <!-- Speed Fire - Atk. Spd. + 10%, P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="13" effectId="238" type="1" /> <!-- Speed Fire - Atk. Spd. + 11%, P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="14" effectId="239" type="1" /> <!-- Speed Fire - Atk. Spd. + 11%, P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="22" skillId="13871" level="15" effectId="240" type="1" /> <!-- Speed Fire - Atk. Spd. + 12%, P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="1" effectId="241" type="1" /> <!-- Speed Body - Atk. Spd. + 5%, Max HP + 10%" -->
<option id="23" skillId="13872" level="2" effectId="242" type="1" /> <!-- Speed Body - Atk. Spd. + 5%, Max HP + 11%" -->
<option id="23" skillId="13872" level="3" effectId="243" type="1" /> <!-- Speed Body - Atk. Spd. + 6%, Max HP + 11%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="4" effectId="244" type="1" /> <!-- Speed Body - Atk. Spd. + 6%, Max HP + 12%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="5" effectId="245" type="1" /> <!-- Speed Body - Atk. Spd. + 7%, Max HP + 12%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="6" effectId="246" type="1" /> <!-- Speed Body - Atk. Spd. + 7%, Max HP + 13%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="7" effectId="247" type="1" /> <!-- Speed Body - Atk. Spd. + 8%, Max HP + 13%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="8" effectId="248" type="1" /> <!-- Speed Body - Atk. Spd. + 8%, Max HP + 14%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="9" effectId="249" type="1" /> <!-- Speed Body - Atk. Spd. + 9%, Max HP + 14%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="10" effectId="250" type="1" /> <!-- Speed Body - Atk. Spd. + 9%, Max HP + 15%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="11" effectId="251" type="1" /> <!-- Speed Body - Atk. Spd. + 10%, Max HP + 15%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="12" effectId="252" type="1" /> <!-- Speed Body - Atk. Spd. + 10%, Max HP + 16%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="13" effectId="253" type="1" /> <!-- Speed Body - Atk. Spd. + 11%, Max HP + 16%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="14" effectId="254" type="1" /> <!-- Speed Body - Atk. Spd. + 11%, Max HP + 17%, PvP Damage + 5%" -->
<option id="23" skillId="13872" level="15" effectId="255" type="1" /> <!-- Speed Body - Atk. Spd. + 12%, Max HP + 17%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="1" effectId="256" type="1" /> <!-- Critical Death - P. Critical Rate + 26, P. Critical Damage + 1%" -->
<option id="24" skillId="13873" level="2" effectId="257" type="1" /> <!-- Critical Death - P. Critical Rate + 29, P. Critical Damage + 2%" -->
<option id="24" skillId="13873" level="3" effectId="258" type="1" /> <!-- Critical Death - P. Critical Rate + 32, P. Critical Damage + 2%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="4" effectId="259" type="1" /> <!-- Critical Death - P. Critical Rate + 34, P. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="5" effectId="260" type="1" /> <!-- Critical Death - P. Critical Rate + 37, P. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="6" effectId="261" type="1" /> <!-- Critical Death - P. Critical Rate + 40, P. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="7" effectId="262" type="1" /> <!-- Critical Death - P. Critical Rate + 42, P. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="8" effectId="263" type="1" /> <!-- Critical Death - P. Critical Rate + 45, P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="9" effectId="264" type="1" /> <!-- Critical Death - P. Critical Rate + 48, P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="10" effectId="265" type="1" /> <!-- Critical Death - P. Critical Rate + 50, P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="11" effectId="266" type="1" /> <!-- Critical Death - P. Critical Rate + 53, P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="12" effectId="267" type="1" /> <!-- Critical Death - P. Critical Rate + 56, P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="13" effectId="268" type="1" /> <!-- Critical Death - P. Critical Rate + 59, P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="14" effectId="269" type="1" /> <!-- Critical Death - P. Critical Rate + 61, P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="24" skillId="13873" level="15" effectId="270" type="1" /> <!-- Critical Death - P. Critical Rate + 64, P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="1" effectId="271" type="1" /> <!-- Critical Hunter - P. Critical Rate + 26, P. Skill Critical Rate + 3%" -->
<option id="25" skillId="13874" level="2" effectId="272" type="1" /> <!-- Critical Hunter - P. Critical Rate + 29, P. Skill Critical Rate + 4%" -->
<option id="25" skillId="13874" level="3" effectId="273" type="1" /> <!-- Critical Hunter - P. Critical Rate + 32, P. Skill Critical Rate + 4%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="4" effectId="274" type="1" /> <!-- Critical Hunter - P. Critical Rate + 34, P. Skill Critical Rate + 5%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="5" effectId="275" type="1" /> <!-- Critical Hunter - P. Critical Rate + 37, P. Skill Critical Rate + 5%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="6" effectId="276" type="1" /> <!-- Critical Hunter - P. Critical Rate + 40, P. Skill Critical Rate + 6%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="7" effectId="277" type="1" /> <!-- Critical Hunter - P. Critical Rate + 42, P. Skill Critical Rate + 6%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="8" effectId="278" type="1" /> <!-- Critical Hunter - P. Critical Rate + 45, P. Skill Critical Rate + 7%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="9" effectId="279" type="1" /> <!-- Critical Hunter - P. Critical Rate + 48, P. Skill Critical Rate + 7%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="10" effectId="280" type="1" /> <!-- Critical Hunter - P. Critical Rate + 50, P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="11" effectId="281" type="1" /> <!-- Critical Hunter - P. Critical Rate + 53, P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="12" effectId="282" type="1" /> <!-- Critical Hunter - P. Critical Rate + 56, P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="13" effectId="283" type="1" /> <!-- Critical Hunter - P. Critical Rate + 59, P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="14" effectId="284" type="1" /> <!-- Critical Hunter - P. Critical Rate + 61, P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="25" skillId="13874" level="15" effectId="285" type="1" /> <!-- Critical Hunter - P. Critical Rate + 64, P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="1" effectId="286" type="1" /> <!-- Critical Fire - P. Critical Rate + 26, P. Skill Critical Damage + 3%" -->
<option id="26" skillId="13875" level="2" effectId="287" type="1" /> <!-- Critical Fire - P. Critical Rate + 29, P. Skill Critical Damage + 4%" -->
<option id="26" skillId="13875" level="3" effectId="288" type="1" /> <!-- Critical Fire - P. Critical Rate + 32, P. Skill Critical Damage + 4%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="4" effectId="289" type="1" /> <!-- Critical Fire - P. Critical Rate + 34, P. Skill Critical Damage + 5%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="5" effectId="290" type="1" /> <!-- Critical Fire - P. Critical Rate + 37, P. Skill Critical Damage + 5%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="6" effectId="291" type="1" /> <!-- Critical Fire - P. Critical Rate + 40, P. Skill Critical Damage + 6%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="7" effectId="292" type="1" /> <!-- Critical Fire - P. Critical Rate + 42, P. Skill Critical Damage + 6%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="8" effectId="293" type="1" /> <!-- Critical Fire - P. Critical Rate + 45, P. Skill Critical Damage + 7%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="9" effectId="294" type="1" /> <!-- Critical Fire - P. Critical Rate + 48, P. Skill Critical Damage + 7%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="10" effectId="295" type="1" /> <!-- Critical Fire - P. Critical Rate + 50, P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="11" effectId="296" type="1" /> <!-- Critical Fire - P. Critical Rate + 53, P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="12" effectId="297" type="1" /> <!-- Critical Fire - P. Critical Rate + 56, P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="13" effectId="298" type="1" /> <!-- Critical Fire - P. Critical Rate + 59, P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="14" effectId="299" type="1" /> <!-- Critical Fire - P. Critical Rate + 61, P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="26" skillId="13875" level="15" effectId="300" type="1" /> <!-- Critical Fire - P. Critical Rate + 64, P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="1" effectId="301" type="1" /> <!-- Critical Body - P. Critical Rate + 26, Max HP + 10%" -->
<option id="27" skillId="13876" level="2" effectId="302" type="1" /> <!-- Critical Body - P. Critical Rate + 29, Max HP + 11%" -->
<option id="27" skillId="13876" level="3" effectId="303" type="1" /> <!-- Critical Body - P. Critical Rate + 32, Max HP + 11%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="4" effectId="304" type="1" /> <!-- Critical Body - P. Critical Rate + 34, Max HP + 12%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="5" effectId="305" type="1" /> <!-- Critical Body - P. Critical Rate + 37, Max HP + 12%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="6" effectId="306" type="1" /> <!-- Critical Body - P. Critical Rate + 40, Max HP + 13%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="7" effectId="307" type="1" /> <!-- Critical Body - P. Critical Rate + 42, Max HP + 13%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="8" effectId="308" type="1" /> <!-- Critical Body - P. Critical Rate + 45, Max HP + 14%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="9" effectId="309" type="1" /> <!-- Critical Body - P. Critical Rate + 48, Max HP + 14%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="10" effectId="310" type="1" /> <!-- Critical Body - P. Critical Rate + 50, Max HP + 15%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="11" effectId="311" type="1" /> <!-- Critical Body - P. Critical Rate + 53, Max HP + 15%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="12" effectId="312" type="1" /> <!-- Critical Body - P. Critical Rate + 56, Max HP + 16%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="13" effectId="313" type="1" /> <!-- Critical Body - P. Critical Rate + 59, Max HP + 16%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="14" effectId="314" type="1" /> <!-- Critical Body - P. Critical Rate + 61, Max HP + 17%, PvP Damage + 5%" -->
<option id="27" skillId="13876" level="15" effectId="315" type="1" /> <!-- Critical Body - P. Critical Rate + 64, Max HP + 17%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="1" effectId="316" type="1" /> <!-- Acumen Wild - Casting Spd. + 5%, M. Critical Rate + 10%" -->
<option id="28" skillId="13877" level="2" effectId="317" type="1" /> <!-- Acumen Wild - Casting Spd. + 5%, M. Critical Rate + 11%" -->
<option id="28" skillId="13877" level="3" effectId="318" type="1" /> <!-- Acumen Wild - Casting Spd. + 6%, M. Critical Rate + 11%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="4" effectId="319" type="1" /> <!-- Acumen Wild - Casting Spd. + 6%, M. Critical Rate + 12%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="5" effectId="320" type="1" /> <!-- Acumen Wild - Casting Spd. + 7%, M. Critical Rate + 12%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="6" effectId="321" type="1" /> <!-- Acumen Wild - Casting Spd. + 7%, M. Critical Rate + 13%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="7" effectId="322" type="1" /> <!-- Acumen Wild - Casting Spd. + 8%, M. Critical Rate + 13%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="8" effectId="323" type="1" /> <!-- Acumen Wild - Casting Spd. + 8%, M. Critical Rate + 14%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="9" effectId="324" type="1" /> <!-- Acumen Wild - Casting Spd. + 9%, M. Critical Rate + 14%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="10" effectId="325" type="1" /> <!-- Acumen Wild - Casting Spd. + 9%, M. Critical Rate + 15%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="11" effectId="326" type="1" /> <!-- Acumen Wild - Casting Spd. + 10%, M. Critical Rate + 15%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="12" effectId="327" type="1" /> <!-- Acumen Wild - Casting Spd. + 10%, M. Critical Rate + 16%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="13" effectId="328" type="1" /> <!-- Acumen Wild - Casting Spd. + 11%, M. Critical Rate + 16%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="14" effectId="329" type="1" /> <!-- Acumen Wild - Casting Spd. + 11%, M. Critical Rate + 17%, PvP Damage + 5%" -->
<option id="28" skillId="13877" level="15" effectId="330" type="1" /> <!-- Acumen Wild - Casting Spd. + 12%, M. Critical Rate + 17%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="1" effectId="331" type="1" /> <!-- Acumen Mystic - Casting Spd. + 5%, M. Critical Damage + 1%" -->
<option id="29" skillId="13878" level="2" effectId="332" type="1" /> <!-- Acumen Mystic - Casting Spd. + 5%, M. Critical Damage + 2%" -->
<option id="29" skillId="13878" level="3" effectId="333" type="1" /> <!-- Acumen Mystic - Casting Spd. + 6%, M. Critical Damage + 2%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="4" effectId="334" type="1" /> <!-- Acumen Mystic - Casting Spd. + 6%, M. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="5" effectId="335" type="1" /> <!-- Acumen Mystic - Casting Spd. + 7%, M. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="6" effectId="336" type="1" /> <!-- Acumen Mystic - Casting Spd. + 7%, M. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="7" effectId="337" type="1" /> <!-- Acumen Mystic - Casting Spd. + 8%, M. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="8" effectId="338" type="1" /> <!-- Acumen Mystic - Casting Spd. + 8%, M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="9" effectId="339" type="1" /> <!-- Acumen Mystic - Casting Spd. + 9%, M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="10" effectId="340" type="1" /> <!-- Acumen Mystic - Casting Spd. + 9%, M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="11" effectId="341" type="1" /> <!-- Acumen Mystic - Casting Spd. + 10%, M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="12" effectId="342" type="1" /> <!-- Acumen Mystic - Casting Spd. + 10%, M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="13" effectId="343" type="1" /> <!-- Acumen Mystic - Casting Spd. + 11%, M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="14" effectId="344" type="1" /> <!-- Acumen Mystic - Casting Spd. + 11%, M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="29" skillId="13878" level="15" effectId="345" type="1" /> <!-- Acumen Mystic - Casting Spd. + 12%, M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="1" effectId="346" type="1" /> <!-- Acumen Soul - Casting Spd. + 5%, Max MP + 13%" -->
<option id="30" skillId="13879" level="2" effectId="347" type="1" /> <!-- Acumen Soul - Casting Spd. + 5%, Max MP + 14%" -->
<option id="30" skillId="13879" level="3" effectId="348" type="1" /> <!-- Acumen Soul - Casting Spd. + 6%, Max MP + 14%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="4" effectId="349" type="1" /> <!-- Acumen Soul - Casting Spd. + 6%, Max MP + 15%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="5" effectId="350" type="1" /> <!-- Acumen Soul - Casting Spd. + 7%, Max MP + 15%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="6" effectId="351" type="1" /> <!-- Acumen Soul - Casting Spd. + 7%, Max MP + 16%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="7" effectId="352" type="1" /> <!-- Acumen Soul - Casting Spd. + 8%, Max MP + 16%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="8" effectId="353" type="1" /> <!-- Acumen Soul - Casting Spd. + 8%, Max MP + 17%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="9" effectId="354" type="1" /> <!-- Acumen Soul - Casting Spd. + 9%, Max MP + 17%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="10" effectId="355" type="1" /> <!-- Acumen Soul - Casting Spd. + 9%, Max MP + 18%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="11" effectId="356" type="1" /> <!-- Acumen Soul - Casting Spd. + 10%, Max MP + 18%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="12" effectId="357" type="1" /> <!-- Acumen Soul - Casting Spd. + 10%, Max MP + 19%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="13" effectId="358" type="1" /> <!-- Acumen Soul - Casting Spd. + 11%, Max MP + 19%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="14" effectId="359" type="1" /> <!-- Acumen Soul - Casting Spd. + 11%, Max MP + 20%, PvP Damage + 5%" -->
<option id="30" skillId="13879" level="15" effectId="360" type="1" /> <!-- Acumen Soul - Casting Spd. + 12%, Max MP + 20%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="1" effectId="361" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 10%, M. Critical Damage + 1%" -->
<option id="31" skillId="13880" level="2" effectId="362" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 10%, M. Critical Damage + 2%" -->
<option id="31" skillId="13880" level="3" effectId="363" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 11%, M. Critical Damage + 2%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="4" effectId="364" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 11%, M. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="5" effectId="365" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 12%, M. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="6" effectId="366" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 12%, M. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="7" effectId="367" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 13%, M. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="8" effectId="368" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 13%, M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="9" effectId="369" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 14%, M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="10" effectId="370" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 14%, M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="11" effectId="371" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 15%, M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="12" effectId="372" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 15%, M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="13" effectId="373" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 16%, M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="14" effectId="374" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 16%, M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="31" skillId="13880" level="15" effectId="375" type="1" /> <!-- Wid. Mystic - M. Critical Rate + 17%, M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="1" effectId="376" type="1" /> <!-- Wid. Soul - M. Critical Rate + 10%, Max MP + 13%" -->
<option id="32" skillId="13881" level="2" effectId="377" type="1" /> <!-- Wid. Soul - M. Critical Rate + 10%, Max MP + 14%" -->
<option id="32" skillId="13881" level="3" effectId="378" type="1" /> <!-- Wid. Soul - M. Critical Rate + 11%, Max MP + 14%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="4" effectId="379" type="1" /> <!-- Wid. Soul - M. Critical Rate + 11%, Max MP + 15%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="5" effectId="380" type="1" /> <!-- Wid. Soul - M. Critical Rate + 12%, Max MP + 15%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="6" effectId="381" type="1" /> <!-- Wid. Soul - M. Critical Rate + 12%, Max MP + 16%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="7" effectId="382" type="1" /> <!-- Wid. Soul - M. Critical Rate + 13%, Max MP + 16%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="8" effectId="383" type="1" /> <!-- Wid. Soul - M. Critical Rate + 13%, Max MP + 17%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="9" effectId="384" type="1" /> <!-- Wid. Soul - M. Critical Rate + 14%, Max MP + 17%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="10" effectId="385" type="1" /> <!-- Wid. Soul - M. Critical Rate + 14%, Max MP + 18%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="11" effectId="386" type="1" /> <!-- Wid. Soul - M. Critical Rate + 15%, Max MP + 18%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="12" effectId="387" type="1" /> <!-- Wid. Soul - M. Critical Rate + 15%, Max MP + 19%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="13" effectId="388" type="1" /> <!-- Wid. Soul - M. Critical Rate + 16%, Max MP + 19%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="14" effectId="389" type="1" /> <!-- Wid. Soul - M. Critical Rate + 16%, Max MP + 20%, PvP Damage + 5%" -->
<option id="32" skillId="13881" level="15" effectId="390" type="1" /> <!-- Wid. Soul - M. Critical Rate + 17%, Max MP + 20%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="1" effectId="391" type="1" /> <!-- HP Acumen - Max HP + 10%, Casting Spd. + 5%" -->
<option id="37" skillId="13882" level="2" effectId="392" type="1" /> <!-- HP Acumen - Max HP + 11%, Casting Spd. + 5%" -->
<option id="37" skillId="13882" level="3" effectId="393" type="1" /> <!-- HP Acumen - Max HP + 11%, Casting Spd. + 6%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="4" effectId="394" type="1" /> <!-- HP Acumen - Max HP + 12%, Casting Spd. + 6%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="5" effectId="395" type="1" /> <!-- HP Acumen - Max HP + 12%, Casting Spd. + 7%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="6" effectId="396" type="1" /> <!-- HP Acumen - Max HP + 13%, Casting Spd. + 7%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="7" effectId="397" type="1" /> <!-- HP Acumen - Max HP + 13%, Casting Spd. + 8%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="8" effectId="398" type="1" /> <!-- HP Acumen - Max HP + 14%, Casting Spd. + 8%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="9" effectId="399" type="1" /> <!-- HP Acumen - Max HP + 14%, Casting Spd. + 9%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="10" effectId="400" type="1" /> <!-- HP Acumen - Max HP + 15%, Casting Spd. + 9%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="11" effectId="401" type="1" /> <!-- HP Acumen - Max HP + 15%, Casting Spd. + 10%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="12" effectId="402" type="1" /> <!-- HP Acumen - Max HP + 16%, Casting Spd. + 10%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="13" effectId="403" type="1" /> <!-- HP Acumen - Max HP + 16%, Casting Spd. + 11%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="14" effectId="404" type="1" /> <!-- HP Acumen - Max HP + 17%, Casting Spd. + 11%, PvP Damage + 5%" -->
<option id="37" skillId="13882" level="15" effectId="405" type="1" /> <!-- HP Acumen - Max HP + 17%, Casting Spd. + 12%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="1" effectId="406" type="1" /> <!-- HP Wild - Max HP + 10%, M. Critical Rate + 10%" -->
<option id="38" skillId="13883" level="2" effectId="407" type="1" /> <!-- HP Wild - Max HP + 11%, M. Critical Rate + 10%" -->
<option id="38" skillId="13883" level="3" effectId="408" type="1" /> <!-- HP Wild - Max HP + 11%, M. Critical Rate + 11%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="4" effectId="409" type="1" /> <!-- HP Wild - Max HP + 12%, M. Critical Rate + 11%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="5" effectId="410" type="1" /> <!-- HP Wild - Max HP + 12%, M. Critical Rate + 12%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="6" effectId="411" type="1" /> <!-- HP Wild - Max HP + 13%, M. Critical Rate + 12%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="7" effectId="412" type="1" /> <!-- HP Wild - Max HP + 13%, M. Critical Rate + 13%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="8" effectId="413" type="1" /> <!-- HP Wild - Max HP + 14%, M. Critical Rate + 13%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="9" effectId="414" type="1" /> <!-- HP Wild - Max HP + 14%, M. Critical Rate + 14%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="10" effectId="415" type="1" /> <!-- HP Wild - Max HP + 15%, M. Critical Rate + 14%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="11" effectId="416" type="1" /> <!-- HP Wild - Max HP + 15%, M. Critical Rate + 15%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="12" effectId="417" type="1" /> <!-- HP Wild - Max HP + 16%, M. Critical Rate + 15%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="13" effectId="418" type="1" /> <!-- HP Wild - Max HP + 16%, M. Critical Rate + 16%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="14" effectId="419" type="1" /> <!-- HP Wild - Max HP + 17%, M. Critical Rate + 16%, PvP Damage + 5%" -->
<option id="38" skillId="13883" level="15" effectId="420" type="1" /> <!-- HP Wild - Max HP + 17%, M. Critical Rate + 17%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="1" effectId="421" type="1" /> <!-- HP Mystic - Max HP + 10%, M. Critical Damage + 1%" -->
<option id="39" skillId="13884" level="2" effectId="422" type="1" /> <!-- HP Mystic - Max HP + 11%, M. Critical Damage + 2%" -->
<option id="39" skillId="13884" level="3" effectId="423" type="1" /> <!-- HP Mystic - Max HP + 11%, M. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="4" effectId="424" type="1" /> <!-- HP Mystic - Max HP + 12%, M. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="5" effectId="425" type="1" /> <!-- HP Mystic - Max HP + 12%, M. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="6" effectId="426" type="1" /> <!-- HP Mystic - Max HP + 13%, M. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="7" effectId="427" type="1" /> <!-- HP Mystic - Max HP + 13%, M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="8" effectId="428" type="1" /> <!-- HP Mystic - Max HP + 14%, M. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="9" effectId="429" type="1" /> <!-- HP Mystic - Max HP + 14%, M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="10" effectId="430" type="1" /> <!-- HP Mystic - Max HP + 15%, M. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="11" effectId="431" type="1" /> <!-- HP Mystic - Max HP + 15%, M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="12" effectId="432" type="1" /> <!-- HP Mystic - Max HP + 16%, M. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="13" effectId="433" type="1" /> <!-- HP Mystic - Max HP + 16%, M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="14" effectId="434" type="1" /> <!-- HP Mystic - Max HP + 17%, M. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="39" skillId="13884" level="15" effectId="435" type="1" /> <!-- HP Mystic - Max HP + 17%, M. Critical Damage + 9%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="1" effectId="436" type="1" /> <!-- HP Soul - Max HP + 10%, Max MP + 13%" -->
<option id="40" skillId="13885" level="2" effectId="437" type="1" /> <!-- HP Soul - Max HP + 11%, Max MP + 13%" -->
<option id="40" skillId="13885" level="3" effectId="438" type="1" /> <!-- HP Soul - Max HP + 11%, Max MP + 14%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="4" effectId="439" type="1" /> <!-- HP Soul - Max HP + 12%, Max MP + 14%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="5" effectId="440" type="1" /> <!-- HP Soul - Max HP + 12%, Max MP + 15%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="6" effectId="441" type="1" /> <!-- HP Soul - Max HP + 13%, Max MP + 15%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="7" effectId="442" type="1" /> <!-- HP Soul - Max HP + 13%, Max MP + 16%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="8" effectId="443" type="1" /> <!-- HP Soul - Max HP + 14%, Max MP + 16%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="9" effectId="444" type="1" /> <!-- HP Soul - Max HP + 14%, Max MP + 17%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="10" effectId="445" type="1" /> <!-- HP Soul - Max HP + 15%, Max MP + 17%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="11" effectId="446" type="1" /> <!-- HP Soul - Max HP + 15%, Max MP + 18%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="12" effectId="447" type="1" /> <!-- HP Soul - Max HP + 16%, Max MP + 18%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="13" effectId="448" type="1" /> <!-- HP Soul - Max HP + 16%, Max MP + 19%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="14" effectId="449" type="1" /> <!-- HP Soul - Max HP + 17%, Max MP + 19%, PvP Damage + 5%" -->
<option id="40" skillId="13885" level="15" effectId="450" type="1" /> <!-- HP Soul - Max HP + 17%, Max MP + 20%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="1" effectId="451" type="1" /> <!-- MP Fury - Max MP + 13%, Atk. Spd. + 5%" -->
<option id="41" skillId="13886" level="2" effectId="452" type="1" /> <!-- MP Fury - Max MP + 13%, Atk. Spd. + 6%" -->
<option id="41" skillId="13886" level="3" effectId="453" type="1" /> <!-- MP Fury - Max MP + 14%, Atk. Spd. + 6%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="4" effectId="454" type="1" /> <!-- MP Fury - Max MP + 14%, Atk. Spd. + 7%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="5" effectId="455" type="1" /> <!-- MP Fury - Max MP + 15%, Atk. Spd. + 7%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="6" effectId="456" type="1" /> <!-- MP Fury - Max MP + 15%, Atk. Spd. + 8%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="7" effectId="457" type="1" /> <!-- MP Fury - Max MP + 16%, Atk. Spd. + 8%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="8" effectId="458" type="1" /> <!-- MP Fury - Max MP + 16%, Atk. Spd. + 9%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="9" effectId="459" type="1" /> <!-- MP Fury - Max MP + 17%, Atk. Spd. + 9%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="10" effectId="460" type="1" /> <!-- MP Fury - Max MP + 17%, Atk. Spd. + 10%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="11" effectId="461" type="1" /> <!-- MP Fury - Max MP + 18%, Atk. Spd. + 10%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="12" effectId="462" type="1" /> <!-- MP Fury - Max MP + 18%, Atk. Spd. + 11%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="13" effectId="463" type="1" /> <!-- MP Fury - Max MP + 19%, Atk. Spd. + 11%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="14" effectId="464" type="1" /> <!-- MP Fury - Max MP + 19%, Atk. Spd. + 12%, PvP Damage + 5%" -->
<option id="41" skillId="13886" level="15" effectId="465" type="1" /> <!-- MP Fury - Max MP + 20%, Atk. Spd. + 12%, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="1" effectId="466" type="1" /> <!-- MP Focus - Max MP + 13%, P. Critical Rate + 26" -->
<option id="42" skillId="13887" level="2" effectId="467" type="1" /> <!-- MP Focus - Max MP + 13%, P. Critical Rate + 29" -->
<option id="42" skillId="13887" level="3" effectId="468" type="1" /> <!-- MP Focus - Max MP + 14%, P. Critical Rate + 32, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="4" effectId="469" type="1" /> <!-- MP Focus - Max MP + 14%, P. Critical Rate + 34, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="5" effectId="470" type="1" /> <!-- MP Focus - Max MP + 15%, P. Critical Rate + 37, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="6" effectId="471" type="1" /> <!-- MP Focus - Max MP + 15%, P. Critical Rate + 40, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="7" effectId="472" type="1" /> <!-- MP Focus - Max MP + 16%, P. Critical Rate + 42, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="8" effectId="473" type="1" /> <!-- MP Focus - Max MP + 16%, P. Critical Rate + 45, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="9" effectId="474" type="1" /> <!-- MP Focus - Max MP + 17%, P. Critical Rate + 48, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="10" effectId="475" type="1" /> <!-- MP Focus - Max MP + 17%, P. Critical Rate + 50, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="11" effectId="476" type="1" /> <!-- MP Focus - Max MP + 18%, P. Critical Rate + 53, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="12" effectId="477" type="1" /> <!-- MP Focus - Max MP + 18%, P. Critical Rate + 56, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="13" effectId="478" type="1" /> <!-- MP Focus - Max MP + 19%, P. Critical Rate + 59, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="14" effectId="479" type="1" /> <!-- MP Focus - Max MP + 19%, P. Critical Rate + 61, PvP Damage + 5%" -->
<option id="42" skillId="13887" level="15" effectId="480" type="1" /> <!-- MP Focus - Max MP + 20%, P. Critical Rate + 64, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="1" effectId="481" type="1" /> <!-- MP Death - Max MP + 13%, P. Critical Damage + 1%" -->
<option id="43" skillId="13888" level="2" effectId="482" type="1" /> <!-- MP Death - Max MP + 13%, P. Critical Damage + 2%" -->
<option id="43" skillId="13888" level="3" effectId="483" type="1" /> <!-- MP Death - Max MP + 14%, P. Critical Damage + 2%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="4" effectId="484" type="1" /> <!-- MP Death - Max MP + 14%, P. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="5" effectId="485" type="1" /> <!-- MP Death - Max MP + 15%, P. Critical Damage + 3%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="6" effectId="486" type="1" /> <!-- MP Death - Max MP + 15%, P. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="7" effectId="487" type="1" /> <!-- MP Death - Max MP + 16%, P. Critical Damage + 4%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="8" effectId="488" type="1" /> <!-- MP Death - Max MP + 16%, P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="9" effectId="489" type="1" /> <!-- MP Death - Max MP + 17%, P. Critical Damage + 5%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="10" effectId="490" type="1" /> <!-- MP Death - Max MP + 17%, P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="11" effectId="491" type="1" /> <!-- MP Death - Max MP + 18%, P. Critical Damage + 6%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="12" effectId="492" type="1" /> <!-- MP Death - Max MP + 18%, P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="13" effectId="493" type="1" /> <!-- MP Death - Max MP + 19%, P. Critical Damage + 7%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="14" effectId="494" type="1" /> <!-- MP Death - Max MP + 19%, P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="43" skillId="13888" level="15" effectId="495" type="1" /> <!-- MP Death - Max MP + 20%, P. Critical Damage + 8%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="1" effectId="496" type="1" /> <!-- MP Hunter - Max MP + 13%, P. Skill Critical Rate + 3%" -->
<option id="44" skillId="13889" level="2" effectId="497" type="1" /> <!-- MP Hunter - Max MP + 13%, P. Skill Critical Rate + 4%" -->
<option id="44" skillId="13889" level="3" effectId="498" type="1" /> <!-- MP Hunter - Max MP + 14%, P. Skill Critical Rate + 4%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="4" effectId="499" type="1" /> <!-- MP Hunter - Max MP + 14%, P. Skill Critical Rate + 5%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="5" effectId="500" type="1" /> <!-- MP Hunter - Max MP + 15%, P. Skill Critical Rate + 5%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="6" effectId="501" type="1" /> <!-- MP Hunter - Max MP + 15%, P. Skill Critical Rate + 6%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="7" effectId="502" type="1" /> <!-- MP Hunter - Max MP + 16%, P. Skill Critical Rate + 6%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="8" effectId="503" type="1" /> <!-- MP Hunter - Max MP + 16%, P. Skill Critical Rate + 7%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="9" effectId="504" type="1" /> <!-- MP Hunter - Max MP + 17%, P. Skill Critical Rate + 7%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="10" effectId="505" type="1" /> <!-- MP Hunter - Max MP + 17%, P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="11" effectId="506" type="1" /> <!-- MP Hunter - Max MP + 18%, P. Skill Critical Rate + 8%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="12" effectId="507" type="1" /> <!-- MP Hunter - Max MP + 18%, P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="13" effectId="508" type="1" /> <!-- MP Hunter - Max MP + 19%, P. Skill Critical Rate + 9%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="14" effectId="509" type="1" /> <!-- MP Hunter - Max MP + 19%, P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="44" skillId="13889" level="15" effectId="510" type="1" /> <!-- MP Hunter - Max MP + 20%, P. Skill Critical Rate + 10%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="1" effectId="511" type="1" /> <!-- MP Fire - Max MP + 13%, P. Skill Critical Damage + 3%" -->
<option id="45" skillId="13890" level="2" effectId="512" type="1" /> <!-- MP Fire - Max MP + 13%, P. Skill Critical Damage + 4%" -->
<option id="45" skillId="13890" level="3" effectId="513" type="1" /> <!-- MP Fire - Max MP + 14%, P. Skill Critical Damage + 4%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="4" effectId="514" type="1" /> <!-- MP Fire - Max MP + 14%, P. Skill Critical Damage + 5%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="5" effectId="515" type="1" /> <!-- MP Fire - Max MP + 15%, P. Skill Critical Damage + 5%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="6" effectId="516" type="1" /> <!-- MP Fire - Max MP + 15%, P. Skill Critical Damage + 6%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="7" effectId="517" type="1" /> <!-- MP Fire - Max MP + 16%, P. Skill Critical Damage + 6%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="8" effectId="518" type="1" /> <!-- MP Fire - Max MP + 16%, P. Skill Critical Damage + 7%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="9" effectId="519" type="1" /> <!-- MP Fire - Max MP + 17%, P. Skill Critical Damage + 7%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="10" effectId="520" type="1" /> <!-- MP Fire - Max MP + 17%, P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="11" effectId="521" type="1" /> <!-- MP Fire - Max MP + 18%, P. Skill Critical Damage + 8%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="12" effectId="522" type="1" /> <!-- MP Fire - Max MP + 18%, P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="13" effectId="523" type="1" /> <!-- MP Fire - Max MP + 19%, P. Skill Critical Damage + 9%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="14" effectId="524" type="1" /> <!-- MP Fire - Max MP + 19%, P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="45" skillId="13890" level="15" effectId="525" type="1" /> <!-- MP Fire - Max MP + 20%, P. Skill Critical Damage + 10%, PvP Damage + 5%" -->
<option id="46" skillId="13898" level="1" effectId="526" type="2" /> <!-- Tyrr - P. Atk. + 5%" -->
<option id="47" skillId="13899" level="1" effectId="527" type="2" /> <!-- Feoh - M. Atk. + 5%" -->
<option id="48" skillId="13900" level="1" effectId="528" type="2" /> <!-- Sigel - Max HP + 15%" -->
<option id="64" skillId="13891" level="1" effectId="529" type="1" /> <!-- Critical Slow - Chance to decrease Speed and PvP Damage + 5% during a critical attack." -->
<option id="64" skillId="13892" level="1" effectId="530" type="1" /> <!-- Critical Stun - Chance to stun and PvP Damage + 5% during a critical attack." -->
<option id="64" skillId="13893" level="1" effectId="531" type="1" /> <!-- Magic Hold - Chance to activate a Dryad Root and PvP Damage + 5% when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="532" type="1" /> <!-- Magic Focus - Chance to activate Focus when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="533" type="1" /> <!-- Magic Focus - Chance to activate Focus and PvP Damage + 5% when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="534" type="1" /> <!-- Magic Blessed Body - Chance to activate Blessed Body when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="535" type="1" /> <!-- Magic Regeneration - Chance to activate Regeneration when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="536" type="1" /> <!-- Magic Mental Shield - Chance to activate Mental Shield when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="537" type="1" /> <!-- Magic Mental Shield - Chance to activate Mental Shield and PvP Damage + 5% when using a magic skill." -->
<option id="64" skillId="0" level="0" effectId="538" type="1" /> <!-- Guidance - Accuracy + 7.6, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="539" type="1" /> <!-- Guidance - Accuracy + 7.7, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="540" type="1" /> <!-- Guidance - Accuracy + 7.8, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="541" type="1" /> <!-- Guidance - Accuracy + 7.9, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="542" type="1" /> <!-- Guidance - Accuracy + 5.27, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="543" type="1" /> <!-- Guidance - Accuracy + 7.5, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="544" type="1" /> <!-- HP Drain - Restores HP by using some of the damage inflicted upon the enemy with a certain probability. PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="545" type="1" /> <!-- Evasion - Evasion + 2.95" -->
<option id="64" skillId="0" level="0" effectId="546" type="1" /> <!-- Evasion - Evasion + 2.82" -->
<option id="64" skillId="0" level="0" effectId="547" type="1" /> <!-- Evasion - Evasion + 2.68" -->
<option id="64" skillId="0" level="0" effectId="548" type="1" /> <!-- Evasion - Evasion + 2.41" -->
<option id="64" skillId="0" level="0" effectId="549" type="1" /> <!-- Evasion - Evasion + 5.31, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="550" type="1" /> <!-- Back Blow - Rear Critical Rate + 50%" -->
<option id="64" skillId="0" level="0" effectId="551" type="1" /> <!-- Back Blow - Rear Critical Rate + 45%" -->
<option id="64" skillId="0" level="0" effectId="552" type="1" /> <!-- Back Blow - Rear Critical Rate + 40%" -->
<option id="64" skillId="0" level="0" effectId="553" type="1" /> <!-- Back Blow - Rear Critical Rate + 67%" -->
<option id="64" skillId="0" level="0" effectId="554" type="1" /> <!-- Back Blow - Rear Critical Rate + 56%" -->
<option id="64" skillId="0" level="0" effectId="555" type="1" /> <!-- Back Blow - Rear Critical Rate + 37%, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="556" type="1" /> <!-- Focus - Critical Attack Rate + 90.5" -->
<option id="64" skillId="0" level="0" effectId="557" type="1" /> <!-- Focus - Critical Attack Rate + 81.2" -->
<option id="64" skillId="0" level="0" effectId="558" type="1" /> <!-- Focus - Critical Attack Rate + 71.9" -->
<option id="64" skillId="0" level="0" effectId="559" type="1" /> <!-- Focus - Critical Attack Rate + 86.7" -->
<option id="64" skillId="0" level="0" effectId="560" type="1" /> <!-- Focus - Critical Attack Rate + 82.2" -->
<option id="64" skillId="0" level="0" effectId="561" type="1" /> <!-- Focus - Critical Attack Rate + 77.8" -->
<option id="64" skillId="0" level="0" effectId="562" type="1" /> <!-- Focus - Critical Attack Rate + 73.3" -->
<option id="64" skillId="0" level="0" effectId="563" type="1" /> <!-- Focus - Critical Attack Rate + 68.9" -->
<option id="64" skillId="0" level="0" effectId="564" type="1" /> <!-- Focus - Critical Attack Rate + 64.5" -->
<option id="64" skillId="0" level="0" effectId="565" type="1" /> <!-- Guidance - Accuracy + 5.42" -->
<option id="64" skillId="0" level="0" effectId="566" type="1" /> <!-- Guidance - Accuracy + 5.12" -->
<option id="64" skillId="0" level="0" effectId="567" type="1" /> <!-- Guidance - Accuracy + 4.82" -->
<option id="64" skillId="0" level="0" effectId="568" type="1" /> <!-- Guidance - Accuracy + 4.53" -->
<option id="64" skillId="0" level="0" effectId="569" type="1" /> <!-- Guidance - Accuracy + 3.95" -->
<option id="64" skillId="0" level="0" effectId="570" type="1" /> <!-- Guidance - Accuracy + 6.07" -->
<option id="64" skillId="0" level="0" effectId="571" type="1" /> <!-- Guidance - Accuracy + 5.72" -->
<option id="64" skillId="0" level="0" effectId="572" type="1" /> <!-- Guidance - Accuracy + 5.02" -->
<option id="64" skillId="0" level="0" effectId="573" type="1" /> <!-- Mighty Mortal - Vital Spot Attack Success Rate + 50%" -->
<option id="64" skillId="0" level="0" effectId="574" type="1" /> <!-- Mighty Mortal - Vital Spot Attack Success Rate + 48%" -->
<option id="64" skillId="0" level="0" effectId="575" type="1" /> <!-- Mighty Mortal - Vital Spot Attack Success Rate + 44%" -->
<option id="64" skillId="0" level="0" effectId="576" type="1" /> <!-- Mighty Mortal - Vital Spot Attack Success Rate + 42%" -->
<option id="64" skillId="0" level="0" effectId="577" type="1" /> <!-- Mighty Mortal - Vital Spot Attack Success Rate + 40%" -->
<option id="64" skillId="0" level="0" effectId="578" type="1" /> <!-- Focus - Critical Attack Rate + 67.3, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="579" type="1" /> <!-- Focus - Critical Attack Rate + 67.3, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="580" type="1" /> <!-- Focus - Critical Attack Rate + 88.1, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="581" type="1" /> <!-- Focus - Critical Attack Rate + 116, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="582" type="1" /> <!-- Focus - Critical Attack Rate + 133.9, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="583" type="1" /> <!-- Focus - Critical Attack Rate + 133.9, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="584" type="1" /> <!-- Focus - Critical Attack Rate + 133.9, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="585" type="1" /> <!-- Focus - Critical Attack Rate + 61.6, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="586" type="1" /> <!-- Focus - Critical Attack Rate + 61.6, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="587" type="1" /> <!-- Focus - Critical Attack Rate + 80.6, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="588" type="1" /> <!-- Focus - Critical Attack Rate + 107, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="589" type="1" /> <!-- Focus - Critical Attack Rate + 123.5, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="590" type="1" /> <!-- Focus - Critical Attack Rate + 129, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="591" type="1" /> <!-- Focus - Critical Attack Rate + 129, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="592" type="1" /> <!-- Focus - Critical Attack Rate + 84.3, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="593" type="1" /> <!-- Focus - Critical Attack Rate + 111.5, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="594" type="1" /> <!-- Focus - Critical Attack Rate + 131.3, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="595" type="1" /> <!-- Focus - Critical Attack Rate + 134.4, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="596" type="1" /> <!-- Focus - Critical Attack Rate + 134.4, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="597" type="1" /> <!-- Guidance - Accuracy + 5.41, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="598" type="1" /> <!-- Guidance - Accuracy + 3.95, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="603" type="1" /> <!-- Guidance - Accuracy + 5.32, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="604" type="1" /> <!-- HP Drain - Restores HP by using some of the damage inflicted upon the enemy with a certain probability. PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="606" type="1" /> <!-- HP Regeneration - Increases HP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="607" type="1" /> <!-- HP Regeneration - Increases HP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="608" type="1" /> <!-- HP Regeneration - Increases HP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="609" type="1" /> <!-- HP Regeneration - Increases HP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="610" type="1" /> <!-- Light - Weight Gauge + 20%" -->
<option id="64" skillId="0" level="0" effectId="611" type="1" /> <!-- Light - Weight Gauge + 20%, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="612" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="613" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="614" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="615" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="616" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="617" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="618" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="619" type="1" /> <!-- MP Regeneration - Increases MP Recovery Bonus., PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="620" type="1" /> <!-- Rsk.Evasion - Evasion + 6.8, PvP Damage + 5% when in danger." -->
<option id="64" skillId="0" level="0" effectId="621" type="1" /> <!-- Rsk. Focus - Critical Attack Rate+ 130, PvP Damage + 5% when in danger." -->
<option id="64" skillId="0" level="0" effectId="622" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 11%, PvP Damage + 5% when in danger." -->
<option id="64" skillId="0" level="0" effectId="623" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 11%, PvP Damage + 5% when in danger." -->
<option id="64" skillId="0" level="0" effectId="624" type="1" /> <!-- Long Blow - Bow/Crossbow Range + 100, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="625" type="1" /> <!-- Conversion - Max HP - 40%, Max MP + 60%" -->
<option id="64" skillId="0" level="0" effectId="626" type="1" /> <!-- Conversion - Max HP - 40%, Max MP + 60%, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="627" type="1" /> <!-- Conversion - Max HP - 40%, Max MP + 60%, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="628" type="1" /> <!-- Rsk.Evasion - Evasion + 7.29 when in danger." -->
<option id="64" skillId="0" level="0" effectId="629" type="1" /> <!-- Rsk.Evasion - Evasion + 6.95 when in danger." -->
<option id="64" skillId="0" level="0" effectId="630" type="1" /> <!-- Rsk.Evasion - Evasion + 6.24 when in danger." -->
<option id="64" skillId="0" level="0" effectId="631" type="1" /> <!-- Rsk.Evasion - Evasion + 7.63 when in danger." -->
<option id="64" skillId="0" level="0" effectId="632" type="1" /> <!-- Rsk.Evasion - Evasion + 6.95 when in danger." -->
<option id="64" skillId="0" level="0" effectId="633" type="1" /> <!-- Rsk.Evasion - Evasion + 6.6 when in danger." -->
<option id="64" skillId="0" level="0" effectId="634" type="1" /> <!-- Rsk.Evasion - Evasion + 7.29 when in danger." -->
<option id="64" skillId="0" level="0" effectId="635" type="1" /> <!-- Rsk. Focus - Critical Attack Rate + 138.7 when in danger." -->
<option id="64" skillId="0" level="0" effectId="636" type="1" /> <!-- Rsk. Focus - Critical Attack Rate + 115.4 when in danger." -->
<option id="64" skillId="0" level="0" effectId="637" type="1" /> <!-- Rsk. Focus - Critical Attack Rate + 107.7 when in danger." -->
<option id="64" skillId="0" level="0" effectId="638" type="1" /> <!-- Rsk. Focus - Critical Attack Rate + 99.9 when in danger." -->
<option id="64" skillId="0" level="0" effectId="639" type="1" /> <!-- Rsk. Focus - Critical Attack Rate + 164, PvP Damage + 5% when in danger." -->
<option id="64" skillId="0" level="0" effectId="640" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 13% when in danger." -->
<option id="64" skillId="0" level="0" effectId="641" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 12% when in danger." -->
<option id="64" skillId="0" level="0" effectId="642" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 13% when in danger." -->
<option id="64" skillId="0" level="0" effectId="643" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 12% when in danger." -->
<option id="64" skillId="0" level="0" effectId="644" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 12% when in danger." -->
<option id="64" skillId="0" level="0" effectId="645" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 11% when in danger." -->
<option id="64" skillId="0" level="0" effectId="646" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 10% when in danger." -->
<option id="64" skillId="0" level="0" effectId="647" type="1" /> <!-- Rsk. Haste - Atk. Spd.+ 9% when in danger." -->
<option id="64" skillId="0" level="0" effectId="648" type="1" /> <!-- Acumen - Casting Spd. + 15%" -->
<option id="64" skillId="0" level="0" effectId="649" type="1" /> <!-- Health - Max HP + 25%" -->
<option id="64" skillId="0" level="0" effectId="650" type="1" /> <!-- Mana Up - Max MP + 30%" -->
<option id="64" skillId="0" level="0" effectId="651" type="1" /> <!-- Guidance - Accuracy + 6.5, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="652" type="1" /> <!-- Robust Health - Max HP + 15%, Max MP + 20%, Max CP + 30%, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="653" type="1" /> <!-- Focus - Critical Attack Rate + 109.2, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="654" type="1" /> <!-- Focus - Critical Attack Rate + 50.4" -->
<option id="64" skillId="0" level="0" effectId="655" type="1" /> <!-- Focus - Critical Attack Rate + 24.8" -->
<option id="64" skillId="0" level="0" effectId="656" type="1" /> <!-- Focus - Critical Attack Rate + 76.6" -->
<option id="64" skillId="0" level="0" effectId="657" type="1" /> <!-- Focus - Critical Attack Rate + 40.4" -->
<option id="64" skillId="0" level="0" effectId="658" type="1" /> <!-- Focus - Critical Attack Rate + 65" -->
<option id="64" skillId="0" level="0" effectId="659" type="1" /> <!-- Focus - Critical Attack Rate + 43.7" -->
<option id="64" skillId="0" level="0" effectId="660" type="1" /> <!-- Focus - Critical Attack Rate + 54" -->
<option id="64" skillId="0" level="0" effectId="661" type="1" /> <!-- Focus - Critical Attack Rate + 52.6" -->
<option id="64" skillId="0" level="0" effectId="662" type="1" /> <!-- Focus - Critical Attack Rate + 109.2, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="664" type="1" /> <!-- Health - Max HP + 25%, PvP Damage + 5%" -->
<option id="64" skillId="0" level="0" effectId="665" type="1" /> <!-- Haste - Atk. Spd. + 8%, PvP Damage + 5%" -->
<option id="64" skillId="13902" level="1" effectId="666" type="1" /> <!-- Fury-Practice - Atk. Spd. + 1%" -->
<option id="64" skillId="13903" level="1" effectId="667" type="1" /> <!-- Acumen-Practice - Casting Spd. + 1%" -->
</SoulCrystalOptions>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="SoulCrystalOptions">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="option" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="id" type="xs:positiveInteger" use="required" />
<xs:attribute name="skillId" type="xs:int" use="required" />
<xs:attribute name="level" type="xs:int" use="required" />
<xs:attribute name="effectId" type="xs:normalizedString" use="required" />
<xs:attribute name="type" type="xs:int" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -82,6 +82,7 @@ import com.l2jmobius.gameserver.data.xml.impl.ShuttleData;
import com.l2jmobius.gameserver.data.xml.impl.SiegeScheduleData;
import com.l2jmobius.gameserver.data.xml.impl.SkillLearnData;
import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData;
import com.l2jmobius.gameserver.data.xml.impl.SoulCrystalOptionsData;
import com.l2jmobius.gameserver.data.xml.impl.StaticObjectData;
import com.l2jmobius.gameserver.data.xml.impl.TeleportersData;
import com.l2jmobius.gameserver.data.xml.impl.TransformData;
@ -234,6 +235,7 @@ public final class GameServer
PrimeShopData.getInstance();
AppearanceItemData.getInstance();
LuckyGameData.getInstance();
SoulCrystalOptionsData.getInstance();
printSection("Characters");
ClassListData.getInstance();

View File

@ -0,0 +1,105 @@
/*
* 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 com.l2jmobius.gameserver.data.xml.impl;
import java.util.HashMap;
import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import com.l2jmobius.gameserver.model.holders.SkillHolder;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
import com.l2jmobius.util.data.xml.IXmlReader;
/**
* @author Mathael
*/
public class SoulCrystalOptionsData implements IXmlReader
{
private static final HashMap<Integer, SoulCrystalOption> _soulCrystalOptions = new HashMap<>();
protected SoulCrystalOptionsData()
{
load();
}
@Override
public void load()
{
_soulCrystalOptions.clear();
parseDatapackFile("soulCrystalOptions.xml");
LOGGER.info(getClass().getSimpleName() + ": Loaded " + _soulCrystalOptions.size() + " Soul Crystal Options.");
}
@Override
public void parseDocument(Document doc)
{
int skillId;
int level;
int effectId;
int type;
for (Node n = doc.getFirstChild(); n != null; n = n.getNextSibling())
{
if ("SoulCrystalOptions".equalsIgnoreCase(n.getNodeName()))
{
for (Node d = n.getFirstChild(); d != null; d = d.getNextSibling())
{
if ("option".equalsIgnoreCase(d.getNodeName()))
{
final NamedNodeMap attrs = d.getAttributes();
skillId = parseInteger(attrs, "skillId", 0);
level = parseInteger(attrs, "level", 0);
effectId = parseInteger(attrs, "effectId", 0); // unique
type = parseInteger(attrs, "type", 1);
if (effectId == 0)
{
LOGGER.severe(getClass().getSimpleName() + ": Bad Soul Crystal Option [" + effectId + "] !");
return;
}
// Somes options need to be confirmed.
if (skillId != 0)
{
_soulCrystalOptions.put(effectId, new SoulCrystalOption(effectId, type == 2, new SkillHolder(skillId, level)));
}
}
}
}
}
}
public SoulCrystalOption getByEffectId(int effectId)
{
return _soulCrystalOptions.get(effectId);
}
public static SoulCrystalOptionsData getInstance()
{
return SingletonHolder._instance;
}
private static class SingletonHolder
{
protected static final SoulCrystalOptionsData _instance = new SoulCrystalOptionsData();
}
}

View File

@ -98,6 +98,11 @@ public final class DocumentItem extends DocumentBase
final int itemId = Integer.parseInt(n.getAttributes().getNamedItem("id").getNodeValue());
final String className = n.getAttributes().getNamedItem("type").getNodeValue();
final String itemName = n.getAttributes().getNamedItem("name").getNodeValue();
String additionalName = null;
if (n.getAttributes().getNamedItem("additionalName") != null)
{
additionalName = n.getAttributes().getNamedItem("additionalName").getNodeValue();
}
_currentItem.id = itemId;
_currentItem.name = itemName;
@ -105,6 +110,7 @@ public final class DocumentItem extends DocumentBase
_currentItem.set = new StatsSet();
_currentItem.set.set("item_id", itemId);
_currentItem.set.set("name", itemName);
_currentItem.set.set("additionalName", additionalName);
final Node first = n.getFirstChild();
for (n = first; n != null; n = n.getNextSibling())

View File

@ -26,7 +26,8 @@ public enum ItemListType implements IUpdateTypeComponent
AUGMENT_BONUS(0x01),
ELEMENTAL_ATTRIBUTE(0x02),
ENCHANT_EFFECT(0x04),
VISUAL_ID(0x08);
VISUAL_ID(0x08),
SOUL_CRYSTAL(0x10);
private final int _mask;

View File

@ -20,6 +20,7 @@ import com.l2jmobius.gameserver.model.buylist.Product;
import com.l2jmobius.gameserver.model.items.L2Item;
import com.l2jmobius.gameserver.model.items.L2WarehouseItem;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
/**
* Get all information from L2ItemInstance to generate ItemInfo.
@ -76,6 +77,9 @@ public class ItemInfo
private int _visualId;
private long _visualExpiration;
private SoulCrystalOption[] _commonSoulCrystalOptions = new SoulCrystalOption[2];
private SoulCrystalOption _specialSoulCrystalOption;
/**
* Get all information from L2ItemInstance to generate ItemInfo.
* @param item
@ -149,6 +153,9 @@ public class ItemInfo
}
_option = item.getEnchantOptions();
_visualId = item.getVisualId();
_commonSoulCrystalOptions = item.getCommonSoulCrystalOptions();
_specialSoulCrystalOption = item.getSpecialSoulCrystalOption();
}
public ItemInfo(L2ItemInstance item, int change)
@ -212,6 +219,8 @@ public class ItemInfo
_option = item.getEnchantOptions();
_visualId = item.getVisualId();
_commonSoulCrystalOptions = item.getCommonSoulCrystalOptions();
_specialSoulCrystalOption = item.getSpecialSoulCrystalOption();
}
public ItemInfo(Product item)
@ -301,6 +310,9 @@ public class ItemInfo
_elemDefAttr[i] = item.getElementDefAttr(i);
}
_option = item.getEnchantOptions();
_commonSoulCrystalOptions = item.getCommonSoulCrystalOptions();
_specialSoulCrystalOption = item.getSpecialSoulCrystalOption();
}
public int getObjectId()
@ -407,4 +419,24 @@ public class ItemInfo
{
return _visualExpiration;
}
public SoulCrystalOption[] getCommonSoulCrystalOptions()
{
return _commonSoulCrystalOptions;
}
public void setSoulCrystalOptions(SoulCrystalOption[] options)
{
_commonSoulCrystalOptions = options;
}
public SoulCrystalOption getSpecialSoulCrystalOption()
{
return _specialSoulCrystalOption;
}
public void setSpecialSoulCrystalOption(SoulCrystalOption option)
{
_specialSoulCrystalOption = option;
}
}

View File

@ -18,6 +18,7 @@ package com.l2jmobius.gameserver.model;
import com.l2jmobius.gameserver.model.items.L2Item;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
public class TradeItem
{
@ -50,6 +51,8 @@ public class TradeItem
private final int _time;
private final int _visualId;
private final long _visualExpiration;
private SoulCrystalOption[] _commonSoulCrystalOptions;
private SoulCrystalOption _specialSoulCrystalOption;
public TradeItem(L2ItemInstance item, long count, long price)
{
@ -76,6 +79,8 @@ public class TradeItem
_time = item.isTimeLimitedItem() ? (int) (item.getRemainingTime() / 1000) : -9999;
_visualId = item.getVisualId();
_visualExpiration = item.getTime();
_commonSoulCrystalOptions = item.getCommonSoulCrystalOptions();
_specialSoulCrystalOption = item.getSpecialSoulCrystalOption();
}
public TradeItem(L2Item item, long count, long price, int enchantLevel, int attackAttribute, int attackAttributeValue, int defenseAttributes[], int appearanceId)
@ -104,6 +109,8 @@ public class TradeItem
_time = -9999;
_visualId = appearanceId;
_visualExpiration = -1;
_commonSoulCrystalOptions = new SoulCrystalOption[2];
_specialSoulCrystalOption = null;
}
public TradeItem(TradeItem item, long count, long price, int enchantLevel, int attackAttribute, int attackAttributeValue, int defenseAttributes[], int appearanceId)
@ -132,6 +139,8 @@ public class TradeItem
_time = item.isTimeLimitedItem() ? (int) (item.getRemainingTime() / 1000) : -9999;
_visualId = item.getVisualId();
_visualExpiration = item.getVisualExpiration();
_commonSoulCrystalOptions = item.getCommonSoulCrystalOptions();
_specialSoulCrystalOption = item.getSpecialSoulCrystalOption();
}
public L2ItemInstance getItemInstance()
@ -263,4 +272,24 @@ public class TradeItem
{
return _time;
}
public SoulCrystalOption[] getCommonSoulCrystalOptions()
{
return _commonSoulCrystalOptions;
}
public void setSoulCrystalOptions(SoulCrystalOption[] options)
{
_commonSoulCrystalOptions = options;
}
public SoulCrystalOption getSpecialSoulCrystalOption()
{
return _specialSoulCrystalOption;
}
public void setSpecialSoulCrystalOption(SoulCrystalOption option)
{
_specialSoulCrystalOption = option;
}
}

View File

@ -375,6 +375,7 @@ public abstract class Inventory extends ItemContainer
}
item.clearEnchantStats();
item.removeSoulCrystalOptionEffect();
final SkillHolder[] skills = it.getSkills();
@ -504,6 +505,7 @@ public abstract class Inventory extends ItemContainer
}
item.applyEnchantStats();
item.applySoulCrystalOptionEffect();
final SkillHolder[] skills = it.getSkills();

View File

@ -1109,6 +1109,7 @@ public class PcInventory extends Inventory
{
item.giveSkillsToOwner();
item.applyEnchantStats();
item.applySoulCrystalOptionEffect();
}
}
}

View File

@ -115,6 +115,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable
private final int _itemId;
private final int _displayId;
private final String _name;
private final String _additionalName;
private final String _icon;
private final int _weight;
private final boolean _stackable;
@ -175,6 +176,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable
_itemId = set.getInt("item_id");
_displayId = set.getInt("displayId", _itemId);
_name = set.getString("name");
_additionalName = set.getString("additionalName", null);
_icon = set.getString("icon", null);
_weight = set.getInt("weight", 0);
_materialType = set.getEnum("material", MaterialType.class, MaterialType.STEEL);
@ -537,6 +539,14 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable
return _name;
}
/**
* @return the item's additional name.
*/
public String getAdditionalName()
{
return _additionalName;
}
/**
* @return the base elemental of the item.
*/

View File

@ -19,6 +19,7 @@ package com.l2jmobius.gameserver.model.items;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
import com.l2jmobius.gameserver.model.items.type.CrystalType;
import com.l2jmobius.gameserver.model.items.type.ItemType;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
/**
* This class contains L2ItemInstance<BR>
@ -62,6 +63,9 @@ public class L2WarehouseItem
private final int _time;
private SoulCrystalOption[] _commonSoulCrystalOptions;
private SoulCrystalOption _specialSoulCrystalOption;
public L2WarehouseItem(L2ItemInstance item)
{
_item = item.getItem();
@ -92,6 +96,9 @@ public class L2WarehouseItem
_elemDefAttr[i] = item.getElementDefAttr(i);
}
_enchantOptions = item.getEnchantOptions();
_commonSoulCrystalOptions = item.getCommonSoulCrystalOptions();
_specialSoulCrystalOption = item.getSpecialSoulCrystalOption();
}
/**
@ -286,6 +293,26 @@ public class L2WarehouseItem
return _time;
}
public SoulCrystalOption[] getCommonSoulCrystalOptions()
{
return _commonSoulCrystalOptions;
}
public void setSoulCrystalOptions(SoulCrystalOption[] options)
{
_commonSoulCrystalOptions = options;
}
public SoulCrystalOption getSpecialSoulCrystalOption()
{
return _specialSoulCrystalOption;
}
public void setSpecialSoulCrystalOption(SoulCrystalOption option)
{
_specialSoulCrystalOption = option;
}
/**
* @return the name of the item
*/

View File

@ -38,6 +38,7 @@ import com.l2jmobius.gameserver.ThreadPoolManager;
import com.l2jmobius.gameserver.data.xml.impl.AppearanceItemData;
import com.l2jmobius.gameserver.data.xml.impl.EnchantItemOptionsData;
import com.l2jmobius.gameserver.data.xml.impl.OptionData;
import com.l2jmobius.gameserver.data.xml.impl.SoulCrystalOptionsData;
import com.l2jmobius.gameserver.datatables.ItemTable;
import com.l2jmobius.gameserver.enums.InstanceType;
import com.l2jmobius.gameserver.enums.ItemLocation;
@ -77,6 +78,7 @@ import com.l2jmobius.gameserver.model.options.Options;
import com.l2jmobius.gameserver.model.stats.functions.AbstractFunction;
import com.l2jmobius.gameserver.model.variables.ItemVariables;
import com.l2jmobius.gameserver.network.SystemMessageId;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
import com.l2jmobius.gameserver.network.serverpackets.DropItem;
import com.l2jmobius.gameserver.network.serverpackets.ExAdenaInvenCount;
import com.l2jmobius.gameserver.network.serverpackets.ExUserInfoEquipSlot;
@ -132,6 +134,10 @@ public final class L2ItemInstance extends L2Object
/** Augmented Item */
private L2Augmentation _augmentation = null;
/** Soul Crystal **/
private SoulCrystalOption[] _commonSoulCrystalOptions = new SoulCrystalOption[2];
private SoulCrystalOption _specialSoulCrystalOption;
/** Shadow item */
private int _mana = -1;
private boolean _consumingMana = false;
@ -1554,6 +1560,11 @@ public final class L2ItemInstance extends L2Object
if (inst.isEquipable())
{
inst.restoreAttributes();
if (inst.isWeapon())
{
inst.restoreSoulCrystalOptions();
}
}
return inst;
@ -1731,6 +1742,7 @@ public final class L2ItemInstance extends L2Object
{
updateItemElements(con);
}
// TODO: Soul Crystal
}
catch (Exception e)
{
@ -1771,6 +1783,12 @@ public final class L2ItemInstance extends L2Object
ps.setInt(1, getObjectId());
ps.executeUpdate();
}
try (PreparedStatement ps = con.prepareStatement("DELETE FROM item_soulcrystal WHERE object_id = ?"))
{
ps.setInt(1, getObjectId());
ps.executeUpdate();
}
}
catch (Exception e)
{
@ -2359,4 +2377,167 @@ public final class L2ItemInstance extends L2Object
{
return isWeapon() || isArmor();
}
public SoulCrystalOption[] getCommonSoulCrystalOptions()
{
return _commonSoulCrystalOptions;
}
public SoulCrystalOption getSpecialSoulCrystalOption()
{
return _specialSoulCrystalOption;
}
public void setCommonSoulCrystalOptions(SoulCrystalOption[] options)
{
_commonSoulCrystalOptions = options;
}
public void addCommonSoulCrystalOption(SoulCrystalOption option)
{
if ((isEquipped()) && (_commonSoulCrystalOptions[option.getSlot() - 1] != null) && (getActingPlayer() != null))
{
getActingPlayer().removeSkill(_commonSoulCrystalOptions[option.getSlot() - 1].getSkill(), true);
}
_commonSoulCrystalOptions[option.getSlot() - 1] = option;
}
public void setSpecialSoulCrystalOption(SoulCrystalOption special)
{
if ((isEquipped()) && (_specialSoulCrystalOption != null) && (getActingPlayer() != null))
{
getActingPlayer().removeSkill(_specialSoulCrystalOption.getSkill(), true);
}
_specialSoulCrystalOption = special;
}
public void addSoulCrystalOption(SoulCrystalOption option)
{
try (Connection con = DatabaseFactory.getInstance().getConnection())
{
if (insertSoulCrystalOption(con, option))
{
if (!option.isSpecial())
{
addCommonSoulCrystalOption(option);
}
else
{
setSpecialSoulCrystalOption(option);
}
applySoulCrystalOptionEffect();
}
}
catch (SQLException e)
{
_log.log(Level.SEVERE, "Could not insert soul crystal option for item: " + this + " from DB:", e);
}
}
private boolean insertSoulCrystalOption(Connection con, SoulCrystalOption option)
{
boolean result = true;
try (PreparedStatement ps = con.prepareStatement("INSERT INTO item_soulcrystal VALUES (?,?,?,?) ON DUPLICATE KEY UPDATE effect_id = ?"))
{
ps.setInt(1, getObjectId());
ps.setInt(2, option.getSlot());
ps.setBoolean(3, option.isSpecial()); // special or not
ps.setInt(4, option.getEffect());
ps.setInt(5, option.getEffect());
ps.executeUpdate();
ps.close();
}
catch (SQLException e)
{
result = false;
_log.log(Level.SEVERE, "Could not insert soul crystal option for item: " + this + " from DB:", e);
}
return result;
}
public void restoreSoulCrystalOptions()
{
try (Connection con = DatabaseFactory.getInstance().getConnection();
PreparedStatement statement = con.prepareStatement("SELECT effect_id, slot_id FROM item_soulcrystal WHERE object_id=? ORDER BY object_id, effect_id, slot_id ASC");)
{
statement.setInt(1, getObjectId());
try (ResultSet rs = statement.executeQuery())
{
while (rs.next())
{
final int effect_id = rs.getInt("effect_id");
final int slot_id = rs.getInt("slot_id");
if (effect_id != 0)
{
SoulCrystalOption sco = SoulCrystalOptionsData.getInstance().getByEffectId(effect_id);
sco.setSlot(slot_id);
if (sco.isSpecial())
{
setSpecialSoulCrystalOption(sco);
}
else
{
addCommonSoulCrystalOption(sco);
}
}
}
applySoulCrystalOptionEffect();
}
statement.close();
}
catch (Exception e)
{
_log.log(Level.SEVERE, "Could not restore soul crystal data for item " + this + " from DB: " + e.getMessage(), e);
}
}
public void applySoulCrystalOptionEffect()
{
L2PcInstance owner = getActingPlayer();
if ((owner == null) || (!isEquipped()))
{
return;
}
for (SoulCrystalOption sco : getCommonSoulCrystalOptions())
{
if (sco != null)
{
owner.addSkill(sco.getSkill(), false);
}
}
if (getSpecialSoulCrystalOption() != null)
{
owner.addSkill(getSpecialSoulCrystalOption().getSkill(), false);
}
owner.sendSkillList();
}
public void removeSoulCrystalOptionEffect()
{
L2PcInstance owner = getActingPlayer();
if ((owner == null) || (isEquipped()))
{
return;
}
for (SoulCrystalOption sco : getCommonSoulCrystalOptions())
{
if (sco != null)
{
owner.removeSkill(sco.getSkill(), false);
}
}
if (getSpecialSoulCrystalOption() != null)
{
owner.removeSkill(getSpecialSoulCrystalOption().getSkill(), false);
}
owner.sendSkillList();
}
}

View File

@ -57,6 +57,7 @@ import com.l2jmobius.gameserver.network.clientpackets.crystalization.RequestCrys
import com.l2jmobius.gameserver.network.clientpackets.dailymission.RequestOneDayRewardReceive;
import com.l2jmobius.gameserver.network.clientpackets.dailymission.RequestTodoList;
import com.l2jmobius.gameserver.network.clientpackets.dailymission.RequestTodoListHTML;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.RequestItemEnsoul;
import com.l2jmobius.gameserver.network.clientpackets.friend.RequestAnswerFriendInvite;
import com.l2jmobius.gameserver.network.clientpackets.friend.RequestFriendDel;
import com.l2jmobius.gameserver.network.clientpackets.friend.RequestFriendDetailInfo;
@ -2614,7 +2615,7 @@ public final class L2GamePacketHandler implements IPacketHandler<L2GameClient>,
}
case 0x107:
{
// msg = new RequestItemEnsoul();
msg = new RequestItemEnsoul();
break;
}
case 0x108:

View File

@ -0,0 +1,275 @@
/*
* 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 com.l2jmobius.gameserver.network.clientpackets.ensoul;
import com.l2jmobius.gameserver.data.xml.impl.SoulCrystalOptionsData;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
import com.l2jmobius.gameserver.model.items.type.CrystalType;
import com.l2jmobius.gameserver.network.clientpackets.L2GameClientPacket;
import com.l2jmobius.gameserver.network.serverpackets.ExUserInfoInvenWeight;
import com.l2jmobius.gameserver.network.serverpackets.InventoryUpdate;
import com.l2jmobius.gameserver.network.serverpackets.ensoul.ExEnsoulResult;
/**
* @author Mathael
*/
public class RequestItemEnsoul extends L2GameClientPacket
{
private static final String _C__D0_107_REQUESTITEMENSOUL = "[C] D0:107 RequestItemEnsoul";
private static final int GEMSTONE_C = 2131;
private static final int GEMSTONE_B = 2132;
private static final int GEMSTONE_A = 2133;
private static final int GEMSTONE_S = 2134;
private static final int GEMSTONE_R = 19440;
private int _objectId;
private final SoulCrystalOption[] _common = new SoulCrystalOption[2]; // client can accept more.
private SoulCrystalOption _special; // client can accept more.
@Override
protected void readImpl()
{
_objectId = readD(); // weapon object id
final int changeCnt = readC();
for (int i = 0; i < changeCnt; i++)
{
final boolean special = readC() == 2; // Ensoul Type 1 = Common Soul Crystal ; 2 = Special Soul Crystal
final int slot = readC(); // [1,2] => Common slots ; [1] => Special slots
final int SCObjectId = readD(); // Soul Crystal objectId
final int effectId = readD(); // EffectId
SoulCrystalOption sco = SoulCrystalOptionsData.getInstance().getByEffectId(effectId);
sco.setSoulCrystalObjectId(SCObjectId);
sco.setSpecial(special);
sco.setSlot(slot);
if (sco.isSpecial())
{
_special = sco;
}
else
{
_common[sco.getSlot() - 1] = sco;
}
}
}
@Override
protected void runImpl()
{
// You can add a Soul Crystal effect to weapon via any Blacksmith in any township.
// There's no limit for Soul Crystal levels depending on your weapon grade.
// To weapon grade C-S80 you can apply 1 common Soul Crystal and 1 special Soul Crystal.
// To weapon grade R-R99 you can apply 2 common Soul Crystals and 1 special Soul Crystal.
// Source: https://l2wiki.com/Special_Abilities#Special_Abilities
final L2PcInstance activeChar = getClient().getActiveChar();
if (activeChar == null)
{
return;
}
final L2ItemInstance targetItem = activeChar.getInventory().getItemByObjectId(_objectId);
if (targetItem == null)
{
activeChar.sendPacket(ExEnsoulResult.FAILED);
return;
}
for (SoulCrystalOption sco : _common)
{
if (sco != null)
{
final L2ItemInstance soulcrystal = activeChar.getInventory().getItemByObjectId(sco.getSoulCrystalObjectId());
final boolean changing = targetItem.getCommonSoulCrystalOptions()[sco.getSlot() - 1] != null;
if (!checkAndConsume(activeChar, soulcrystal, targetItem, changing, false))
{
activeChar.sendPacket(ExEnsoulResult.FAILED);
return;
}
targetItem.addSoulCrystalOption(sco);
}
}
if (_special != null)
{
final L2ItemInstance specialsoulcrystal = activeChar.getInventory().getItemByObjectId(_special.getSoulCrystalObjectId());
final boolean changing = targetItem.getSpecialSoulCrystalOption() != null;
if (!checkAndConsume(activeChar, specialsoulcrystal, targetItem, changing, true))
{
activeChar.sendPacket(ExEnsoulResult.FAILED);
return;
}
targetItem.addSoulCrystalOption(_special);
}
activeChar.sendPacket(new ExEnsoulResult(1, targetItem.getCommonSoulCrystalOptions(), targetItem.getSpecialSoulCrystalOption()));
final InventoryUpdate iu = new InventoryUpdate();
iu.addModifiedItem(targetItem);
activeChar.sendPacket(iu);
activeChar.sendPacket(new ExUserInfoInvenWeight(activeChar));
}
private static final boolean checkAndConsume(L2PcInstance activeChar, L2ItemInstance soulcrystal, L2ItemInstance targetItem, boolean changing, boolean special)
{
final CrystalType targetItemGrade = targetItem.getItem().getCrystalType();
final int gemstoneId = getGemStoneId(targetItemGrade);
final long count = getGemstoneCount(targetItemGrade, targetItem.getCommonSoulCrystalOptions().length > 0, changing, special);
if ((gemstoneId == 0) || (count == 0))
{
return false;
}
if (changing && !special && !available2xCommonOption(targetItemGrade))
{
return false;
}
if ((soulcrystal == null) || (activeChar.getInventory().getInventoryItemCount(soulcrystal.getId(), -1) < 1))
{
return false;
}
if (activeChar.getInventory().getInventoryItemCount(gemstoneId, -1) < count)
{
return false;
}
if (!activeChar.destroyItem("RequestItemEnsoul", soulcrystal, 1, activeChar, true))
{
return false;
}
if (!activeChar.destroyItemByItemId("RequestItemEnsoul", gemstoneId, count, activeChar, true))
{
return false;
}
return true;
}
private static final long getGemstoneCount(CrystalType itemGrade, boolean price2x, boolean changing, boolean special)
{
switch (itemGrade)
{
case C:
{
return changing ? special ? 30 : 89 : special ? 60 : 177;
}
case B:
{
return changing ? special ? 19 : 56 : special ? 38 : 112;
}
case A:
{
return changing ? special ? 4 : 12 : special ? 8 : 24;
}
case S:
{
return changing ? special ? 4 : 10 : special ? 7 : 19;
}
case S80:
case S84:
{
return changing ? special ? 8 : 24 : special ? 16 : 48;
}
case R:
{
return changing ? special ? 4 : 10 : special ? 7 : price2x ? 40 : 20;
}
case R95:
{
return changing ? special ? 6 : 65 : special ? 11 : price2x ? 1249 : 129;
}
case R99:
{
return changing ? special ? 8 : 168 : special ? 16 : price2x ? 5266 : 335;
}
default:
{
return 0;
}
}
}
private static final int getGemStoneId(CrystalType itemGrade)
{
switch (itemGrade)
{
case C:
{
return GEMSTONE_C;
}
case B:
{
return GEMSTONE_B;
}
case A:
{
return GEMSTONE_A;
}
case S:
case S80:
case S84:
{
return GEMSTONE_S;
}
case R:
case R95:
case R99:
{
return GEMSTONE_R;
}
default:
{
return 0;
}
}
}
private static final boolean available2xCommonOption(CrystalType ct)
{
switch (ct)
{
case R:
case R95:
case R99:
{
return true;
}
default:
{
return false;
}
}
}
@Override
public String getType()
{
return _C__D0_107_REQUESTITEMENSOUL;
}
}

View File

@ -0,0 +1,95 @@
/*
* 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 com.l2jmobius.gameserver.network.clientpackets.ensoul;
import com.l2jmobius.gameserver.model.holders.SkillHolder;
import com.l2jmobius.gameserver.model.skills.Skill;
/**
* @author Mathael
*/
public class SoulCrystalOption
{
private int _objectId;
private int _effect;
private boolean _special;
private int _slot;
private SkillHolder _skill;
public SoulCrystalOption(int effect, boolean special, SkillHolder skill)
{
setSoulCrystalObjectId(0);
setSpecial(special);
setEffect(effect);
setSkill(skill);
}
public int getSoulCrystalObjectId()
{
return _objectId;
}
public void setSoulCrystalObjectId(int soulCrystalObjectId)
{
_objectId = soulCrystalObjectId;
}
public int getEffect()
{
return _effect;
}
private void setEffect(int effect)
{
_effect = effect;
}
public void setSlot(int slot)
{
_slot = slot;
}
public int getSlot()
{
return _slot;
}
public boolean isSpecial()
{
return _special;
}
public void setSpecial(boolean special)
{
_special = special;
}
public SkillHolder getSkillHolder()
{
return _skill;
}
public Skill getSkill()
{
return _skill.getSkill();
}
private void setSkill(SkillHolder skill)
{
_skill = skill;
}
}

View File

@ -23,6 +23,7 @@ import com.l2jmobius.gameserver.model.buylist.Product;
import com.l2jmobius.gameserver.model.itemcontainer.PcInventory;
import com.l2jmobius.gameserver.model.items.L2WarehouseItem;
import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
/**
* @author UnAfraid
@ -116,6 +117,10 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
{
writeD(item.getVisualId()); // Item remodel visual ID
}
if (containsMask(mask, ItemListType.SOUL_CRYSTAL))
{
writeItemSoulCrystalOptions(item);
}
}
protected static final int calculateMask(ItemInfo item)
@ -158,6 +163,24 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
{
mask |= ItemListType.VISUAL_ID.getMask();
}
if ((item.getCommonSoulCrystalOptions().length != 0) || (item.getSpecialSoulCrystalOption() != null))
{
for (SoulCrystalOption sco : item.getCommonSoulCrystalOptions())
{
if (sco != null)
{
mask |= ItemListType.SOUL_CRYSTAL.getMask();
break;
}
}
if (item.getSpecialSoulCrystalOption() != null)
{
mask |= ItemListType.SOUL_CRYSTAL.getMask();
}
}
return mask;
}
@ -217,4 +240,31 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
writeC(0);
writeC(0);
}
protected void writeItemSoulCrystalOptions(ItemInfo item)
{
int count = 0;
for (SoulCrystalOption sc : item.getCommonSoulCrystalOptions())
{
if (sc != null)
{
count++;
}
}
writeC(count);
for (SoulCrystalOption sco : item.getCommonSoulCrystalOptions())
{
if (sco != null)
{
writeD(sco.getEffect());
}
}
writeC(item.getSpecialSoulCrystalOption() != null);
if (item.getSpecialSoulCrystalOption() != null)
{
writeD(item.getSpecialSoulCrystalOption().getEffect());
}
}
}

View File

@ -0,0 +1,82 @@
/*
* 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 com.l2jmobius.gameserver.network.serverpackets.ensoul;
import com.l2jmobius.gameserver.network.clientpackets.ensoul.SoulCrystalOption;
import com.l2jmobius.gameserver.network.serverpackets.L2GameServerPacket;
/**
* @author Mathael
*/
public class ExEnsoulResult extends L2GameServerPacket
{
public static final ExEnsoulResult FAILED = new ExEnsoulResult();
private final int _result;
private final SoulCrystalOption[] _commons;
private final SoulCrystalOption _special;
public ExEnsoulResult()
{
_result = 0;
_commons = null;
_special = null;
}
public ExEnsoulResult(int result, SoulCrystalOption[] commons, SoulCrystalOption special)
{
_result = result;
_commons = commons;
_special = special;
}
@Override
protected void writeImpl()
{
writeC(0xFE);
writeH(0x17F);
// Success (Yes or No)
writeC(_result);
// Primary special abilities
int count = 0;
for (SoulCrystalOption sc : _commons)
{
if (sc != null)
{
count++;
}
}
writeC(count);
for (SoulCrystalOption sc : _commons)
{
if (sc != null)
{
writeD(sc.getEffect());
}
}
// Secondary special abilities
writeC(_special != null);
if (_special != null)
{
writeD(_special.getEffect());
}
}
}

View File

@ -0,0 +1,35 @@
/*
* 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 com.l2jmobius.gameserver.network.serverpackets.ensoul;
import com.l2jmobius.gameserver.network.serverpackets.L2GameServerPacket;
public class ExShowEnsoulWindow extends L2GameServerPacket
{
public static final ExShowEnsoulWindow STATIC_PACKET = new ExShowEnsoulWindow();
public ExShowEnsoulWindow()
{
}
@Override
protected void writeImpl()
{
writeC(0xFE);
writeD(0x17E);
}
}