public static class AttackEvent.Stab extends AttackEvent
AttackEvent.CriticalHit, AttackEvent.Damage, AttackEvent.Recoil, AttackEvent.Stab, AttackEvent.TypeEffectiveness, AttackEvent.Use
Modifier and Type | Field and Description |
---|---|
double |
stabMultiplier
The multiplier for damage.
|
target, user
battleController
Constructor and Description |
---|
Stab(BattleController battleController,
PixelmonWrapper user,
PixelmonWrapper target,
double stabMultiplier) |
Modifier and Type | Method and Description |
---|---|
boolean |
isStabbing()
Returns
true if this attack will receive a STAB. |
void |
setStabbing(boolean stabbing) |
getAttack, isSelf
getBattleController
public Stab(BattleController battleController, PixelmonWrapper user, PixelmonWrapper target, double stabMultiplier)