public static class AttackEvent.Damage extends AttackEvent
AttackEvent.CriticalHit, AttackEvent.Damage, AttackEvent.Recoil, AttackEvent.Stab, AttackEvent.TypeEffectiveness, AttackEvent.Use| Modifier and Type | Field and Description |
|---|---|
double |
damage
The amount of damage this will inflict.
|
target, userbattleController| Constructor and Description |
|---|
Damage(BattleController battleController,
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, isSelfgetBattleControllerpublic double damage
public Damage(BattleController battleController, PixelmonWrapper user, PixelmonWrapper target, double damage)