Class Counter
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.DamageReflect
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.Counter
Deals double damage back to the target if hit by a physical move.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.DamageReflect
multiplier
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCorrectCategory
(AttackCategory category) Checks if the attack category is able to be reflected by the move.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.DamageReflect
applyEffectDuring, weightEffect
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffect, 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, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance
-
Constructor Details
-
Counter
public Counter()Initializes Counter.
-
-
Method Details
-
isCorrectCategory
Description copied from class:DamageReflect
Checks if the attack category is able to be reflected by the move.- Specified by:
isCorrectCategory
in classDamageReflect
- Parameters:
category
- The category of the attack being used.- Returns:
- Whether the attack category is able to be reflected by the move.
-