public class HayFever extends BasePowerEffect
Constructor and Description |
---|
HayFever() |
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.
|
CardSelectorState |
getSelectorState(PokemonCardState pokemon,
GameServerState server) |
boolean |
isEnabled(PokemonCardState pokemon,
GameClientState client)
Making sure that the non-passive ability can be activated.
|
cleanUp, 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