Class AlwaysHit
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.AttackModifierBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.AlwaysHit
Makes the move ignore accuracy and evasion to always hit.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
cantMiss
(PixelmonWrapper user) Determines whether a move cannot miss.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.AttackModifierBase
applyEffect, applyEffectDuring
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
-
Field Details
-
weather
-
-
Constructor Details
-
AlwaysHit
Initializes the modifier.- Parameters:
values
- Indicates that the move only has perfect accuracy under certain weather conditions.
-
-
Method Details
-
cantMiss
Description copied from class:EffectBase
Determines whether a move cannot miss.- Overrides:
cantMiss
in classAttackModifierBase
- Parameters:
user
- The move's user.- Returns:
- Whether the move can't miss.
-