Package com.pixelmonmod.tcg.duel.power
Class Curse
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.Curse
Ability Description: Once during your turn (before you attack)
// you may move 1 damage counter from 1 of your opponents Pokemon
// to another (Even if it would knock out the other pokemon) Disabled by Sleep, Confusion, or Paralysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(PokemonCardState pokemon, GameServerState server, PlayerServerState player) booleancanActivate(PokemonCardState pokemon, GameServerState server) Passive ability does not have to override this.getSelectorState(PokemonCardState pokemon, GameServerState server) booleanisEnabled(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
-
Curse
public Curse()
-
-
Method Details
-
isEnabled
Description copied from class:BasePowerEffectMaking sure that the non-passive ability can be activated. Checks for Sleep, Confused, Paralyzed- Overrides:
isEnabledin classBasePowerEffect- Returns:
-
getSelectorState
- Overrides:
getSelectorStatein classBasePowerEffect
-
canActivate
Description copied from class:BasePowerEffectPassive ability does not have to override this.- Overrides:
canActivatein classBasePowerEffect- Returns:
-
activate
- Overrides:
activatein classBasePowerEffect
-