Addition of HpLimit effect handler.

Contributed by dontknowdontcare.
This commit is contained in:
MobiusDevelopment
2022-03-19 01:41:52 +00:00
parent 49d468dcd4
commit 545d1d5a10
270 changed files with 4002 additions and 5985 deletions

View File

@@ -133,6 +133,7 @@ public class EffectMasterHandler
EffectHandler.getInstance().registerHandler("DispelBySlotMyself", DispelBySlotMyself::new);
EffectHandler.getInstance().registerHandler("DispelBySlotProbability", DispelBySlotProbability::new);
EffectHandler.getInstance().registerHandler("DoubleCast", DoubleCast::new);
EffectHandler.getInstance().registerHandler("DragonWeaponDefence", DragonWeaponDefence::new);
EffectHandler.getInstance().registerHandler("DuelistFury", DuelistFury::new);
EffectHandler.getInstance().registerHandler("EnableCloak", EnableCloak::new);
EffectHandler.getInstance().registerHandler("EnchantRate", EnchantRate::new);
@@ -181,6 +182,7 @@ public class EffectMasterHandler
EffectHandler.getInstance().registerHandler("HpCpHeal", HpCpHeal::new);
EffectHandler.getInstance().registerHandler("HpCpHealCritical", HpCpHealCritical::new);
EffectHandler.getInstance().registerHandler("HpDrain", HpDrain::new);
EffectHandler.getInstance().registerHandler("HpLimit", HpLimit::new);
EffectHandler.getInstance().registerHandler("HpRegen", HpRegen::new);
EffectHandler.getInstance().registerHandler("HpToOwner", HpToOwner::new);
EffectHandler.getInstance().registerHandler("IgnoreDeath", IgnoreDeath::new);

View 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 Mobius
*/
public class DragonWeaponDefence extends AbstractStatPercentEffect
{
public DragonWeaponDefence(StatSet params)
{
super(params, Stat.DRAGON_WEAPON_DEFENCE);
}
}

View 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 dontknowdontcare
*/
public class HpLimit extends AbstractStatEffect
{
public HpLimit(StatSet params)
{
super(params, Stat.HP_LIMIT);
}
}