public abstract class SpecialAttackBase extends EffectBase
modifiers
Constructor and Description |
---|
SpecialAttackBase() |
Modifier and Type | Method and Description |
---|---|
void |
applyAfterEffect(PixelmonWrapper user)
Fires after the moves functionality has completed, after damage, etc.
|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
AttackResult |
applyEffectDuring(PixelmonWrapper user,
PixelmonWrapper target)
Causes effects before move connects.
|
boolean |
cantMiss(PixelmonWrapper user)
Determines whether a move cannot miss.
|
boolean |
ignoresWeather(PixelmonWrapper pw)
Has the move ignore weather effects.
|
float |
modifyPriority(PixelmonWrapper pw)
Changes the move's priority.
|
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public AttackResult applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target)
user
- The move's user.target
- The move's target.public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
applyEffect
in class EffectBase
user
- The move's user.target
- The move's target.public void applyAfterEffect(PixelmonWrapper user)
user
- - The user of the move.public boolean cantMiss(PixelmonWrapper user)
EffectBase
cantMiss
in class EffectBase
user
- The move's user.public float modifyPriority(PixelmonWrapper pw)
pw
- The move's user.public boolean ignoresWeather(PixelmonWrapper pw)
pw
- The move's user.