Class ScaleShot
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.ScaleShot
Raises Speed by 1 but lowers Defense by 1 after attack doesn't miss a hit.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dealtDamage
(PixelmonWrapper attacker, PixelmonWrapper defender, Attack attack, DamageTypeEnum damageType) Triggers when an attacker deals 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, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Field Details
-
statChanges
protected static transient int[] statChanges -
changedStats
-
-
Constructor Details
-
ScaleShot
public ScaleShot()
-
-
Method Details
-
dealtDamage
public void dealtDamage(PixelmonWrapper attacker, PixelmonWrapper defender, Attack attack, DamageTypeEnum damageType) Description copied from class:EffectBase
Triggers when an attacker deals damage.- Overrides:
dealtDamage
in classEffectBase
- Parameters:
attacker
- The source of the damage.defender
- The target of the damage.attack
- The attack used by the attacker.damageType
- The type of damage that was dealt.
-