Class ChangeWeaknessEffect
java.lang.Object
com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
com.pixelmonmod.tcg.duel.attack.effects.ChangeWeaknessEffect
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyBeforeDamage
(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) boolean
canApply
(List<Object> parameters, CardAttack cardAttack, GameServerState server) getSelectorState
(List<Object> parameters, GameServerState server) protected boolean
hasWeakness
(GameServerState server) Methods inherited from class com.pixelmonmod.tcg.duel.attack.effects.BaseAttackEffect
applyAfterDamage, applyDelayAfterDamage, chooseOppAttack, construct, flipCoin, getCodes, getCustomGUI, getOpponentSelectorState, isOptional, modifyDamage, modifyTurn, setOptional, setRequiredCoinSide, withConstructor
-
Constructor Details
-
ChangeWeaknessEffect
public ChangeWeaknessEffect()
-
-
Method Details
-
getSelectorState
- Overrides:
getSelectorState
in classBaseAttackEffect
-
canApply
- Overrides:
canApply
in classBaseAttackEffect
-
applyBeforeDamage
public void applyBeforeDamage(List<Object> parameters, PokemonAttackStatus attack, PokemonCardState card, GameServerState server) - Overrides:
applyBeforeDamage
in classBaseAttackEffect
-
hasWeakness
-
parse
- Overrides:
parse
in classBaseAttackEffect
-