Package com.pixelmonmod.tcg.duel.power
Class DisableEvolution
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.DisableEvolution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
disableEvolution
(PokemonCardState pokemon, GameClientState client) Disable all evolution.boolean
disableEvolution
(PokemonCardState affecting, PokemonCardState pokemon, GameClientState client) Disable evolution of a particular Pokemonboolean
Passive ability does not require activationMethods inherited from class com.pixelmonmod.tcg.duel.power.BasePowerEffect
activate, canActivate, cleanUp, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, getSelectorState, holdParameters, ignoreEnergyTypes, isEnabled, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
DisableEvolution
public DisableEvolution()
-
-
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:
-
disableEvolution
Description copied from class:BasePowerEffect
Disable all evolution. NOTE: need to overwrite both disableEvolution function.- Overrides:
disableEvolution
in classBasePowerEffect
- Returns:
-