Addition of ImmobileDamageBonus and ImmobileDamageResist effects.

This commit is contained in:
MobiusDevelopment
2020-02-29 14:22:31 +00:00
parent fb9482c8f6
commit a2134a55db
90 changed files with 1200 additions and 60 deletions

View File

@@ -178,6 +178,8 @@ public class EffectMasterHandler
EffectHandler.getInstance().registerHandler("HpRegen", HpRegen::new);
EffectHandler.getInstance().registerHandler("HpToOwner", HpToOwner::new);
EffectHandler.getInstance().registerHandler("IgnoreDeath", IgnoreDeath::new);
EffectHandler.getInstance().registerHandler("ImmobileDamageBonus", ImmobileDamageBonus::new);
EffectHandler.getInstance().registerHandler("ImmobileDamageResist", ImmobileDamageResist::new);
EffectHandler.getInstance().registerHandler("ImmobilePetBuff", ImmobilePetBuff::new);
EffectHandler.getInstance().registerHandler("InstantKillResist", InstantKillResist::new);
EffectHandler.getInstance().registerHandler("JewelSlot", JewelSlot::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;
/**
* Bonus damage to immobile targets.
* @author Mobius
*/
public class ImmobileDamageBonus extends AbstractStatPercentEffect
{
public ImmobileDamageBonus(StatSet params)
{
super(params, Stat.IMMOBILE_DAMAGE_BONUS);
}
}

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;
/**
* Resist damage while immobile.
* @author Mobius
*/
public class ImmobileDamageResist extends AbstractStatPercentEffect
{
public ImmobileDamageResist(StatSet params)
{
super(params, Stat.IMMOBILE_DAMAGE_RESIST);
}
}