Addition of WeaponAttackAngleBonus effect.
Contributed by nasseka.
This commit is contained in:
@@ -401,6 +401,7 @@ public class EffectMasterHandler
|
||||
EffectHandler.getInstance().registerHandler("VitalityExpRate", VitalityExpRate::new);
|
||||
EffectHandler.getInstance().registerHandler("VitalityPointsRate", VitalityPointsRate::new);
|
||||
EffectHandler.getInstance().registerHandler("VitalityPointUp", VitalityPointUp::new);
|
||||
EffectHandler.getInstance().registerHandler("WeaponAttackAngleBonus", WeaponAttackAngleBonus::new);
|
||||
EffectHandler.getInstance().registerHandler("WeightLimit", WeightLimit::new);
|
||||
EffectHandler.getInstance().registerHandler("WeightPenalty", WeightPenalty::new);
|
||||
EffectHandler.getInstance().registerHandler("WorldChatPoints", WorldChatPoints::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 NasSeKa
|
||||
*/
|
||||
public class WeaponAttackAngleBonus extends AbstractStatAddEffect
|
||||
{
|
||||
public WeaponAttackAngleBonus(StatSet params)
|
||||
{
|
||||
super(params, Stat.WEAPON_ATTACK_ANGLE_BONUS);
|
||||
}
|
||||
}
|
@@ -140,7 +140,7 @@
|
||||
<operateType>A2</operateType>
|
||||
<hitTime>2000</hitTime>
|
||||
<coolTime>200</coolTime>
|
||||
<reuseDelay>300000</reuseDelay>
|
||||
<reuseDelay>30000</reuseDelay>
|
||||
<effectPoint>673</effectPoint>
|
||||
<mpConsume>32</mpConsume>
|
||||
<abnormalLevel>1</abnormalLevel>
|
||||
@@ -160,6 +160,20 @@
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="WeaponAttackAngleBonus">
|
||||
<amount>360</amount>
|
||||
<mode>DIFF</mode>
|
||||
<weaponType>
|
||||
<item>POLE</item>
|
||||
</weaponType>
|
||||
</effect>
|
||||
<effect name="HitNumber">
|
||||
<amount>100</amount>
|
||||
<mode>DIFF</mode>
|
||||
<weaponType>
|
||||
<item>POLE</item>
|
||||
</weaponType>
|
||||
</effect>
|
||||
<effect name="PhysicalAttackRange">
|
||||
<amount>100</amount>
|
||||
<mode>DIFF</mode>
|
||||
@@ -198,6 +212,20 @@
|
||||
</condition>
|
||||
</conditions>
|
||||
<effects>
|
||||
<effect name="WeaponAttackAngleBonus">
|
||||
<amount>360</amount>
|
||||
<mode>DIFF</mode>
|
||||
<weaponType>
|
||||
<item>POLE</item>
|
||||
</weaponType>
|
||||
</effect>
|
||||
<effect name="HitNumber">
|
||||
<amount>100</amount>
|
||||
<mode>DIFF</mode>
|
||||
<weaponType>
|
||||
<item>POLE</item>
|
||||
</weaponType>
|
||||
</effect>
|
||||
<effect name="PhysicalAttackRange">
|
||||
<amount>100</amount>
|
||||
<mode>DIFF</mode>
|
||||
|
@@ -368,6 +368,7 @@ VampiricDefence: Resist stat towards VampiricAttack
|
||||
VitalityExpRate: Sets the vitality exp rate. (l2jmobius)
|
||||
VitalityPointsRate: Vitality points consume rate.
|
||||
VitalityPointUp: Increases vitality points.
|
||||
WeaponAttackAngleBonus: Additional range for weapon attack angle. (l2jmobius)
|
||||
WeightLimit: Maximum weight stat.
|
||||
WeightPenalty: Weight penalty level stat.
|
||||
WorldChatPoints: Modify world chat points to use per day.
|
||||
|
Reference in New Issue
Block a user