public static class AttackEvent.Damage extends AttackEvent
AttackEvent.CriticalHit, AttackEvent.Damage, AttackEvent.Stab, AttackEvent.TypeEffectiveness, AttackEvent.Use
Modifier and Type | Field and Description |
---|---|
double |
damage
The amount of damage this will inflict.
|
target, user
Constructor and Description |
---|
Damage(PixelmonWrapper user,
PixelmonWrapper target,
double damage) |
Modifier and Type | Method and Description |
---|---|
boolean |
willBeFatal()
Returns
true if, using the current damage, the move will be fatal. |
getAttack, isSelf
public double damage
public Damage(PixelmonWrapper user, PixelmonWrapper target, double damage)