Package com.pixelmonmod.tcg.duel.power
Class Transform
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.Transform
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
disableEvolution
(PokemonCardState affecting, PokemonCardState pokemon, GameClientState client) Disable evolution of a particular Pokemonboolean
Rainbowfy energyboolean
Passive ability does not require activationboolean
onCondition
(PokemonCardState pokemon, PokemonCardState attacker, CardCondition cardCondition, GameServerState server) void
onPlay
(PokemonCardState newPokemon, PlayerCommonState playingPlayer, PokemonCardState pokemon, PlayerServerState player, GameServerState server) void
onStartGame
(PokemonCardState pokemon, GameServerState server) void
onSwitchActiveCard
(PokemonCardState newActive, PokemonCardState oldActive, PlayerCommonState switchingPlayer, PokemonCardState pokemon, PlayerServerState player, GameServerState server) Methods inherited from class com.pixelmonmod.tcg.duel.power.BasePowerEffect
activate, canActivate, cleanUp, disableEvolution, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, getSelectorState, holdParameters, isEnabled, onAttacked, onDamage, onEndTurn, retreatModifier, revealHand
-
Constructor Details
-
Transform
public Transform()
-
-
Method Details
-
isPassive
public boolean isPassive()Description copied from class:BasePowerEffect
Passive ability does not require activation- Overrides:
isPassive
in classBasePowerEffect
- Returns:
-
disableEvolution
public boolean disableEvolution(PokemonCardState affecting, PokemonCardState pokemon, GameClientState client) Description copied from class:BasePowerEffect
Disable evolution of a particular Pokemon- Overrides:
disableEvolution
in classBasePowerEffect
- Returns:
-
onCondition
public boolean onCondition(PokemonCardState pokemon, PokemonCardState attacker, CardCondition cardCondition, GameServerState server) - Overrides:
onCondition
in classBasePowerEffect
- Returns:
- False will cancel the effect
-
onPlay
public void onPlay(PokemonCardState newPokemon, PlayerCommonState playingPlayer, PokemonCardState pokemon, PlayerServerState player, GameServerState server) - Overrides:
onPlay
in classBasePowerEffect
-
onStartGame
- Overrides:
onStartGame
in classBasePowerEffect
-
onSwitchActiveCard
public void onSwitchActiveCard(PokemonCardState newActive, PokemonCardState oldActive, PlayerCommonState switchingPlayer, PokemonCardState pokemon, PlayerServerState player, GameServerState server) - Overrides:
onSwitchActiveCard
in classBasePowerEffect
-
ignoreEnergyTypes
public boolean ignoreEnergyTypes()Description copied from class:BasePowerEffect
Rainbowfy energy- Overrides:
ignoreEnergyTypes
in classBasePowerEffect
- Returns:
-