Class ClearTerrain
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.ClearTerrain
- Direct Known Subclasses:
ClearTerrainPresent
Created by Jay113355 on 1/25/2019.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEffect
(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.boolean
cantMiss
(PixelmonWrapper user) Determines whether a move cannot miss.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
-
Constructor Details
-
ClearTerrain
public ClearTerrain()
-
-
Method Details
-
applyEffect
Description copied from class:EffectBase
Causes various effects during the move.- Specified by:
applyEffect
in classEffectBase
- Parameters:
user
- The move's user.target
- The move's target.
-
cantMiss
Description copied from class:EffectBase
Determines whether a move cannot miss.- Specified by:
cantMiss
in classEffectBase
- Parameters:
user
- The move's user.- Returns:
- Whether the move can't miss.
-