Class IgnoreDefense
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.IgnoreDefense
Created by Jay113355 on 7/22/2020.
If a move has this marker, the targets defense and evasion stat changes will not be taken into effect.
Used by:
https://bulbapedia.bulbagarden.net/wiki/Chip_Away_(move)
https://bulbapedia.bulbagarden.net/wiki/Sacred_Sword_(move)
https://bulbapedia.bulbagarden.net/wiki/Darkest_Lariat_(move)
Ability that does the same thing:
https://bulbapedia.bulbagarden.net/wiki/Unaware_(Ability)
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffect(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.booleancantMiss(PixelmonWrapper user, PixelmonWrapper target) Determines whether a move cannot miss.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
IgnoreDefense
public IgnoreDefense()
-
-
Method Details
-
applyEffect
Causes various effects during the move.- Specified by:
applyEffectin classEffectBase- Parameters:
user- The move's user.target-
-
cantMiss
Determines whether a move cannot miss.- Specified by:
cantMissin classEffectBase- Parameters:
user- The move's user.target-- Returns:
- Whether the move can't miss.
-