1. The moderator of this forum is OrdA.
  2. Welcome to Smogon Forums! Please take a minute to read the rules.
  3. Click here to ensure that you never miss a new SmogonU video upload!

Programming Gen 7 Damage Calculator

Discussion in 'Technical Projects' started by Austin, Jan 23, 2017.

  1. UnleashOurPassion

    UnleashOurPassion

    Joined:
    Feb 7, 2017
    Messages:
    148
    I would like to add to that another situational but not unimportant move effect: Charge

    I know I can just put the Pokémon on +2 Atk or SpA but that messes with non-electric moves as well, making it a hassle sometimes
    charizard8888 likes this.
  2. sumwun

    sumwun

    Joined:
    Mar 29, 2015
    Messages:
    425
    Razor leaf defaults to special. I'm pretty sure it's not supposed to be like that.
  3. Rage.Spam.Quit.

    Rage.Spam.Quit.

    Joined:
    May 22, 2016
    Messages:
    93
    If possible, can the speed stat of a Pokemon be changed after item stat modifiers (ex: if a Pokemon is holding Choice Scarf, can the calc automatically multiply the existing speed stat by 1.5? It would be helpful so I don't have to use Google calculator every time).

    Also idk when the calc has been updated with sets, but I do know it hasn't implemented the new sets that came with the CAP Updates on CAP pokemon. I can provide these if needed.
    Twix and david0895 like this.
  4. Austin

    Austin Not a weeb
    is a Battle Server Moderator

    Joined:
    Jun 3, 2014
    Messages:
    361
    fixed
    sumwun likes this.
  5. UnleashOurPassion

    UnleashOurPassion

    Joined:
    Feb 7, 2017
    Messages:
    148
    This is a pretty minor thing but the damagecalc defaults Z-Moves to physical even though it corrects them to special later if it's specially based.

    This gives an incorrect calc in the situation in which you're basing a Z-Move off a special move and are trying to boost it with a Choice Specs item for whatever reason.

    Show Hide
    [​IMG]
    [​IMG]


    This is technically unimportant but cleaning up code like this might help solve problems in the future.

    Sorry for nitpicking
  6. Austin

    Austin Not a weeb
    is a Battle Server Moderator

    Joined:
    Jun 3, 2014
    Messages:
    361
    I'll do this when necessary, considering you can't use a Z-move with a boosting item I don't see how this is useful atm and iirc there was a request to negate held item boosts like life orb which makes me very resentful in changing it.
    E: I was correct, https://github.com/Zarel/honko-damagecalc/commit/3cdb78644fbafb005ca2472f93d93bac67af8e04
    UnleashOurPassion likes this.
  7. UnleashOurPassion

    UnleashOurPassion

    Joined:
    Feb 7, 2017
    Messages:
    148
  8. Austin

    Austin Not a weeb
    is a Battle Server Moderator

    Joined:
    Jun 3, 2014
    Messages:
    361
    Too much hand holding, sorry
    UnleashOurPassion likes this.
  9. Sensualplay

    Sensualplay

    Joined:
    Nov 21, 2016
    Messages:
    58
    is it possible to make a dark theme/mode and be turn by default if you select it ?
  10. david0895

    david0895

    Joined:
    Jun 3, 2015
    Messages:
    498
    252 Atk Darmanitan Spirit Shackle vs. 0 HP / 4 Def Kartana: 73-87 (28.1 - 33.5%) -- 0.2% chance to 3HKO
    252 Atk Darmanitan Anchor Shot vs. 0 HP / 4 Def Kartana: 36-43 (13.8 - 16.6%) -- possible 7HKO

    Sheer Force doesn't boost these moves
  11. Austin

    Austin Not a weeb
    is a Battle Server Moderator

    Joined:
    Jun 3, 2014
    Messages:
    361
    Doesn’t and is boosting or doesn’t and should be boosting?
  12. david0895

    david0895

    Joined:
    Jun 3, 2015
    Messages:
    498
    They should be boosted
  13. Austin

    Austin Not a weeb
    is a Battle Server Moderator

    Joined:
    Jun 3, 2014
    Messages:
    361
    Fixed
    david0895 likes this.

Users Viewing Thread (Users: 0, Guests: 0)