Class SelfBoost
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SelfBoost
Created by Jay113355 on 2/17/2020.
Unlike
StatsEffect
and RaiseStats
this raises stats after the move
and only if the move was a success. It also interacts with stat-modifying abilities such as Simple and Contrary normally.
Used by the move Clanging Scales and its z-move Clangorous Soulblaze, as well as AncientPower-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Fires after the moves functionality has completed, after damage, etc.boolean
isUser()
Determines whether the move only affects the user.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority, overridesDefendingStat, shouldThawUser
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
SelfBoost
public SelfBoost()
-
-
Method Details
-
applyEffectAfterAllTargets
Fires after the moves functionality has completed, after damage, etc.- Overrides:
applyEffectAfterAllTargets
in classEffectBase
- Parameters:
user
- - The user of the move.
-
isUser
public boolean isUser()Description copied from class:EffectBase
Determines whether the move only affects the user.- Overrides:
isUser
in classEffectBase
- Returns:
- Whether the move only affects the user.
-