Class MirrorCoat
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.MirrorCoat
Deals double damage to the target if the user was hit by a special attack.
-
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
-
MirrorCoat
public MirrorCoat()Initializes Mirror Coat.
-
-
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.
-