Class FlyingPress
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.FlyingPress
Deals both Fighting-type and Flying-type damage.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
modifyTypeEffectiveness
(List<Element> effectiveTypes, Element moveType, double baseEffectiveness) Modifies the type effectiveness of a move.Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.specialAttacks.basic.SpecialAttackBase
applyAfterEffect, applyEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority, overridesDefendingStat, shouldThawUser
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
FlyingPress
public FlyingPress()
-
-
Method Details
-
modifyTypeEffectiveness
public double modifyTypeEffectiveness(List<Element> effectiveTypes, Element moveType, double baseEffectiveness) Description copied from class:EffectBase
Modifies the type effectiveness of a move.- Overrides:
modifyTypeEffectiveness
in classEffectBase
- Parameters:
effectiveTypes
- The types of the Pokémon targeted by the move.moveType
- The type of the move being used in the calculation.baseEffectiveness
- The type effectiveness before modification.- Returns:
- The new type effectiveness.
-