Class MysteriousAirCurrent
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.GlobalStatusBase
com.pixelmonmod.pixelmon.battles.status.Weather
com.pixelmonmod.pixelmon.battles.status.MysteriousAirCurrent
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.Weather
extreme, isOverworldWeather, langContinue, langEnd, langStart, turnsToGo, weatherRock
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, type
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Triggers at the end of every turn.void
Triggers at the end of every turn.protected int
countBenefits
(PixelmonWrapper user, PixelmonWrapper target) Counts the number of ways that the target Pokémon benefits from the weather.protected Weather
getNewInstance
(int turns) Gets a new instance of the subclass.modifyEffectiveTypes
(PixelmonWrapper user, PixelmonWrapper target, List<Element> types) Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.Weather
applyEffect, getIsOverworldWeather, getLangContinue, getRemainingTurns, setStartTurns, toString, weightEffect
Methods inherited from class com.pixelmonmod.pixelmon.battles.status.GlobalStatusBase
applyEffectAfterStatus, ignoreWeather, isTerrain, isWeather
Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
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, modifyTypeEffectiveness, preventsRedirection, setChance
-
Constructor Details
-
MysteriousAirCurrent
public MysteriousAirCurrent()
-
-
Method Details
-
getNewInstance
Description copied from class:Weather
Gets a new instance of the subclass.- Specified by:
getNewInstance
in classWeather
- Parameters:
turns
- The number of turns that the weather will last for.- Returns:
- A new instance of the subclass.
-
countBenefits
Description copied from class:Weather
Counts the number of ways that the target Pokémon benefits from the weather.- Specified by:
countBenefits
in classWeather
- Parameters:
user
- The Pokémon using the weather move.target
- The Pokémon to count benefits for.- Returns:
- The number of ways that the target Pokémon benefits from the weather.
-
modifyEffectiveTypes
public List<Element> modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<Element> types) Description copied from class:StatusBase
Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.- Overrides:
modifyEffectiveTypes
in classStatusBase
- Parameters:
user
- The attack's user.target
- The attack's target.- Returns:
- The target's modified types.
-
applyRepeatedEffect
Description copied from class:GlobalStatusBase
Triggers at the end of every turn.- Overrides:
applyRepeatedEffect
in classWeather
- Parameters:
global
- The battle's global status controller.
-
applyRepeatedEffect
Description copied from class:Weather
Triggers at the end of every turn.- Overrides:
applyRepeatedEffect
in classWeather
- Parameters:
bc
- The battle that the weather is in.
-