The 'Life Orb' item setting in the calculator calcs Life Orb incorrectly (only by ~1HP, but every HP counts).
Life Orb (B/W) - Smogon University
The key part is bolded. Normal damage implies the output from using the attack without a LO, NOT BP.Whenever a Pokemon holding a Life Orb successfully uses a damaging attack, that attack deals 1.3x its normal damage, rounded down...
Hypothetical situation:
Starmie vs Gallade. Starmie @ Life Orb, Gallade @ nothing relevant
Starmie used Hydro Pump.
Way #1 of reffing it (WRONG)
120 * 1.3 = 156
Put into calc: 156BP, Water, Special
Gallade's HP = 51.17% (174HP)
Way #2 of reffing it (SUPPOSEDLY CODED CORRECTLY, BUT WRONG)
Set 'Life Orb' as Starmie's item
Put into calc: 120BP, Water, Special
Gallade's HP = 51.17% (174HP)
Way #3 of reffing it (RIGHT)
Put into the calc: 120BP, Water, Special
Attack Gallade.
Damage output = 129
129 * 1.3 = 167.7 ==> 167
Put -167 into the Damage/Recovery box
Click -HP
Gallade's HP = 50.88% (173HP)
---
Idk if this is just a missing 'floor' function, but yeah. It's only a matter of time before this causes a row.
MORE CAPS
~The Artist Formerly Known As PichuBoy~
Just use the test calc URPG Reffing Calculator
If you can't do a few turns on the test calc you don't deserve to be a ref.
afaik URPG has always healed with draining moves on a Sub, regardless of what Smogon says. SMOGON ISN'T PERFECT!
Also, why only mention Pidge and me?
Did you try other examples? It might just be that with Life Orb you don't round in between or something.
In a relationship with KnittyDragon <3
Challenge Fortree Gym, Celestic Division, Elite Four, ask me to ref/judge, or just battle me. If I don't respond I'm probably not at my computer.
URPG: Senior Referee, Approver, BW Judge, Elite Four Member, Fortree City Gym Leader, Celestic Town Division Head
AIM MewAlcadiesMew; pe2k Alcadies; PWN/EGC/PXR Ash K.
Stats
Wishlist (I do keep this fairly updated)
[18:13] alaskapigeon1: and you have OCD that rivals monk's
Sorry, I was too lazy to look up the exact way to spell your name.
And I've been told on a few occasions (as well as looking it up on Smogon and other places) that you do not receive health back from damaging a sub with a draining move, including my Budget Tourney (few weeks ago?) match that Pidge reffed.
ChainReaction 6:09 pm
I quickly slammed the palm of my hand onto a butt
Ranger | Grader | Ref | Curator
AIM: WinterVinesURPG Stats
Because switching calcs is such a convenient thing to have to do. :/
Farfetch'd VS Gurdurr (2 mons chosen at random by spamming my keyboard)Did you try other examples? It might just be that with Life Orb you don't round in between or something.
Farfetch'd uses Wing Attack
BP * 1.3 = 58.28%
'Life Orb' setting = 58.28%
Manual = 58.28%
Interesting. I guess it's worth noting here that The damage output (120) * 1.3 actually has an integer, so no rounding is required.
---
Sableye VS Hydreigon
Sableye used Shadow Punch
BP * 1.3 = 87.62%
'Life Orb' setting = 87.62%
Manual = 88.14%
Now what's interesting is that doing this manually creates a situation where LESS damage is done, opposed to MORE damage in the Starmie vs Gallade situation.
---
Eelektrik vs Bastiodon
Eelektrik used Charge Beam
BP * 1.3 = 83.02%
'Life Orb' setting = 83.02%
Manual = 83.02%
Interestingly, damage output * 1.3 WASN'T an integer in this case.
---
Seriously, idk how it's coded (tried looking, but it's mostly gobbledegook to me), but it seems to vary depending on the situation, which is never good :s
MORE CAPS
~The Artist Formerly Known As PichuBoy~
You could probably calm down a bit about this...
Its fine, honestly I was more intrigued to find out your reasoning than I was bothered by that...
Here in URPG, we live and die by that calc. I don't see any reason for this to change that or even change the calc from its present state. It is not only a fairly insignificant discrepancy, but also quite subjective. Who's to say which damage is incorrect?
Didn't you just get done saying that you don't understand the coding? ._.
When I mentioned it was subjective, I was essentially asking, "How do you know your damage calculation is correct?". I'll have you know that the calculator is coded to correctly handle Life Orb. Lets look at the damage formula really quick.
Damage Formula = (((((((Level × 2 ÷ 5) + 2) × BasePower × [Sp]Atk ÷ 50) ÷ [Sp]Def) × Mod1) + 2) ×
CH × Mod2 × R ÷ 100) × STAB × Type1 × Type2 × Mod3)
Now, I'm assuming you were using Smogon's explanation of how Life Orb works. It says that it increases damage by 1.3x . This can be somewhat misleading, seeing as Life Orb is actually input for Mod2. Give that a try.
Last edited by We Taste Pies...; 18th February 2012 at 06:04 PM.
derpwut
Ok, I get the point there. The point is that Mod2 is a mashup of things and gets manipulated before STAB, etc... so that's why it's different ok.
But I do have to ask, why does 'CH * Mod2 * R' get divided by 100? I'm not familiar with the formula at all, so meh.
MORE CAPS
~The Artist Formerly Known As PichuBoy~
Cool update broham. Now if you don't mind, let me go win LD and claim Regigigas, then battle someone with it using GSC rules. kthx.
EDIT: Rule updated. Thanks broham.
Last edited by Monbrey; 28th April 2012 at 01:17 AM.
From the PE2K URPG section.
Yes I am a ref & yes, I made Soviet Bidoof
Questions/Comments/Concerns --> Imperialpineaple on aim.
URPG StatsSumerianRevenant 7:06 pm
Ambipom @ 43.78% Par Spe+1 | Jolteon @ 88.62% Spe+1 | Moves?
SR
No
I have done it both ways, multiple times
And always get complaints either way
SO FUUUUUUUU
Challenge my PE2K URPG Gym: Sunyshore
When rolling for Critical hits and attack effects, do you roll for Critical hits first or the effects first?
No more dreaming of the dead, as if death itself was undone.
No more calling like a crow for a boy, for a body in the garden.
No more dreaming like a girl, so in love, so in love;
No more dreaming like a girl, so in love, so in love!
No more dreaming like a girl, so in love with the wrong world.
In this video, the Critical Hit message appears before the burn infliction: PBR: Just Epic. - UU Friend Battle 19 VS Monarchsftw - Wailord's self destruction annihilates. - YouTube
Skip to 6:17. It's PBR so it may be outdated, compared to BW. In most situations, it won't matter, however.
Last edited by Pidge; 10th May 2012 at 04:45 PM.
And so, Encore fails on a move that failed from DisableBattle between smores and Ash K. started!
Rule: Unrated
Rule: Self-KO Clause
smores sent out Alakazam!
Ash K. sent out Ninetales!
Ash K.'s Ninetales's Drought intensified the sun's rays!
Start of turn 1
Alakazam used Disable!
But if failed!
Ash K.'s Ninetales used Nasty Plot!
Ash K.'s Ninetales's Sp. Att. sharply rose!
The sunlight is strong!
Start of turn 2
Alakazam used Disable!
Ash K.'s Ninetales's Nasty Plot was disabled!
Ash K.'s Ninetales's Nasty Plot is disabled!
The sunlight is strong!
Start of turn 3
Alakazam used Encore!
But if failed!
Ash K.'s Ninetales used Flamethrower!
Alakazam lost 251 HP! (100% of its health)
Alakazam fainted!
Ash K. won the battle!
Bookmarks