Class Psystrike
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Psystrike
Psystrike uses the opponent's defense stat to reduce defense despite being a special attack.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
overridesDefendingStat
(PixelmonWrapper pw, PixelmonWrapper target) Changes the stat the target uses to defend.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority, shouldThawUser
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
-
Psystrike
public Psystrike()
-
-
Method Details
-
overridesDefendingStat
Description copied from class:SpecialAttackBase
Changes the stat the target uses to defend.- Overrides:
overridesDefendingStat
in classSpecialAttackBase
- Parameters:
pw
- The move's user.target
- The move's target.- Returns:
- Whether the target switches between using Defense and Special Defense.
-