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

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

View File

@@ -157,6 +157,7 @@ HpCpHealCritical: HpCp heal effects always trigger Magic Critical Hit.
HpCpHeal: Increases current HP by a given amount. If the given amount exceeds maximum HP, it increases current CP with the rest value as well.
HpDrain: Magical attack that absorbs given percentage of the damage inflicted as HP.
Hp: Increases current HP by a static value.
HpLimit: Increase a character's max hp limit (l2jmobius)
HpRegen: HP Regeneration stat.
HpToOwner: DOT effect that absorbs HP over time.
IgnoreDeath: Become undying. Hp cannot decrease below 1.