Class Electrify
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.Electrify
Turns the Pokémon's move into an Electric-type move for the turn.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, typeFields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffect(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.voidTriggered at the end of every turn.int[]modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a) Modifies the power and accuracy of the attack used by the statused Pokémon.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingMethods 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, weightEffect
-
Constructor Details
-
Electrify
public Electrify()Initializes the status.
-
-
Method Details
-
applyEffect
Description copied from class:EffectBaseCauses various effects during the move.- Overrides:
applyEffectin classStatusBase- Parameters:
user- The move's user.target- The move's target.
-
modifyPowerAndAccuracyUser
public int[] modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a) Description copied from class:StatusBaseModifies the power and accuracy of the attack used by the statused Pokémon.- Overrides:
modifyPowerAndAccuracyUserin classStatusBase- Parameters:
power- The attack's power.accuracy- The attack's accuracy.user- The attack's user.target- The attack's target.a- The attack.- Returns:
- The modified power and accuracy.
-
applyRepeatedEffect
Description copied from class:StatusBaseTriggered at the end of every turn.- Overrides:
applyRepeatedEffectin classStatusBase- Parameters:
pw- The statused Pokémon.
-