public static class AttackEvent.Use extends AttackEvent
AttackEvent.CriticalHit, AttackEvent.Damage, AttackEvent.Recoil, AttackEvent.Stab, AttackEvent.TypeEffectiveness, AttackEvent.Use| Modifier and Type | Field and Description |
|---|---|
double |
accuracy |
ImmutableAttack |
attack |
boolean |
cantMiss |
target, userbattleController| Constructor and Description |
|---|
Use(BattleController battleController,
PixelmonWrapper user,
PixelmonWrapper target,
ImmutableAttack attack,
double accuracy,
boolean cantMiss) |
getAttack, isSelfgetBattleControllerpublic final ImmutableAttack attack
public double accuracy
public boolean cantMiss
public Use(BattleController battleController, PixelmonWrapper user, PixelmonWrapper target, ImmutableAttack attack, double accuracy, boolean cantMiss)