public class MultipleHit extends AttackModifierBase
Modifier and Type | Field and Description |
---|---|
int |
maxHits |
int |
minHits |
modifiers
Constructor and Description |
---|
MultipleHit(Value... values)
Initializes the multi-hit move.
|
Modifier and Type | Method and Description |
---|---|
AttackResult |
applyEffectDuring(PixelmonWrapper user,
PixelmonWrapper target)
Causes an effect during the move.
|
boolean |
repeatsAttack()
Determines whether the attack will continue.
|
applyEffect, cantMiss
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public MultipleHit(Value... values)
values
- The minimum and maximum number of times the multi-hit move can hit.public boolean repeatsAttack()
public AttackResult applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target)
AttackModifierBase
applyEffectDuring
in class AttackModifierBase
user
- The move's usertarget
- The move's target