Class Struggle
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Struggle
Damages the user for 1/4 of its hp in recoil.
-
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.void
modifyTargets
(List<PixelmonWrapper> targets, Attack a, PixelmonWrapper user) Modifies the targets of a move.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority, overridesDefendingStat, 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, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
Struggle
public Struggle()
-
-
Method Details
-
modifyTargets
Description copied from class:EffectBase
Modifies the targets of a move.- Overrides:
modifyTargets
in classEffectBase
- Parameters:
targets
- The current targets of the attack.a
- The attack being used.user
- The Pokémon using the move.
-
applyEffect
Description copied from class:SpecialAttackBase
Causes various effects during the move.- Overrides:
applyEffect
in classSpecialAttackBase
- Parameters:
user
- The move's user.target
- The move's target.
-