Package com.pixelmonmod.tcg.duel.power
Class LongDistanceHypnosis
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.LongDistanceHypnosis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(PokemonCardState pokemon, GameServerState server, PlayerServerState player) boolean
canActivate
(PokemonCardState pokemon, GameServerState client) Passive ability does not have to override this.getSelectorState
(PokemonCardState pokemon, GameServerState server) 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, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
LongDistanceHypnosis
public LongDistanceHypnosis()
-
-
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:
-
getSelectorState
- Overrides:
getSelectorState
in classBasePowerEffect
-
canActivate
Description copied from class:BasePowerEffect
Passive ability does not have to override this.- Overrides:
canActivate
in classBasePowerEffect
- Returns:
-
activate
- Overrides:
activate
in classBasePowerEffect
-