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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanoverridesDefendingStat(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, shouldThawUserMethods 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
-
Psystrike
public Psystrike()
-
-
Method Details
-
overridesDefendingStat
Description copied from class:SpecialAttackBaseChanges the stat the target uses to defend.- Overrides:
overridesDefendingStatin classSpecialAttackBase- Parameters:
pw- The move's user.target- The move's target.- Returns:
- Whether the target switches between using Defense and Special Defense.
-