Talk:Draining Kiss (move): Difference between revisions

Line 28: Line 28:
''Attention'': In almost every Pokémon formula you have to round before next step, otherwise the result is inaccurate as you see. This lack of mentioning the rounding rule is the reason for many phenomenons like this. Usually it has to be rounded down (unless it is lower than 1), but for Recovery in general you have to round up (for a pleasant little more efficiency). Items, Abilities and Moves are doing as well, so for example [[Recover]] also heals the rounded up half of an odd number of maximum HP.<br/>
''Attention'': In almost every Pokémon formula you have to round before next step, otherwise the result is inaccurate as you see. This lack of mentioning the rounding rule is the reason for many phenomenons like this. Usually it has to be rounded down (unless it is lower than 1), but for Recovery in general you have to round up (for a pleasant little more efficiency). Items, Abilities and Moves are doing as well, so for example [[Recover]] also heals the rounded up half of an odd number of maximum HP.<br/>
However, I am going to test this here with Big Root again with more different and higher HP, to go sure. --- Pokémon  [[User:Pokémon|<sub>Questions?</sub>]] -- 13:06, 16 January 2014 (UTC)
However, I am going to test this here with Big Root again with more different and higher HP, to go sure. --- Pokémon  [[User:Pokémon|<sub>Questions?</sub>]] -- 13:06, 16 January 2014 (UTC)
: I understand the rounding-down part (Pokemon calculates its math strictly using integers), it's just so easy to forget ... and actually, rounding up for HP recovery does make sense in that if a move only does 1 damage you still get 1 HP recovery.  Now, time for a more comprehensive test -- {{p|Yveltal}} vs. {{p|Xerneas}}.  Since I'm lacking an actual matchup for this, I'm just going to take them into Restaurant Le Nah as a tag-team and enjoy some friendly fire ...
: Yveltal just ''barely'' survives a {{a|Fairy Aura}} {{m|Moonblast}} from Xerneas (is left with just 10 HP, from 214).  In return, Yveltal [[Big Root]] {{m|Oblivion Wing}}s Xerneas for 80 damage (and recovers 78HP). On another turn, Oblivion Wing deals 72 damage and heals Yveltal by 70.
:Okay, so indeed there are rounding issues to consider.  --''[[User:Stratelier|Stratelier]]'' 20:23, 8 March 2014 (UTC)
597

edits