Class SuperEffectiveBoost
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SuperEffectiveBoost
Boosts the damage of super-effective moves by 1.333x
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
modifyDamage
(int damage, PixelmonWrapper source, PixelmonWrapper target, Attack a) Triggers when the Pokémon deals direct damage.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, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
SuperEffectiveBoost
public SuperEffectiveBoost()
-
-
Method Details
-
modifyDamage
Description copied from class:EffectBase
Triggers when the Pokémon deals direct damage.- Overrides:
modifyDamage
in classEffectBase
- Parameters:
damage
- The amount of damage dealt.source
- The attack's user.target
- The attack's target.a
- The attack.- Returns:
- The modified damage.
-