Addition of SkillBonusRange effect handler.
Contributed by nasseka.
This commit is contained in:
@@ -328,6 +328,7 @@ public class EffectMasterHandler
|
||||
EffectHandler.getInstance().registerHandler("ShieldDefenceRate", ShieldDefenceRate::new);
|
||||
EffectHandler.getInstance().registerHandler("ShotsBonus", ShotsBonus::new);
|
||||
EffectHandler.getInstance().registerHandler("SilentMove", SilentMove::new);
|
||||
EffectHandler.getInstance().registerHandler("SkillBonusRange", SkillBonusRange::new);
|
||||
EffectHandler.getInstance().registerHandler("SkillCriticalDamage", SkillCriticalDamage::new);
|
||||
EffectHandler.getInstance().registerHandler("SkillEvasion", SkillEvasion::new);
|
||||
EffectHandler.getInstance().registerHandler("SkillMastery", SkillMastery::new);
|
||||
|
31
L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/SkillBonusRange.java
vendored
Normal file
31
L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/effecthandlers/SkillBonusRange.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 org.l2jmobius.gameserver.model.StatSet;
|
||||
import org.l2jmobius.gameserver.model.stats.Stat;
|
||||
|
||||
/**
|
||||
* @author NasSeKa
|
||||
*/
|
||||
public class SkillBonusRange extends AbstractStatAddEffect
|
||||
{
|
||||
public SkillBonusRange(StatSet params)
|
||||
{
|
||||
super(params, Stat.MAGIC_ATTACK_RANGE);
|
||||
}
|
||||
}
|
@@ -1587,6 +1587,10 @@
|
||||
<amount>80</amount>
|
||||
<mode>DIFF</mode>
|
||||
</effect>
|
||||
<effect name="SkillBonusRange">
|
||||
<amount>80</amount>
|
||||
<mode>DIFF</mode>
|
||||
</effect>
|
||||
<effect name="DefenceCriticalDamage" fromLevel="1" toLevel="2" fromSubLevel="2001" toSubLevel="2020">
|
||||
<amount>
|
||||
<value fromLevel="1" toLevel="2" fromSubLevel="2001" toSubLevel="2020">{-1 - (subIndex - 1 * 0.5)}</value>
|
||||
|
Reference in New Issue
Block a user