Package com.pixelmonmod.tcg.duel.power
Class InvisibleWall
java.lang.Object
com.pixelmonmod.tcg.duel.PowerEffect
com.pixelmonmod.tcg.duel.power.InvisibleWall
-
Field Summary
FieldsFields inherited from class com.pixelmonmod.tcg.duel.PowerEffect
codec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPassive ability does not require activationintonDamage(PokemonCardState active, PokemonCardState attacker, GameServerState server, int damage) type()Methods inherited from class com.pixelmonmod.tcg.duel.PowerEffect
activate, canActivate, cleanUp, codec, disableEvolution, disableEvolution, disableOtherAbilities, flipCoin, getCustomGUI, getEnergyEquivalence, getSelectorState, holdParameters, ignoreEnergyTypes, isEnabled, onAttacked, onCondition, onEndTurn, onPlay, onStartGame, onSwitchActiveCard, retreatModifier, revealHand
-
Field Details
-
CODEC
-
-
Constructor Details
-
InvisibleWall
public InvisibleWall(int amount)
-
-
Method Details
-
type
- Specified by:
typein classPowerEffect
-
isPassive
public boolean isPassive()Description copied from class:PowerEffectPassive ability does not require activation- Overrides:
isPassivein classPowerEffect- Returns:
-
onDamage
public int onDamage(PokemonCardState active, PokemonCardState attacker, GameServerState server, int damage) - Overrides:
onDamagein classPowerEffect- Parameters:
active-attacker-damage-- Returns:
- Final damage value
-