Talk:Damage: Difference between revisions

Line 120: Line 120:
  (12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 16)
  (12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 16)
::::::In fact, I actually forgot the Choice Band the first time I did this, and it still got 12-16, so I guess that proves that you were right about the Choice Band multiplier (at least in Showdown's logic). But the Electric Terrain Multiplier definitely isn't applied to BP or the attack stat. So with this new info in mind, it looks like Electric Terrain is being applied (in Showdown) BEFORE the random value, like so (with the initial damage of 2): 2 x 1.5 (terrain) x .85 (rand) x 1.5 (STAB) x 4 (SE) = 3 x .85 x 1.5 x 4 = 2 x 1.5 x 4 = 3 x 4 = 12. This would explain the jump in damage from 4 (without field) to 12 (with field), since without the field the random value would essentially negate the STAB bonus. So Showdown's order differs from yours, it seems. --[[User:MASLEGOMAN|MASLEGOMAN]] ([[User talk:MASLEGOMAN|talk]]) 22:34, 14 December 2016 (UTC)
::::::In fact, I actually forgot the Choice Band the first time I did this, and it still got 12-16, so I guess that proves that you were right about the Choice Band multiplier (at least in Showdown's logic). But the Electric Terrain Multiplier definitely isn't applied to BP or the attack stat. So with this new info in mind, it looks like Electric Terrain is being applied (in Showdown) BEFORE the random value, like so (with the initial damage of 2): 2 x 1.5 (terrain) x .85 (rand) x 1.5 (STAB) x 4 (SE) = 3 x .85 x 1.5 x 4 = 2 x 1.5 x 4 = 3 x 4 = 12. This would explain the jump in damage from 4 (without field) to 12 (with field), since without the field the random value would essentially negate the STAB bonus. So Showdown's order differs from yours, it seems. --[[User:MASLEGOMAN|MASLEGOMAN]] ([[User talk:MASLEGOMAN|talk]]) 22:34, 14 December 2016 (UTC)
:::::::I thought it didn't change because nothing had changed. It's interesting, though, because Showdown's damage calculator really does have an additional factor in between ''Weather'' and ''Critical'' (see [https://github.com/Zarel/honko-damagecalc/blob/master/js/damage.js here], line 518), whereas Showdown's battle engine powers up the base power (see [https://github.com/Zarel/Pokemon-Showdown/blob/master/data/moves.js here], line 4198). And that matches what the userpage and Bulbapedia have, and also that the [http://www.pokemon-sunmoon.com/en-us/pokemon/tapu-koko/ this official website] says Electric Terrain is "raising the '''power''' of any Electric-type moves" (and not damage dealt by them). Until proven otherwise, we just have to treat the official website more reliable than Showdown's damage calculator (especially when it's even contradicting their own battle engine). [[User:Nescientist|Nescientist]] ([[User talk:Nescientist|talk]]) 23:55, 14 December 2016 (UTC)