public class DamageSwapEnemy extends BasePowerEffect
Constructor and Description |
---|
DamageSwapEnemy() |
Modifier and Type | Method and Description |
---|---|
void |
activate(PokemonCardState pokemon,
GameServerState server,
PlayerServerState player) |
boolean |
canActivate(PokemonCardState pokemon,
GameServerState client)
Passive ability does not have to override this.
|
void |
cleanUp(PokemonCardState pokemon,
GameServerState server) |
CardSelectorState |
getSelectorState(PokemonCardState pokemon,
GameServerState server) |
boolean |
isEnabled(PokemonCardState pokemon,
GameClientState client)
Making sure that the non-passive ability can be activated.
|
disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
public boolean isEnabled(PokemonCardState pokemon, GameClientState client)
BasePowerEffect
isEnabled
in class BasePowerEffect
public CardSelectorState getSelectorState(PokemonCardState pokemon, GameServerState server)
getSelectorState
in class BasePowerEffect
public boolean canActivate(PokemonCardState pokemon, GameServerState client)
BasePowerEffect
canActivate
in class BasePowerEffect
public void activate(PokemonCardState pokemon, GameServerState server, PlayerServerState player)
activate
in class BasePowerEffect
public void cleanUp(PokemonCardState pokemon, GameServerState server)
cleanUp
in class BasePowerEffect