Author Topic: Touhoumon Damage Calc  (Read 15218 times)

Offline Doesnt

  • much sand. wow.
  • A Member group
  • ***************************************************************************************
  • Posts: 188
    • View Profile
Touhoumon Damage Calc
« on: August 19, 2013, 05:16:22 PM »
http://thpp.supersanctuary.net/calc/ actual web-based calc because i'm lazy
=====

So for a while, we'd been without a proper damage calculator- to my understanding most people were using either Marriland's old one or Honko's Pokemon-based calc.

Shai informed me that Manlycalc's source was publicly available by merit of it all being Javascript, so I decided to take a look at it and adjust it for Touhoumon. Unfortunately I do not know the first thing about web hosting, so you'll have to download it for now. It can be found here: http://www.mediafire.com/download/idinbo18000mwls/Hatcalc.zip
« Last Edit: October 02, 2013, 10:59:05 PM by Agastya »
i accidentally deleted your avatar so have 90 stars instead ~agastya

Offline joshcja

  • A Member group
  • Posts: 281
  • Burn Yo Bacon
    • View Profile
Re: Touhoumon Damage Calc
« Reply #1 on: August 19, 2013, 07:36:27 PM »
Wow, well done and thanks.

Any thoughts on fitting in the "standard" sets for newbies?

Offline EXSariel

  • AKA The Jamminstein (as Agastya puts it)
  • Administrator
  • A Member group
  • *****
  • Posts: 121
    • View Profile
Re: Touhoumon Damage Calc
« Reply #2 on: August 19, 2013, 07:48:52 PM »
Hey, guess who does know the first thing about web hosting?

http://thpp.supersanctuary.net/calc/
I'm not here.

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Re: Touhoumon Damage Calc
« Reply #3 on: August 20, 2013, 12:06:16 AM »
Hooray!

could use cleaning though [like not linking to the one vs alls, but ehhh]

> Page Title is still Honkalculator 4k

I think I'll polish this a little up later

Quote
Any thoughts on fitting in the "standard" sets for newbies?

We've got get sets for every "standard suspect" out first. [Also inserting the Sets without a script is really annoying hnngh]

Quote
Hey, guess who does know the first thing about web hosting?

> Calc instead of Hat_Calc

beggars can't be choosers I guess

« Last Edit: August 20, 2013, 12:20:36 AM by shai_LP »

Offline joshcja

  • A Member group
  • Posts: 281
  • Burn Yo Bacon
    • View Profile
Re: Touhoumon Damage Calc
« Reply #4 on: August 20, 2013, 12:59:48 AM »


We've got get sets for every "standard suspect" out first. [Also inserting the Sets without a script is really annoying hnngh]


Got like...5 sets to post once the current things get un WIPed >_<

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Re: Touhoumon Damage Calc
« Reply #5 on: August 20, 2013, 03:20:50 AM »
Hatcalc1.01.zip (29 KB)

https://mega.co.nz/#!mc0HXAYa!fyOK0121rINw3dsfaZSUU14I21RGbkzPBenG1geVKAQ

Changelist
- Removed links to All vs One and One vs All Calcs
- Added Links to Forum, Client Download, Interactive Type Info, and Type Chart(+wiki)
- Changed "SAya", "Sendai", "Dsatori" and "Tenma" to Uber Placeholders
- Changed "DarkAlice" to "Dark-Alice" because it bothered me.

was tempted to change things like "SAya" to "Speed-Aya" but I'd save that for another day.

Quote
Got like...5 sets to post once the current things get un WIPed >_<

just post them anyway, Shoddy is down so might as well.

PS Re-Add  your old Rin sets damnit.
« Last Edit: August 20, 2013, 03:50:46 AM by shai_LP »

Offline Naï

  • A Member group
  • Posts: 140
  • In training
    • View Profile
Re: Touhoumon Damage Calc
« Reply #6 on: August 21, 2013, 06:41:32 PM »
Hey, this is seriously neat! Thanks a lot to everyone who worked on this.
(Shai and Doesnt, as well as Exs for hosting?)



Just a little nitpicking: we could probably use links to it on the wiki's main page, as well as on the wiki's sidebar. Otherwise it wouldn't get much divulgation, not everyone keeps track of the forum posts. That holds true for other utilities, as well, such as the team/puppet type analyzer.

I understand that adding anything to the wiki could be dangerous right now, but this wouldn't take up too much space (not if it's just linking to the calc, at least), and I believe it's rather important to have such utilities be properly well-known and used, since they might end up being an essential part of metagame determination later on.

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Re: Touhoumon Damage Calc
« Reply #7 on: August 21, 2013, 07:13:04 PM »
Doesnt did all the heavy lifting [type chart modifying etc]

of course honko laid the foundation.

PSS I'm going to do further revisions because the moves data is incomplete/some things are wrong [For example, Signal Beam is missing, and Hi-Jump Kick has no type when selected in the drop-down.

To-Do:

Modify
'Zen Headbutt':[80,'Psychic','Physical'] -> Reason
'High-Jump Kick':[110,'Fighting','Physical'] -> Dream
'Superpower':[120,'Fighting','Physical'] -> Dream
'Hyper Voice':[90,'Dream','Special'] -> 95 BP
'Ice Ball':[90,'Ice','Special'] -> Physical
'Dream Eater':[75,'Dark','Physical'] -> Special
'Blaze Kick':[85,'Fire','Physical'] -> 90 BP
'Thunder':[120,'Electric','Special'], -> Wind
'Thunderbolt':[90,'Electric','Special'], -> Wind
'ThunderPunch':[75,'Electric','Physical'], -> Wind
'Thundershock':[40,'Electric','Special'], -> Wind
'Volt Tackle':[120,'Electric','Physical'] -> Wind
'Discharge':[80,'Electric','Special'], -> Wind
'Bullet Seed':[25,'Grass','Physical'], -> Nature
'Giga Drain':[75,'Grass','Special'] -> Nature

add
'Signal Beam':[90,'Heart','Special']
'Nature Sound':[95,'Nature','Special']
'LUNATIC':[120,'Steel','Special']
'Braver':[120,'Steel','Physical']
'Outrage':[120,'Dark','Physical']
'Frenzy Plant':[140,'Nature','Special'],

Function on Selfdestruct/Explosion to Halve Defense


doesnt edit: outrage is not a physical/physical move- ty for finding all these though

edit: found more
« Last Edit: August 22, 2013, 02:42:52 AM by shai_LP »

Offline Naï

  • A Member group
  • Posts: 140
  • In training
    • View Profile
Re: Touhoumon Damage Calc
« Reply #8 on: August 22, 2013, 08:12:31 AM »
Uh, quick question... does it use the Gen V damage formula? (as seen in the credits, at least)
If so, wouldn't it actually require changing it to the Gen III one instead?

Either way, in case it does need to be changed, here's the formula:
Quote
Damage = ((L * 2 + 10)/250 * (A / D) * B + 2) * M

L - Level of the attacking Pokémon.

A - Attack of the attacking Pokémon.

D - Defense of the defending Pokémon.

B - The base damage of the attack.

M - Any damage modifiers. M is calculated as follows:

Modifier = STAB * T * C * O * (rand ∈ [0.85, 1.00])

STAB - Same-type attack bonus. Value is 1.5 if the Pokémon gets STAB, 1 otherwise.

T - Type effectiveness. Value can be 0, 0.25, 0.5, 1, 2, or 4.

C - Critical hit. 2 if the attack lands a critical hit, 1 otherwise.

O - Other. Things like weather, held items, ect.

Rand - Random number between 0.85 and 1.00.
Ripped from http://wiki.pokemon-online.eu/wiki/Damage_formula.



EDIT: also, small nitpicking on the Item section: Choice Band -> Choice Ribbon.
Putting the boosted type for each type-boosting item between brackets (as done in Shoddy) might be helpful, too, if you wouldn't mind.
« Last Edit: August 22, 2013, 08:16:00 AM by Naï »

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Re: Touhoumon Damage Calc
« Reply #9 on: August 22, 2013, 07:41:33 PM »
Uh, quick question... does it use the Gen V damage formula? (as seen in the credits, at least)
If so, wouldn't it actually require changing it to the Gen III one instead?

EDIT: also, small nitpicking on the Item section: Choice Band -> Choice Ribbon.
Putting the boosted type for each type-boosting item between brackets (as done in Shoddy) might be helpful, too, if you wouldn't mind.

I don't feel comfortable touching how the end-damage calculates and from comparing with the marriland calc there hasn't been any variations outside of explode/self-destruct

Not changing Choice Band -> Choice Ribbon because there are 2 "Choice Bands" and they fill the fill the role of Choice Band only. Which is significant if you're new because Specs/Scarf doesn't exist. And if you're not new, You already know both of those items equate to Choice Band.

bother doesnt to alter that code if you want, I'm not touching it, might add type boosted things in brackets though.

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Hat Calculator 1.02
« Reply #10 on: August 23, 2013, 04:26:30 AM »
To-Do:

Modify
'Zen Headbutt':[80,'Psychic','Physical'] -> Reason
'High-Jump Kick':[110,'Fighting','Physical'] -> Dream
'Superpower':[120,'Fighting','Physical'] -> Dream
'Hyper Voice':[90,'Dream','Special'] -> 95 BP
'Ice Ball':[90,'Ice','Special'] -> Physical
'Dream Eater':[75,'Dark','Physical'] -> Special
'Blaze Kick':[85,'Fire','Physical'] -> 90 BP
'Thunder':[120,'Electric','Special'], -> Wind
'Thunderbolt':[90,'Electric','Special'], -> Wind
'ThunderPunch':[75,'Electric','Physical'], -> Wind
'Thundershock':[40,'Electric','Special'], -> Wind
'Volt Tackle':[120,'Electric','Physical'] -> Wind
'Discharge':[80,'Electric','Special'], -> Wind
'Bullet Seed':[25,'Grass','Physical'], -> Nature
'Giga Drain':[75,'Grass','Special'] -> Nature


add
'Signal Beam':[90,'Heart','Special']
'Nature Sound':[95,'Nature','Special']
'LUNATIC':[120,'Steel','Special']
'Braver':[120,'Steel','Physical']
'Outrage':[120,'Dark','Physical']
'Frenzy Plant':[140,'Nature','Special'],


Function on Selfdestruct/Explosion to Halve Defense


doesnt edit: outrage is not a physical/physical move- ty for finding all these though

edit: found more

Slash'd Are done

Hatcalc1.02.zip (180 KB)
https://mega.co.nz/#!aU0AEbQA!ZBtVw35xr_vqnxDWbDOxt3nTecAjp7mprOunT22vkpE

Changelog:
Added Missing Moves
Corrected Wrong Move Data

Bonus: Rough version of a speed calculator
[inspoiler]The "Don't touch This"s from top to bottom are: Choice Scarf, Regular Pokemon Tailwind, and Quickfeet. Can't remove the checkboxes without breaking the Calculating.[/inspoiler]

the modified shoddy battle 1 client doesn't work for me even after running the original shoddy client so hope ya'll have fun till the old server comes back up
« Last Edit: August 23, 2013, 04:38:34 AM by shai_LP »

Offline EXSariel

  • AKA The Jamminstein (as Agastya puts it)
  • Administrator
  • A Member group
  • *****
  • Posts: 121
    • View Profile
Re: Touhoumon Damage Calc
« Reply #11 on: August 23, 2013, 08:13:21 AM »
I updated the web version of the calc to the one shai has posted, also uploaded the speed calc to http://thpp.supersanctuary.net/calc/speedcalc.html for now.
I'm not here.

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Re: Touhoumon Damage Calc
« Reply #12 on: August 23, 2013, 09:05:26 AM »
Sweetos.

Should be easier for Shanks or Someone to put together a speed tier list now

I might just do it if shoddy2 doesn't come back up soon though zzzzzz

Offline Naï

  • A Member group
  • Posts: 140
  • In training
    • View Profile
Re: Touhoumon Damage Calc
« Reply #13 on: August 23, 2013, 04:38:12 PM »
Hey, pretty neat, too. Thanks yet again.

If I might make a suggestion, though, is it possible for someone (Exs) to add links back and forth between both calculators? That'd make navigation far easier, and it's something pretty simple to do (I think).

Offline shai_LP

  • A Member group
  • Posts: 107
  • aaaaaaaaaaa
    • View Profile
Re: Touhoumon Damage Calc
« Reply #14 on: August 24, 2013, 09:08:37 AM »
ok.


Hatcalc1.021.zip (180 KB)
https://mega.co.nz/#!SV0XRApa!Ih1_oSI7TDKo6hPx_qfzui9YElN5Ahrhxo6s48tTqfY

fraud who can't figure out how to add a function for halving defense in the premises lets all point and laugh

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


How many Puppets do we have that use alternate speed spreads? Thinking of editing sets in the speed calc.