Addition of AutoAttackDamageBonus effect.

Contributed by nasseka.
This commit is contained in:
MobiusDevelopment
2022-02-11 06:24:38 +00:00
parent c7a6edb614
commit 2a244f6cc4
117 changed files with 771 additions and 96 deletions

View File

@@ -52,6 +52,7 @@ public class EffectMasterHandler
EffectHandler.getInstance().registerHandler("AttackAttributeAdd", AttackAttributeAdd::new);
EffectHandler.getInstance().registerHandler("AttackBehind", AttackBehind::new);
EffectHandler.getInstance().registerHandler("AttackTrait", AttackTrait::new);
EffectHandler.getInstance().registerHandler("AutoAttackDamageBonus", AutoAttackDamageBonus::new);
EffectHandler.getInstance().registerHandler("Backstab", Backstab::new);
EffectHandler.getInstance().registerHandler("Betray", Betray::new);
EffectHandler.getInstance().registerHandler("Blink", Blink::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 NasSeKa
*/
public class AutoAttackDamageBonus extends AbstractStatPercentEffect
{
public AutoAttackDamageBonus(StatSet params)
{
super(params, Stat.AUTO_ATTACK_DAMAGE_BONUS);
}
}

View File

@@ -1529,14 +1529,9 @@
<AIRBIND>90</AIRBIND>
<AGGRESSION>90</AGGRESSION>
</effect>
<effect name="TriggerSkillByAttack">
<!-- Damage Up -->
<chance>100</chance>
<targetType>TARGET</targetType>
<affectScope>SINGLE</affectScope>
<minDamage>100</minDamage>
<skillId>30521</skillId> <!-- Reliable Hit -->
<skillLevel>1</skillLevel>
<effect name="AutoAttackDamageBonus">
<amount>400</amount>
<mode>PER</mode>
</effect>
<effect name="IgnoreDeath" />
<effect name="PAtk">

View File

@@ -21,6 +21,7 @@ AttackAttribute: Stat that increases specific attack attribute.
AttackAttributeAdd: Stat that increases all attack attribute.
AttackBehind: Enables all attacks regardless of position to land towards the back.
AttackTrait: Stat that manages all attack traits.
AutoAttackDamageBonus: Auto attack damage modifier. (l2jmobius)
Backstab: Inflicts physical damage according to the backstab formula.
Betray: Causes the target summon to attack its owner.
Blink: Teleport to location effect.