Package com.pixelmonmod.tcg.duel.power
Class StrikesBack
java.lang.Object
com.pixelmonmod.tcg.duel.PowerEffect
com.pixelmonmod.tcg.duel.power.StrikesBack
Created by Hy on 6/25/2016.
-
Field Summary
FieldsFields inherited from class com.pixelmonmod.tcg.duel.PowerEffect
codec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Passive ability does not require activationint
onDamage
(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
-
StrikesBack
public StrikesBack(int damage)
-
-
Method Details
-
type
- Specified by:
type
in classPowerEffect
-
isPassive
public boolean isPassive()Description copied from class:PowerEffect
Passive ability does not require activation- Overrides:
isPassive
in classPowerEffect
- Returns:
-
onDamage
public int onDamage(PokemonCardState active, PokemonCardState attacker, GameServerState server, int damage) - Overrides:
onDamage
in classPowerEffect
- Parameters:
active
-attacker
-damage
-- Returns:
- Final damage value
-