Damage: Difference between revisions

90 bytes added ,  9 October 2022
→‎Generation V onward: So from Gen 5 onward, battles can have flags set to always use minimum or maximum damage rolls, SadisticMystic confirmed on Discord that Pokéstar always uses max damage rolls, but I'm not sure other than that, or if Gen 4 has any (I know the Diamond debug ROM has a flag you can turn on in battle to always use max damage rolls)
(→‎Generation V onward: So from Gen 5 onward, battles can have flags set to always use minimum or maximum damage rolls, SadisticMystic confirmed on Discord that Pokéstar always uses max damage rolls, but I'm not sure other than that, or if Gen 4 has any (I know the Diamond debug ROM has a flag you can turn on in battle to always use max damage rolls))
Line 120: Line 120:
** Conversely, unless critical hits are prevented entirely by one of the above effects, ''Critical'' will always be 1.5 (or 2 in Generation V) if the used move is {{m|Storm Throw}}, {{m|Frost Breath}}, {{m|Zippy Zap}}, {{m|Surging Strikes}}, or {{m|Wicked Blow}}, the target is {{status|poisoned}} and the attacker's Ability is {{a|Merciless}}, or if the user is under the effect of {{m|Laser Focus}}.
** Conversely, unless critical hits are prevented entirely by one of the above effects, ''Critical'' will always be 1.5 (or 2 in Generation V) if the used move is {{m|Storm Throw}}, {{m|Frost Breath}}, {{m|Zippy Zap}}, {{m|Surging Strikes}}, or {{m|Wicked Blow}}, the target is {{status|poisoned}} and the attacker's Ability is {{a|Merciless}}, or if the user is under the effect of {{m|Laser Focus}}.
* ''random'' is a random factor. Namely, it is recognized as a multiplication from a random integer between 85 and 100, inclusive, then divided by 100. Decimals are rounded down to the nearest integer.
* ''random'' is a random factor. Namely, it is recognized as a multiplication from a random integer between 85 and 100, inclusive, then divided by 100. Decimals are rounded down to the nearest integer.
** If the battle is taking place as a [[Pokéstar Studios]] film, ''random'' is always 1.
* ''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, 2 if the user of the move additionally has {{a|Adaptability}}, and 1 otherwise or if the attacker and/or used move is [[typeless]]. If the used move is a combination Pledge move, ''STAB'' is always 1.5 (or 2 if the user's Ability is Adaptability).
* ''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, 2 if the user of the move additionally has {{a|Adaptability}}, and 1 otherwise or if the attacker and/or used move is [[typeless]]. If the used move is a combination Pledge move, ''STAB'' is always 1.5 (or 2 if the user's Ability is Adaptability).
* ''Type'' is the {{DL|Type|type effectiveness}}. This can be 0.125, 0.25, 0.5 (not very effective); 1 (normally effective); 2, 4, or 8 (super effective), depending on both the move's and target's [[type]]s. The 0.125 and 8 can potentially be obtained on a Pokémon under the effect of {{m|Forest's Curse}} or {{m|Trick-or-Treat}}. If the used move is {{m|Struggle}} or [[typeless]] {{m|Revelation Dance}}, or the target is typeless, ''Type'' is always 1. Decimals are rounded down to the nearest integer. Certain effects can modify this, namely:
* ''Type'' is the {{DL|Type|type effectiveness}}. This can be 0.125, 0.25, 0.5 (not very effective); 1 (normally effective); 2, 4, or 8 (super effective), depending on both the move's and target's [[type]]s. The 0.125 and 8 can potentially be obtained on a Pokémon under the effect of {{m|Forest's Curse}} or {{m|Trick-or-Treat}}. If the used move is {{m|Struggle}} or [[typeless]] {{m|Revelation Dance}}, or the target is typeless, ''Type'' is always 1. Decimals are rounded down to the nearest integer. Certain effects can modify this, namely: