Addition of FatalBlowDefence effect.

Contributed by Sahar.
This commit is contained in:
MobiusDevelopment
2020-06-20 10:10:29 +00:00
parent 640840c2a3
commit cedd794473
81 changed files with 552 additions and 32 deletions

View File

@@ -138,6 +138,7 @@ public class EffectMasterHandler
EffectHandler.getInstance().registerHandler("FakeDeath", FakeDeath::new);
EffectHandler.getInstance().registerHandler("FatalBlow", FatalBlow::new);
EffectHandler.getInstance().registerHandler("FatalBlowRate", FatalBlowRate::new);
EffectHandler.getInstance().registerHandler("FatalBlowRateDefence", FatalBlowRateDefence::new);
EffectHandler.getInstance().registerHandler("Fear", Fear::new);
EffectHandler.getInstance().registerHandler("Feed", Feed::new);
EffectHandler.getInstance().registerHandler("FishingExpSpBonus", FishingExpSpBonus::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 Sahar
*/
public class FatalBlowRateDefence extends AbstractStatEffect
{
public FatalBlowRateDefence(StatSet params)
{
super(params, Stat.BLOW_RATE_DEFENCE);
}
}

View File

@@ -1383,8 +1383,8 @@
<abnormalLvl>
<value level="1">1</value>
<value level="2">2</value>
<value level="3">2</value> <!-- FIXME: AUTO GENERATED LEVEL -->
<value level="4">2</value> <!-- FIXME: AUTO GENERATED LEVEL -->
<value level="3">3</value>
<value level="4">4</value>
</abnormalLvl>
<abnormalTime>30</abnormalTime>
<abnormalType>REAL_TARGET</abnormalType>
@@ -1402,8 +1402,8 @@
<magicLvl>
<value level="1">78</value>
<value level="2">80</value>
<value level="3">80</value> <!-- FIXME: AUTO GENERATED LEVEL -->
<value level="4">80</value> <!-- FIXME: AUTO GENERATED LEVEL -->
<value level="3">80</value>
<value level="4">80</value>
</magicLvl>
<mpConsume>
<value level="1">55</value>
@@ -1420,8 +1420,8 @@
<BOW>
<value level="1">-12</value>
<value level="2">-16</value>
<value level="3">-16</value> <!-- FIXME: AUTO GENERATED LEVEL -->
<value level="4">-16</value> <!-- FIXME: AUTO GENERATED LEVEL -->
<value level="3">-20</value>
<value level="4">-24</value>
</BOW>
</effect>
</effects>
@@ -1718,7 +1718,6 @@
<condition name="EquipWeapon">
<weaponType>
<item>DUAL</item>
<item>DUALBLUNT</item>
</weaponType>
</condition>
</conditions>
@@ -1767,7 +1766,7 @@
<amount>10</amount>
<mode>PER</mode>
</effect>
<effect name="FatalBlowRate">
<effect name="FatalBlowRateDefence">
<amount>10</amount>
<mode>PER</mode>
</effect>
@@ -2981,10 +2980,6 @@
<overHit>true</overHit>
<chanceBoost>200</chanceBoost>
</effect>
<effect name="Lethal">
<fullLethal>0</fullLethal>
<halfLethal>10</halfLethal>
</effect>
</effects>
</skill>
<skill id="581" toLevel="4" name="Sand Cloud">

View File

@@ -109,6 +109,7 @@ Faceoff: Focuses attacking a given target with all other damage blocked.
FakeDeath: Plays dead to avoid enemy NPC aggression.
FatalBlow: Physical attack based on blow formula. Deadly Blow, Lethal Blow etc.
FatalBlowRate: Blow land rate stat.
FatalBlowRateDefence: Blow land rate defence stat. (l2jmobius)
Fear: Causes the target to run away. Does not block it though.
Feed: Gives food to pet.
FishingExpSpBonus: Bonus Exp and SP from fishing. (l2jmobius)