public static class AttackEvent.CriticalHit extends AttackEvent
AttackEvent.CriticalHit, AttackEvent.Damage, AttackEvent.Stab, AttackEvent.TypeEffectiveness, AttackEvent.Use
Modifier and Type | Field and Description |
---|---|
double |
critMultiplier
The multiplier for damage.
|
target, user
Constructor and Description |
---|
CriticalHit(PixelmonWrapper user,
PixelmonWrapper target,
double critMultiplier) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCrit()
Returns
true if this attack will receive a STAB. |
void |
setCrit(boolean crit) |
getAttack, isSelf
public CriticalHit(PixelmonWrapper user, PixelmonWrapper target, double critMultiplier)