Jewel slot fix.
Contributed by Sdw-.
This commit is contained in:
parent
a7db2a938b
commit
7cc21ab528
@ -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);
|
||||
|
31
trunk/dist/game/data/scripts/handlers/effecthandlers/JewelSlot.java
vendored
Normal file
31
trunk/dist/game/data/scripts/handlers/effecthandlers/JewelSlot.java
vendored
Normal file
@ -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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
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);
|
||||
}
|
||||
}
|
@ -763,10 +763,13 @@
|
||||
<set name="is_commissionable" val="false" />
|
||||
<set name="is_private_storeable" val="false" />
|
||||
<set name="weight" val="10" />
|
||||
<skills>
|
||||
<skill id="13659" level="1" /> <!-- La Vie En Rose's Radiant Brooch -->
|
||||
<skill id="13924" level="1" /> <!-- La Vie En Rose's Radiant Brooch -->
|
||||
</skills>
|
||||
<stats>
|
||||
<stat type="mDef">101</stat>
|
||||
<stat type="broochJewels">5</stat>
|
||||
<stat type="inventoryLimit">12</stat>
|
||||
<stat type="pAtkRange">40</stat>
|
||||
</stats>
|
||||
</item>
|
||||
<item id="26475" name="Radiant Gemstone Fragment" additionalName="" type="EtcItem">
|
||||
|
@ -355,11 +355,16 @@
|
||||
<operateType>P</operateType>
|
||||
</skill>
|
||||
<skill id="13659" toLevel="1" name="La Vie En Rose's Radiant Brooch">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- 5 Jewels can be equipped. -->
|
||||
<icon>icon.etc_bm_brooch_lavianrose_i03</icon>
|
||||
<operateType>P</operateType>
|
||||
</skill>
|
||||
<!-- Updated to IO -->
|
||||
<!-- 5 Jewels can be equipped. -->
|
||||
<icon>icon.etc_bm_brooch_lavianrose_i03</icon>
|
||||
<operateType>P</operateType>
|
||||
<effects>
|
||||
<effect name="JewelSlot">
|
||||
<amount>5</amount>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
<skill id="13660" toLevel="1" name="Noble Top-grade Brooch">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- 6 Jewels can be equipped. -->
|
||||
|
@ -163,9 +163,15 @@
|
||||
<operateType>P</operateType>
|
||||
</skill>
|
||||
<skill id="13924" toLevel="1" name="La Vie En Rose's Radiant Brooch">
|
||||
<!-- AUTO GENERATED SKILL -->
|
||||
<!-- Expands inventory. -->
|
||||
<icon>icon.etc_bm_brooch_lavianrose_i03</icon>
|
||||
<operateType>P</operateType>
|
||||
</skill>
|
||||
<!-- Updated to IO -->
|
||||
<!-- Expands inventory. -->
|
||||
<icon>icon.etc_bm_brooch_lavianrose_i03</icon>
|
||||
<operateType>P</operateType>
|
||||
<effects>
|
||||
<effect name="EnlargeSlot">
|
||||
<amount>12</amount>
|
||||
<type>INVENTORY_NORMAL</type>
|
||||
</effect>
|
||||
</effects>
|
||||
</skill>
|
||||
</list>
|
||||
|
Loading…
Reference in New Issue
Block a user