Class Damage
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.AttackModifierBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.Damage
Deals a fixed amount of damage.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyEffectDuring
(PixelmonWrapper user, PixelmonWrapper target) Causes an effect during the move.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.attackModifiers.AttackModifierBase
applyEffect, cantMiss
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, weightEffect
-
Field Details
-
type
-
amount
public int amount
-
-
Constructor Details
-
Damage
-
-
Method Details
-
applyEffectDuring
Description copied from class:AttackModifierBase
Causes an effect during the move.- Overrides:
applyEffectDuring
in classAttackModifierBase
- Parameters:
user
- The move's usertarget
- The move's target- Returns:
- The result of the move
-