public class Transformed extends StatusBase
type
modifiers
Constructor and Description |
---|
Transformed(PixelmonWrapper user,
PixelmonWrapper target)
Copies target's attributes to user.
|
Modifier and Type | Method and Description |
---|---|
void |
applyBeforeEffect(PixelmonWrapper user,
PixelmonWrapper target)
Triggers when the Pokémon gains the status.
|
void |
applyEndOfBattleEffect(PixelmonWrapper pokemon)
Triggers when the battle ends.
|
static void |
applyToClientEntity(TransformPacket p) |
int[] |
modifyBaseStats(PixelmonWrapper user,
int[] stats)
Modifies the Pokémon's base stats at the beginning of a battle turn.
|
allowsStatChange, applyEffect, applyEffectOnSwitch, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public Transformed(PixelmonWrapper user, PixelmonWrapper target)
user
- Transform's user.target
- Pokémon that Transform copies.public static void applyToClientEntity(TransformPacket p)
public void applyBeforeEffect(PixelmonWrapper user, PixelmonWrapper target)
StatusBase
applyBeforeEffect
in class StatusBase
user
- The statused Pokémon.target
- The attack's target.public void applyEndOfBattleEffect(PixelmonWrapper pokemon)
StatusBase
applyEndOfBattleEffect
in class StatusBase
pokemon
- The statused Pokémon.public int[] modifyBaseStats(PixelmonWrapper user, int[] stats)
StatusBase
modifyBaseStats
in class StatusBase
user
- The Pokémon.stats
- The Pokémon's stats.