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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEffect
(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.boolean
cantMiss
(PixelmonWrapper user) 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, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
IgnoreDefense
public IgnoreDefense()
-
-
Method Details
-
applyEffect
Causes various effects during the move.- Specified by:
applyEffect
in classEffectBase
- Parameters:
user
- The move's user.target
-
-
cantMiss
Determines whether a move cannot miss.- Specified by:
cantMiss
in classEffectBase
- Parameters:
user
- The move's user.- Returns:
- Whether the move can't miss.
-