Damage: Difference between revisions

Line 10: Line 10:


===[[Generation I]]===
===[[Generation I]]===
:<math>Damage = \left(\frac{\left( \frac{2 \times Level \times Critical}{5} + 2\right) \times Power \times A / D}{50} + 2\right) \times STAB \times Type1 \times Type2 \times random</math>
:<math>Damage = \left(\frac{\left( \frac{2 \times Level \times Critical}{5} + 2\right) \times Power \times \frac{Atk}{Def}}{50} + 2\right) \times STAB \times Type1 \times Type2 \times random</math>


where:
where:
Line 16: Line 16:
* ''Level'' is the [[level]] of the attacking Pokémon.
* ''Level'' is the [[level]] of the attacking Pokémon.
* ''Critical'' is 2 for a [[critical hit]], and 1 otherwise.
* ''Critical'' is 2 for a [[critical hit]], and 1 otherwise.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Attack or Special is used instead). If either this or ''D'' are greater than 255, both are divided by 4 and rounded down.
* ''Atk'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Attack or Special is used instead). If either this or ''Def'' are greater than 255, both are divided by 4 and rounded down.
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special stat of the target if the used move is an other [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has {{m|Reflect}} up, or if the move is special and the target has {{m|Light Screen}} up, this value is doubled (unless it is a critical hit). If the move is {{m|Explosion}} or {{m|Self-Destruct|Selfdestruct}}, this value is halved (rounded down, with a minimum of 1). If either this or ''A'' are greater than 255, both are divided by 4 and rounded down. Unlike future Generations, if this is 0, the division is not made equal to 0; rather, the game will try to [[List of glitches (Generation I)#Division by 0|divide by 0]] and softlock, hanging indefinitely until it is turned off.
* ''Def'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special stat of the target if the used move is an other [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has {{m|Reflect}} up, or if the move is special and the target has {{m|Light Screen}} up, this value is doubled (unless it is a critical hit). If the move is {{m|Explosion}} or {{m|Self-Destruct|Selfdestruct}}, this value is halved (rounded down, with a minimum of 1). If either this or ''Atk'' are greater than 255, both are divided by 4 and rounded down. Unlike future Generations, if this is 0, the division is not made equal to 0; rather, the game will try to [[List of glitches (Generation I)#Division by 0|divide by 0]] and softlock, hanging indefinitely until it is turned off.
* ''Power'' is the [[power]] of the used move.
* ''Power'' is the [[power]] of the used move.
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types, and 1 if otherwise. Internally, it is recognized as an addition of the damage calculated thus far divided by 2, rounded down, then added to the damage calculated thus far. <!-- rounded down; capped at 999 right BEFORE this operation, after the +2 -->
* ''STAB'' is the [[same-type attack bonus]]. This is equal to 1.5 if the move's [[type]] matches any of the user's types, and 1 if otherwise. Internally, it is recognized as an addition of the damage calculated thus far divided by 2, rounded down, then added to the damage calculated thus far. <!-- rounded down; capped at 999 right BEFORE this operation, after the +2 -->
Line 25: Line 25:


===[[Generation II]]===
===[[Generation II]]===
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times A / D}{50}\right) \times Item \times Critical + 2 \right) \times TK \times Weather \times Badge \times STAB \times Type \times MoveMod \times random \times DoubleDmg</math>
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times \frac{Atk}{Def}}{50}\right) \times Item \times Critical + 2 \right) \times TK \times Weather \times Badge \times STAB \times Type \times MoveMod \times random \times DoubleDmg</math>


where:
where:


* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], if the target's Defense or Special Defense stat stage is greater than or equal to the attacker's Attack or Special Attack stat stage, all modifiers are ignored, and the unmodified Attack or Special is used instead). If the used move is {{m|Beat Up}}, ''A'' is instead the base Attack of the Pokémon performing the strike.
* ''Atk'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], if the target's Defense or Special Defense stat stage is greater than or equal to the attacker's Attack or Special Attack stat stage, all modifiers are ignored, and the unmodified Attack or Special is used instead). If the used move is {{m|Beat Up}}, ''Atk'' is instead the base Attack of the Pokémon performing the strike.
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special stat of the target if the used move is an other [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has {{m|Reflect}} up, or if the move is special and the target has {{m|Light Screen}} up, this value is doubled (unless it is a critical hit). If the move is {{m|Explosion}} or {{m|Self-Destruct|Selfdestruct}}, this value is halved (rounded down, with a minimum of 1). If the used move is {{m|Beat Up}}, ''D'' is instead the base Defense of the target.
* ''Def'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special stat of the target if the used move is an other [[special move]] (for a [[critical hit]], all modifiers are ignored, and the unmodified Defense or Special is used instead). If the move is physical and the target has {{m|Reflect}} up, or if the move is special and the target has {{m|Light Screen}} up, this value is doubled (unless it is a critical hit). If the move is {{m|Explosion}} or {{m|Self-Destruct|Selfdestruct}}, this value is halved (rounded down, with a minimum of 1). If the used move is {{m|Beat Up}}, ''Def'' is instead the base Defense of the target.
* ''Power'' is the [[power]] of the used move.
* ''Power'' is the [[power]] of the used move.
* ''Item'' is 1.1 <!-- multiplication by 110, then divide by 100 --> if the attacker is holding an [[:Category:Type-enhancing held items|type-enhancing held item]] corresponding to the attack type (for instance, the [[Magnet]] for an {{type|Electric}} move).
* ''Item'' is 1.1 <!-- multiplication by 110, then divide by 100 --> if the attacker is holding an [[:Category:Type-enhancing held items|type-enhancing held item]] corresponding to the attack type (for instance, the [[Magnet]] for an {{type|Electric}} move).
Line 41: Line 41:
* ''Type'' is the [[type effectiveness]]. This can be 0.25, 0.5 (not very effective), 1 (normally effective), 2, or 4 (super effective), depending on both the move's and target's [[type]]s. If the used move is {{m|Struggle}}, {{m|Future Sight}}, or {{m|Beat Up}}, ''Type'' is always 1. <!-- Individual factors are performed one after the other, in the order of the type matchup table. Each individual factor is a multiplication followed by a division by 10, with possible multipliers being 20 and 5 (and 0). -->
* ''Type'' is the [[type effectiveness]]. This can be 0.25, 0.5 (not very effective), 1 (normally effective), 2, or 4 (super effective), depending on both the move's and target's [[type]]s. If the used move is {{m|Struggle}}, {{m|Future Sight}}, or {{m|Beat Up}}, ''Type'' is always 1. <!-- Individual factors are performed one after the other, in the order of the type matchup table. Each individual factor is a multiplication followed by a division by 10, with possible multipliers being 20 and 5 (and 0). -->
* ''MoveMod'' can be (and if the used move is not any of these, ''MoveMod'' is 1):<!-- capped at 0xffff after this operation -->
* ''MoveMod'' can be (and if the used move is not any of these, ''MoveMod'' is 1):<!-- capped at 0xffff after this operation -->
** If {{m|Rollout}} is used, <math>2^\left(n+d\right)</math>, where ''n'' is the amount of successful and consecutive hits of the move, up to 4 (for the fifth hit), and ''d'' is 1 if {{m|Defense Curl}} was used beforehand and 0 otherwise.
** If {{m|Rollout}} is used, <math>2^\left(n+d\right)</math>, where ''n'' is the amount of successful and consecutive hits of the move, up to 4 (for the fifth hit), and ''Def'' is 1 if {{m|Defense Curl}} was used beforehand and 0 otherwise.
** If {{m|Fury Cutter}} is used, <math>2^n</math>, where ''n'' is the number of successful and consecutive uses of the move, up to 4.
** If {{m|Fury Cutter}} is used, <math>2^n</math>, where ''n'' is the number of successful and consecutive uses of the move, up to 4.
** If {{m|Rage}} is used, an integer value corresponding to the Rage counter, i.e. the number of times the user of Rage has been damaged by an attack while using Rage.
** If {{m|Rage}} is used, an integer value corresponding to the Rage counter, i.e. the number of times the user of Rage has been damaged by an attack while using Rage.
Line 48: Line 48:


===[[Generation III]]===
===[[Generation III]]===
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times A / D}{50}\right) \times Burn \times Screen \times Targets \times Weather \times FF + 2 \right) \times Stockpile \times Critical \times DoubleDmg \times Charge \times HH \times STAB \times Type1 \times Type2 \times random</math>
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times \frac{Atk}{Def}}{50}\right) \times Burn \times Screen \times Targets \times Weather \times FF + 2 \right) \times Stockpile \times Critical \times DoubleDmg \times Charge \times HH \times STAB \times Type1 \times Type2 \times random</math>


where:
where:


* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], negative Attack or Special Attack stat stages are ignored). If the used move is {{m|Beat Up}}, ''A'' is instead the base Attack of the Pokémon performing the strike. <!-- this potentially includes Pure Power/Huge Power, stat Badge boosts, type-item boosts, Choice Band, Soul Dew, Deep Sea Tooth, Light Ball, Thick Club, Thick Fat, Hustle, Plus, Minus, Guts, in that order -->
* ''Atk'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], negative Attack or Special Attack stat stages are ignored). If the used move is {{m|Beat Up}}, ''Atk'' is instead the base Attack of the Pokémon performing the strike. <!-- this potentially includes Pure Power/Huge Power, stat Badge boosts, type-item boosts, Choice Band, Soul Dew, Deep Sea Tooth, Light Ball, Thick Club, Thick Fat, Hustle, Plus, Minus, Guts, in that order -->
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense stat of the target if the used move is a [[special move]] (for a [[critical hit]], positive Defense or Special Defense stat stages are ignored). If the used move is {{m|Beat Up}}, ''D'' is instead the base Defense of the target.<!-- this potentially includes stat Badge boosts, Soul Dew, Deep Sea Scale, Metal Powder, Marvel Scale, Explosion/Selfdestruct, in that order -->
* ''Def'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense stat of the target if the used move is a [[special move]] (for a [[critical hit]], positive Defense or Special Defense stat stages are ignored). If the used move is {{m|Beat Up}}, ''Def'' is instead the base Defense of the target.<!-- this potentially includes stat Badge boosts, Soul Dew, Deep Sea Scale, Metal Powder, Marvel Scale, Explosion/Selfdestruct, in that order -->
* ''Power'' is the effective [[power]] of the used move. <!-- this potentially includes Mud Sport/Water Sport, Overgrow, Blaze, Torrent, Swarm, in that order -->
* ''Power'' is the effective [[power]] of the used move. <!-- this potentially includes Mud Sport/Water Sport, Overgrow, Blaze, Torrent, Swarm, in that order -->
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]], and 1 otherwise. <!-- rounded down -->
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]], and 1 otherwise. <!-- rounded down -->
Line 81: Line 81:


===[[Generation IV]]===
===[[Generation IV]]===
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times A / D}{50}\right) \times Burn \times Screen \times Targets \times Weather \times FF + 2 \right) \times Critical \times Item \times First \times random \times STAB \times Type1 \times Type2 \times SRF \times EB \times TL \times Berry</math>
:<math>Damage = \left(\left(\frac{\left( \frac{2 \times Level}{5} + 2\right) \times Power \times \frac{Atk}{Def}}{50}\right) \times Burn \times Screen \times Targets \times Weather \times FF + 2 \right) \times Critical \times Item \times First \times random \times STAB \times Type1 \times Type2 \times SRF \times EB \times TL \times Berry</math>


where:
where:


* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''Level'' is the [[level]] of the attacking Pokémon. If the used move is {{m|Beat Up}}, ''L'' is instead the level of the Pokémon performing the strike.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], negative Attack or Special Attack stat stages are ignored). If the used move is {{m|Beat Up}}, ''A'' is instead the base Attack of the Pokémon performing the strike.
* ''Atk'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (for a [[critical hit]], negative Attack or Special Attack stat stages are ignored). If the used move is {{m|Beat Up}}, ''Atk'' is instead the base Attack of the Pokémon performing the strike.
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense stat of the target if the used move is a [[special move]] (for a [[critical hit]], positive Defense or Special Defense stat stages are ignored). If the used move is {{m|Beat Up}}, ''D'' is instead the base Defense of the target.
* ''Def'' is the effective Defense stat of the target if the used move is a [[physical move]], or the effective Special Defense stat of the target if the used move is a [[special move]] (for a [[critical hit]], positive Defense or Special Defense stat stages are ignored). If the used move is {{m|Beat Up}}, ''Def'' is instead the base Defense of the target.
* ''Power'' is the effective [[power]] of the used move.
* ''Power'' is the effective [[power]] of the used move.
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]], and 1 otherwise.
* ''Burn'' is 0.5 if the attacker is {{status|burned}}, its Ability is not {{a|Guts}}, and the used move is a [[physical move]], and 1 otherwise.
Line 107: Line 107:


===[[Generation V]] onward===
===[[Generation V]] onward===
:<math>\text{Damage} = \left(\frac{\left( \frac{2 \times \text{Level}}{5} + 2\right) \times \text{Power} \times\frac{A}{D}}{50} + 2\right) \times \text{Targets} \times \text{PB} \times \text{Weather} \times \text{GlaiveRush} \times \text{Critical} \times \text{random} \times \text{STAB} \times \text{Type} \times \text{Burn} \times \text{other} \times \text{ZMove} \times \text{TeraShield}</math>
:<math>\text{Damage} = \left(\frac{\left( \frac{2 \times \text{Level}}{5} + 2\right) \times \text{Power} \times \frac{Atk}{Def}}{50} + 2\right) \times \text{Targets} \times \text{PB} \times \text{Weather} \times \text{GlaiveRush} \times \text{Critical} \times \text{random} \times \text{STAB} \times \text{Type} \times \text{Burn} \times \text{other} \times \text{ZMove} \times \text{TeraShield}</math>


where (and unless specified otherwise, all divisions and multiplications past the initial base damage calculation are subject to standard rounding, rounding down at 0.5, if necessary)
where (and unless specified otherwise, all divisions and multiplications past the initial base damage calculation are subject to standard rounding, rounding down at 0.5, if necessary)


* ''Level'' is the [[level]] of the attacking Pokémon.
* ''Level'' is the [[level]] of the attacking Pokémon.
* ''A'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (ignoring negative stat stages for a [[critical hit]]).
* ''Atk'' is the effective Attack stat of the attacking Pokémon if the used move is a [[physical move]], or the effective Special Attack stat of the attacking Pokémon if the used move is a [[special move]] (ignoring negative stat stages for a [[critical hit]]).
* ''D'' is the effective Defense stat of the target if the used move is a [[physical move]] or a {{cat|Moves that use stats from different categories|special move that uses the target's Defense stat}}, or the effective Special Defense of the target if the used move is an other [[special move]] (ignoring positive stat stages for a [[critical hit]]).
* ''Def'' is the effective Defense stat of the target if the used move is a [[physical move]] or a {{cat|Moves that use stats from different categories|special move that uses the target's Defense stat}}, or the effective Special Defense of the target if the used move is an other [[special move]] (ignoring positive stat stages for a [[critical hit]]).
* ''Power'' is the effective [[power]] of the used move.
* ''Power'' is the effective [[power]] of the used move.
* ''Targets'' is 0.75 (0.5 in [[Battle Royal]]s) if the move has more than one [[target]] when the move is executed, and 1 otherwise.
* ''Targets'' is 0.75 (0.5 in [[Battle Royal]]s) if the move has more than one [[target]] when the move is executed, and 1 otherwise.
143

edits