Damage: Difference between revisions

8 bytes removed ,  28 February 2017
→‎Damage calculation: This multiplication is always the case; see talk page.
m (→‎Type effectiveness: Moves aren't "resistant", Pokemon are. || If we're doing an exact quote of the games, my opinion is that we should use the <> structure that we use in the "Quotes" sections of other articles.)
(→‎Damage calculation: This multiplication is always the case; see talk page.)
Line 213: Line 213:
|If held by the defender, the move was of the resisted type and super effective
|If held by the defender, the move was of the resisted type and super effective
|}
|}
:If multiple effects influence the ''other'' value, their values usually stack multiplicatively. For example, if both {{a|Multiscale}} and a [[Chilan Berry]] take effect, ''other'' is <code>0.5 * 0.5 = 0.25</code>.
:If multiple effects influence the ''other'' value, their values stack multiplicatively. For example, if both {{a|Multiscale}} and a [[Chilan Berry]] take effect, ''other'' is <code>0.5 * 0.5 = 0.25</code>.


During the calculation, any operations are carried out on integers internally, such that effectively each division is a [[wp:Rounding#Rounding_to_integer|truncated integer division]] (rounding towards zero, cutting off any decimals), and any decimals are cut off after each multiplication operation. If the calculation yields <code>0</code>, the move will deal 1 HP damage instead; however, in [[Generation]]s {{gen|I}} and {{gen|V}}, different behavior may occur due to apparent oversights:
During the calculation, any operations are carried out on integers internally, such that effectively each division is a [[wp:Rounding#Rounding_to_integer|truncated integer division]] (rounding towards zero, cutting off any decimals), and any decimals are cut off after each multiplication operation. If the calculation yields <code>0</code>, the move will deal 1 HP damage instead; however, in [[Generation]]s {{gen|I}} and {{gen|V}}, different behavior may occur due to apparent oversights:
314

edits