public class Heal extends BasePowerEffect
| Constructor and Description |
|---|
Heal() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(PokemonCardState pokemon,
GameServerState server,
PlayerServerState player) |
boolean |
canActivate(PokemonCardState pokemon,
GameServerState server)
Passive ability does not have to override this.
|
void |
cleanUp(PokemonCardState pokemon,
GameServerState server) |
java.util.List<CoinSide> |
flipCoin()
This function returns all necessary coin flip results.
|
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, getCode, getCustomGUI, getEnergyEquivalence, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHandpublic boolean isEnabled(PokemonCardState pokemon, GameClientState client)
BasePowerEffectisEnabled in class BasePowerEffectpublic java.util.List<CoinSide> flipCoin()
BasePowerEffectflipCoin in class BasePowerEffectpublic CardSelectorState getSelectorState(PokemonCardState pokemon, GameServerState server)
getSelectorState in class BasePowerEffectpublic boolean canActivate(PokemonCardState pokemon, GameServerState server)
BasePowerEffectcanActivate in class BasePowerEffectpublic void activate(PokemonCardState pokemon, GameServerState server, PlayerServerState player)
activate in class BasePowerEffectpublic void cleanUp(PokemonCardState pokemon, GameServerState server)
cleanUp in class BasePowerEffect