Package com.pixelmonmod.tcg.duel.power
Class SpecialDelivery
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.SpecialDelivery
-
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.void
cleanUp
(PokemonCardState pokemon, GameServerState server) 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
disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
SpecialDelivery
public SpecialDelivery()
-
-
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
-
cleanUp
- Overrides:
cleanUp
in classBasePowerEffect
-