From 7cc21ab528eb28a9c018d11e08784def0274e711 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 27 Jun 2016 12:02:24 +0000 Subject: [PATCH] Jewel slot fix. Contributed by Sdw-. --- .../scripts/handlers/EffectMasterHandler.java | 1 + .../handlers/effecthandlers/JewelSlot.java | 31 +++++++++++++++++++ .../game/data/stats/items/26400-26499.xml | 7 +++-- .../game/data/stats/skills/13600-13699.xml | 15 ++++++--- .../game/data/stats/skills/13900-13999.xml | 16 +++++++--- 5 files changed, 58 insertions(+), 12 deletions(-) create mode 100644 trunk/dist/game/data/scripts/handlers/effecthandlers/JewelSlot.java diff --git a/trunk/dist/game/data/scripts/handlers/EffectMasterHandler.java b/trunk/dist/game/data/scripts/handlers/EffectMasterHandler.java index d834bbc7a9..b1284b800e 100644 --- a/trunk/dist/game/data/scripts/handlers/EffectMasterHandler.java +++ b/trunk/dist/game/data/scripts/handlers/EffectMasterHandler.java @@ -161,6 +161,7 @@ public final class EffectMasterHandler EffectHandler.getInstance().registerHandler("IgnoreDeath", IgnoreDeath::new); EffectHandler.getInstance().registerHandler("ImmobilePetBuff", ImmobilePetBuff::new); EffectHandler.getInstance().registerHandler("InstantKillResist", InstantKillResist::new); + EffectHandler.getInstance().registerHandler("JewelSlot", JewelSlot::new); EffectHandler.getInstance().registerHandler("KarmaCount", KarmaCount::new); EffectHandler.getInstance().registerHandler("KnockBack", KnockBack::new); EffectHandler.getInstance().registerHandler("Lethal", Lethal::new); diff --git a/trunk/dist/game/data/scripts/handlers/effecthandlers/JewelSlot.java b/trunk/dist/game/data/scripts/handlers/effecthandlers/JewelSlot.java new file mode 100644 index 0000000000..0f9216dc38 --- /dev/null +++ b/trunk/dist/game/data/scripts/handlers/effecthandlers/JewelSlot.java @@ -0,0 +1,31 @@ +/* + * 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 . + */ +package handlers.effecthandlers; + +import com.l2jmobius.gameserver.model.StatsSet; +import com.l2jmobius.gameserver.model.stats.Stats; + +/** + * @author Sdw + */ +public class JewelSlot extends AbstractStatAddEffect +{ + public JewelSlot(StatsSet params) + { + super(params, Stats.BROOCH_JEWELS); + } +} \ No newline at end of file diff --git a/trunk/dist/game/data/stats/items/26400-26499.xml b/trunk/dist/game/data/stats/items/26400-26499.xml index 60d7d27ae6..73d05afdfc 100644 --- a/trunk/dist/game/data/stats/items/26400-26499.xml +++ b/trunk/dist/game/data/stats/items/26400-26499.xml @@ -763,10 +763,13 @@ + + + + 101 - 5 - 12 + 40 diff --git a/trunk/dist/game/data/stats/skills/13600-13699.xml b/trunk/dist/game/data/stats/skills/13600-13699.xml index 03084b9d07..30558fab1a 100644 --- a/trunk/dist/game/data/stats/skills/13600-13699.xml +++ b/trunk/dist/game/data/stats/skills/13600-13699.xml @@ -355,11 +355,16 @@ P - - - icon.etc_bm_brooch_lavianrose_i03 - P - + + + icon.etc_bm_brooch_lavianrose_i03 + P + + + 5 + + + diff --git a/trunk/dist/game/data/stats/skills/13900-13999.xml b/trunk/dist/game/data/stats/skills/13900-13999.xml index 7caa6814a6..da330997f9 100644 --- a/trunk/dist/game/data/stats/skills/13900-13999.xml +++ b/trunk/dist/game/data/stats/skills/13900-13999.xml @@ -163,9 +163,15 @@ P - - - icon.etc_bm_brooch_lavianrose_i03 - P - + + + icon.etc_bm_brooch_lavianrose_i03 + P + + + 12 + INVENTORY_NORMAL + + +