Talk:Hidden Power (move)/Calculation: Difference between revisions

Line 167: Line 167:
::::Nope. Extracted the IVs from a save file and compared... the current formula sometimes gives type indexes one too high. I wonder if that has to do with rounding, but modulo doesn't give any decimal part, so it's strange... I guess someone would have to look into the code to see what exactly is up. [[User:HyperHacker|HyperHacker]] ([[User talk:HyperHacker|talk]]) 06:04, 28 April 2013 (UTC)
::::Nope. Extracted the IVs from a save file and compared... the current formula sometimes gives type indexes one too high. I wonder if that has to do with rounding, but modulo doesn't give any decimal part, so it's strange... I guess someone would have to look into the code to see what exactly is up. [[User:HyperHacker|HyperHacker]] ([[User talk:HyperHacker|talk]]) 06:04, 28 April 2013 (UTC)
:::::The behaviour you saw is consistent with the old formula. I just tested myself on FireRed, an Unown with IVs HP/Atk/Def/Spd/SpA/SpD 13/25/5/15/10/2 was super effective on a Fire-type, which is consistent with the old formula as against this one. Until someone can confirm that this formula is actually used in anything, I am reverting to the old formulae for now. Incidentally, which version did you check? [[User:Arcorann|Arcorann]] ([[User talk:Arcorann|talk]]) 07:19, 28 April 2013 (UTC)
:::::The behaviour you saw is consistent with the old formula. I just tested myself on FireRed, an Unown with IVs HP/Atk/Def/Spd/SpA/SpD 13/25/5/15/10/2 was super effective on a Fire-type, which is consistent with the old formula as against this one. Until someone can confirm that this formula is actually used in anything, I am reverting to the old formulae for now. Incidentally, which version did you check? [[User:Arcorann|Arcorann]] ([[User talk:Arcorann|talk]]) 07:19, 28 April 2013 (UTC)
::::::I'm using Soul Silver. Extracted the save file from the cartridge and examined it in Pokegen. [[User:HyperHacker|⬡]] ([[User talk:HyperHacker|talk]]) 02:10, 29 April 2013 (UTC)


== Formula simplifying  ==
== Formula simplifying  ==
100

edits