Addition of DefenceSkillCriticalDamage effect.

This commit is contained in:
MobiusDevelopment
2020-10-24 13:06:49 +00:00
parent c8d6e8ac11
commit 0eaee80e63
45 changed files with 510 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ public class EffectMasterHandler
EffectHandler.getInstance().registerHandler("DefenceCriticalRate", DefenceCriticalRate::new);
EffectHandler.getInstance().registerHandler("DefenceMagicCriticalDamage", DefenceMagicCriticalDamage::new);
EffectHandler.getInstance().registerHandler("DefenceMagicCriticalRate", DefenceMagicCriticalRate::new);
EffectHandler.getInstance().registerHandler("DefenceSkillCriticalDamage", DefenceSkillCriticalDamage::new);
EffectHandler.getInstance().registerHandler("DefenceTrait", DefenceTrait::new);
EffectHandler.getInstance().registerHandler("DeleteHate", DeleteHate::new);
EffectHandler.getInstance().registerHandler("DeleteHateOfMe", DeleteHateOfMe::new);

View File

@@ -0,0 +1,32 @@
/*
* 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;
/**
* Equivalent of DefenceMagicCriticalDamage for physical skills.
* @author Mobius
*/
public class DefenceSkillCriticalDamage extends AbstractStatEffect
{
public DefenceSkillCriticalDamage(StatSet params)
{
super(params, Stat.DEFENCE_CRITICAL_DAMAGE_SKILL, Stat.DEFENCE_CRITICAL_DAMAGE_SKILL_ADD);
}
}