Class ReduceDamageEffect
java.lang.Object
com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
com.pixelmonmod.tcg.duel.attack.effects.ReduceDamageEffect
Created by Hy on 8/14/2016.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyBeforeDamage
(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) int
modifyDamage
(int damage, PokemonCardState pokemon, GameServerState server) Modify the damage done.Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
applyAfterDamage, applyDelayAfterDamage, canApply, chooseOppAttack, construct, flipCoin, getCodes, getCustomGUI, getOpponentSelectorState, getSelectorState, isOptional, modifyTurn, setOptional, setRequiredCoinSide, withConstructor
-
Constructor Details
-
ReduceDamageEffect
public ReduceDamageEffect()
-
-
Method Details
-
applyBeforeDamage
public void applyBeforeDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) - Overrides:
applyBeforeDamage
in classBaseAttackEffect
-
modifyDamage
Description copied from class:BaseAttackEffect
Modify the damage done. Usually an effect of DelayEffect.- Overrides:
modifyDamage
in classBaseAttackEffect
- Returns:
-
parse
- Overrides:
parse
in classBaseAttackEffect
-