Package com.pixelmonmod.tcg.duel.power
Class SpecialDelivery
java.lang.Object
com.pixelmonmod.tcg.duel.PowerEffect
com.pixelmonmod.tcg.duel.power.SpecialDelivery
-
Field Summary
FieldsFields inherited from class com.pixelmonmod.tcg.duel.PowerEffect
codec
-
Constructor Summary
Constructors -
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.type()
Methods inherited from class com.pixelmonmod.tcg.duel.PowerEffect
codec, disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCustomGUI, getEnergyEquivalence, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Field Details
-
CODEC
-
-
Constructor Details
-
SpecialDelivery
public SpecialDelivery()
-
-
Method Details
-
type
- Specified by:
type
in classPowerEffect
-
isEnabled
Description copied from class:PowerEffect
Making sure that the non-passive ability can be activated. Checks for Sleep, Confused, Paralyzed- Overrides:
isEnabled
in classPowerEffect
- Parameters:
pokemon
-client
-- Returns:
-
getSelectorState
- Overrides:
getSelectorState
in classPowerEffect
-
canActivate
Description copied from class:PowerEffect
Passive ability does not have to override this.- Overrides:
canActivate
in classPowerEffect
- Parameters:
pokemon
-client
-- Returns:
-
activate
- Overrides:
activate
in classPowerEffect
-
cleanUp
- Overrides:
cleanUp
in classPowerEffect
-