Addition of HpLimit effect handler.
Contributed by dontknowdontcare.
This commit is contained in:
@@ -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);
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user