Package com.pixelmonmod.tcg.duel.power
Class Bounce
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.Bounce
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(PokemonCardState pokemon, GameServerState server, PlayerServerState player) boolean
canActivate
(PokemonCardState pokemon, GameServerState server) Passive ability does not have to override this.boolean
isEnabled
(PokemonCardState pokemon, GameClientState client) Making sure that the non-passive ability can be activated.Methods inherited from class com.pixelmonmod.tcg.duel.power.BasePowerEffect
cleanUp, disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, getSelectorState, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
Bounce
public Bounce()
-
-
Method Details
-
isEnabled
Description copied from class:BasePowerEffect
Making sure that the non-passive ability can be activated. Checks for Sleep, Confused, Paralyzed- Overrides:
isEnabled
in classBasePowerEffect
- Returns:
-
canActivate
Description copied from class:BasePowerEffect
Passive ability does not have to override this.- Overrides:
canActivate
in classBasePowerEffect
- Returns:
-
activate
- Overrides:
activate
in classBasePowerEffect
-