But if you perform the operations as described, you will not always get the correct answer.I prefer it as I wrote it, so that the formula looks simpler if anything.
No. The damage would beDamage = 70 * Mod1 + 2
Doing it by breaking it up as I suggested gives a value of 36 for the damage, which I suspect is the correct result. Doing it as written in the guide gives 2 (2/3 * .75 = .5, which rounds down to 0, and 70 * 0 = 0, then you add 2).
value / Stat * SM * Mod * SX
For SpA and SpD, you should calculate the stat completely first (Stat * SM * Mod * SX), then use it for the division. For the others, you just work from left to right.If we actually ignore the bodmas rule (as stated), we'll obtain
Should we replace the * in the spDef formula by /, or should we calculate the (Stat * SM * Mod * SX) first?Code:value / Stat * SM * Mod * SX
I don't follow. If you use 3/2 instead of 1.5, you should multiply by 3, then divide by 2, then continue with the other modifiers.Secondly, in the Section 2: Base Power and its modifiers:
if we actually use 3/2 instead of 1.5, it should be BasePower = BP * HH * ..., right?
The one on the site is the latest updated with the latest knowledge. This one here is outdated.By the way, when was the on site version updated? Maybe it should contain the "last updated" date? Is it up to date with the current knowledge?
In Pokemon the rule is always; round down (floor) the result whenever you hit a decimal so that's after every multiplier using none-integers.As you wrote, I've to round down after every multiplication and division performed.
I don't know, I didn't test Iron Fist.Unanswered Questions:
For Iron Fist Ability, moves Dizzy Punch, Dynamicpunch, and Shadow Punch are not mentioned. Do they get boosted 20%, too?
Headbutt isn't a recoil move. You mean Head Smash? (But Hitmonlee doesn't learn it.) Anyway, if Hitmonlee uses Hi Jump Kick and has Life Orb, the damage would be increased first by 20% and then by 30%. Meaning you first multiply by 1.2 and then by 1.3.If you used Head Butt with Life Orb, then the damage would get increased by 50% (20% life orb + 30% from Reckless), right? The recoil would be the normal recoil damage + 10% of Max HP, too, right?
Flower Gift boosts the Attack of the ally.In section 3B: If there are two simultaneous boosts in the Attack stat, first apply the attacking pokemon's ability boost, then the allies ability boost. What is this referring to? No abilities boost ally stats for the Attack stat... Or was it meant to be special attack?
Marvel Scale boosts Defense while the other two boost Special Defense. So your defense would be boosted by 1.5 times and your Special Defense would first be boosted by 1.5 times due to Soul Dew and then again by 1.5 times due to Sandstorm."If there are two simultaneous boosts in Mod, first apply the ability boost, then the item boost, and finally the Sandstorm boost."
This is just an example of the defense stat. Does this mean that you need to keep multiplying (or adding) all the numbers together, or just that which ever one is last takes precedence.
For example: Lets say Latias (lets say it is Rock type) has Marvel Scale, is poisoned, has Soul Dew, and Sandstorm is in play. Would this be either 3.375, 4.5, or 1.5 in the end? Thanks!
So this means that during the Ability calculation, if someone has Huge Power, it would set it to 2.0. If a partner had Flower Gift, 2.0 would be multiplied by 1.5, giving 3.0 as the total result for the ability modifier?Flower Gift boosts the Attack of the ally.
Seeing as how multiplication is transitive, I don't see how it could be different, unless you take Math.Floor after each iteration. However, I thought were were supposed to do that at the end of each of the different sections, not within each section?No, you don't multiply the 2.0 by 1.5; you first multiply the attack stat by 2, and then multiply the resulting attack stat by 1.5.
I know that it results in the same attack stat in this case, but sometimes it doesn't.
You floor after every operation.Seeing as how multiplication is transitive, I don't see how it could be different, unless you take Math.Floor after each iteration. However, I thought were were supposed to do that at the end of each of the different sections, not within each section?