Package com.pixelmonmod.tcg.duel.power
Class FlipToEvade
java.lang.Object
com.pixelmonmod.tcg.duel.power.BasePowerEffect
com.pixelmonmod.tcg.duel.power.FlipToEvade
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Passive ability does not require activationint
onAttacked
(PokemonCardState active, PokemonCardState attacker, GameServerState server) Methods inherited from class com.pixelmonmod.tcg.duel.power.BasePowerEffect
activate, canActivate, cleanUp, disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCode, getCustomGUI, getEnergyEquivalence, getSelectorState, holdParameters, ignoreEnergyTypes, isEnabled, onCondition, onDamage, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Constructor Details
-
FlipToEvade
public FlipToEvade()
-
-
Method Details
-
isPassive
public boolean isPassive()Description copied from class:BasePowerEffect
Passive ability does not require activation- Overrides:
isPassive
in classBasePowerEffect
- Returns:
-
onAttacked
- Overrides:
onAttacked
in classBasePowerEffect
- Returns:
- -1 no effect, 0 miss regardless of other effects, 1 hit regardless of other effects
-