Package com.pixelmonmod.tcg.duel.power
Class Heal
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.Heal
Created by Hy on 8/17/2016.
-
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.void
cleanUp
(PokemonCardState pokemon, GameServerState server) flipCoin()
This function returns all necessary coin flip results.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, getCode, getCustomGUI, getEnergyEquivalence, holdParameters, ignoreEnergyTypes, isPassive, onAttacked, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
Heal
public Heal()
-
-
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:
-
flipCoin
Description copied from class:BasePowerEffect
This function returns all necessary coin flip results.- Overrides:
flipCoin
in classBasePowerEffect
- Returns:
- List of CoinSide
-
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
-