1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Guide How Damage Is Calculated.

Discussion in 'Wynncraft' started by motoki1, Jan 28, 2017.

Thread Status:
Not open for further replies.
  1. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    136
    Guild:
    Minecraft:
    Question about defenses .... for wynndata I calculate the result of builds defense (doing the math for raw + % for elemental defenses) ... but I'm not sure if I'm doing it right (I think not)

    Current formula i'm using:
    Code:
    rawElemDef * (1 + (%elemDef / 100)
    in case both rawElemDef and %elemDef are negative, i'll get the absolute value of the %elemDef

    now.... I'm doing it wrong?

    Like if I have -100 fire defense and 50% fire defense, my current formula will go -150 fire def, shouldn't it go positive? no? idk help xD
     
  2. Jumla

    Jumla Head Developer/Founder of Wynncraft Staff Member Admin Developer HERO

    Messages:
    141
    Likes Received:
    2,873
    Trophy Points:
    84
    Minecraft:
    This alone is super impressive to reverse engineer
     
  3. DrBracewell

    DrBracewell Famous Adventurer CT Manager QA Modeler GM CMD CHAMPION

    Messages:
    1,086
    Likes Received:
    1,905
    Trophy Points:
    153
    Creator Karma:
    Guild:
    Minecraft:
    Inb4 motoki gets a new signature
     
  4. kokonut_pi

    kokonut_pi ( ~ ' - ' ) ~ HERO

    Messages:
    2,048
    Likes Received:
    2,391
    Trophy Points:
    175
    Minecraft:
    @motoki1 @dukioooo

    For Powders, I believe your builder/calculator adds up all the conversions together before applying the neutral conversion, meaning Spring's upper bound of 360 neutral damage becomes 360 - ( 0.32 * 3 * 360 ) = 14 neutral damage. However note that there are roundings for each individual powder since it is possible to only powder Spring with only 1 or 2 Water Powders. This suggests that the correct formula requires rounding for each individual powder. In Spring's case, the first T6 Water should bring 360 to 244.8 (since 32% of 360 is 115.2), rounding to 244 (according to my calculations it always rounds down). The second T6 Water brings 244 to 128.8 (subtract 115.2 from 244), rounding to 128. The final powder will bring 128 to 12.8, rounding down to 12, which is correct.
     
    dukioooo likes this.
  5. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    136
    Guild:
    Minecraft:
    Gonna try this... Even tho in the the difference is so small
    ________________________________
    Any idea on this @Net_Twerk ?
     
  6. Cloud Man

    Cloud Man Bruh HERO

    Messages:
    1,008
    Likes Received:
    932
    Trophy Points:
    130
    Minecraft:
    Surprised how long this thread has lived. It's amazing work for sure
     
  7. kokonut_pi

    kokonut_pi ( ~ ' - ' ) ~ HERO

    Messages:
    2,048
    Likes Received:
    2,391
    Trophy Points:
    175
    Minecraft:
    That should be correct. Somebody decided that logistical mathematics was optimal for elemental defense calculations.
     
    motoki1 likes this.
  8. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,493
    Trophy Points:
    217
    Guild:
    Minecraft:
    Updated the thread (a bit).
    As the fix for some minor calculation bugs came out (Thread link), I updated the written formula inside the thread for a bit.
    Although, please note it is to be confirmed how Class Base Def. ("Innate defense boosts") affects the damage taken and that if it affects only Neutral as it did before or all damage.

    Assuming that, Defense points, Class defense boosts and War Scream/Vanish boosts are all multiplied differently to the damage now.
    Gonna apply these to my excel calculator soon.
     
  9. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,493
    Trophy Points:
    217
    Guild:
    Minecraft:
    Update:
    Before I begin, I'd like to credit @TinaChan for helping me conduct these tests in PvP (duels).

    So as everyone knows, the fix for "Invincible warrior" has come out, supposedly. (Link to the changelog) I tested if it's actually fixed in-game with @TinaChan, and I found out the system for defense calculation was still not fixed (at least from what I see) and "invincible warrior" is still possible.
    Please note I tested this only in PvP, and not yet for PvE. As the code (or the calculation system) seems to be a bit different between PvE and PvP, there might have been fixes that I haven't noticed yet in PvE.

    Finally, again, all the information here is confirmed by me unofficially, and could be wrong at any time. I do not mean to blame jpresent or the update this time, but rather contribute to it. In fact, this update has done so many already; fixing the Explosion damage into Elemental damage to prevent crazy neutral damage output, fixing the way IDs work and much others I can't list. - so I wanted to credit him for all of this.

    PS: I updated the excel sheet calculator as well, so check it out! https://forums.wynncraft.com/threads/wynncraft-damage-calculator.177525/
     
  10. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    149
    Guild:
    Minecraft:
    please tell me wynn fixed some shoot after I have been gone for so long
     
    Luky0 likes this.
  11. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,493
    Trophy Points:
    217
    Guild:
    Minecraft:
    Well pretty sure it's the season of bug fixes, guilds are (supposedly) fixed.
    https://forums.wynncraft.com/threads/tis-the-season-of-bugfixes.211999/

    I'm not just yet sure about the damage calculation facts that I mentioned, though. It's already been a month since the last check in-game.. time surely flies for me
     
  12. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    136
    Guild:
    Minecraft:
    [​IMG]

    I remember before there was like a 150 points cap with 80.8%, it has been changed?
     
    Dr Zed likes this.
  13. Risu

    Risu Famous Adventurer

    Messages:
    1,154
    Likes Received:
    497
    Trophy Points:
    111
    i miss u
     
  14. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,493
    Trophy Points:
    217
    Guild:
    Minecraft:
    yeah I remember someone mentioning it's now officially capped at 150pts, but not sure where it was.
     
    Dr Zed likes this.
  15. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    136
    Guild:
    Minecraft:
    the screen was took post update.... so its capped at 150 but still shows more in the skill points screen?
     
  16. YYGAYMER

    YYGAYMER reeeee FW FW HIC Master HERO Featured Wynncraftian

    Messages:
    5,156
    Likes Received:
    16,253
    Trophy Points:
    217
    Guild:
    Minecraft:
    @motoki1
    Is 'Total Upper Cut' damage / 'Total Multi Hit' damage added yet?
     
  17. Selvut283

    Selvut283 Circadian rhythm stuck on Tokyo time ♪ Music Item Team GM CHAMPION

    Messages:
    7,042
    Likes Received:
    21,892
    Trophy Points:
    217
    Creator Karma:
    Guild:
    Minecraft:
    Yep, we tested it earlier. Skill boosts cap at 150.
     
    dukioooo likes this.
  18. dukioooo

    dukioooo Creator of WynnData HERO

    Messages:
    3,311
    Likes Received:
    2,526
    Trophy Points:
    136
    Guild:
    Minecraft:
    thank you :D
     
    Dr Zed likes this.
  19. Selvut283

    Selvut283 Circadian rhythm stuck on Tokyo time ♪ Music Item Team GM CHAMPION

    Messages:
    7,042
    Likes Received:
    21,892
    Trophy Points:
    217
    Creator Karma:
    Guild:
    Minecraft:
    Also, dukio. Your Multihits multiplier is incorrect. You have it as a total 320% damage. That's short of what it was even before the buff; it used to be 350% total(25% damage per hit, 100% damage final hit), then Salted buffed it up to 420% total(30% damage per hit, 120% damage final hit).
     
    dukioooo likes this.
  20. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,493
    Trophy Points:
    217
    Guild:
    Minecraft:
    Hey Selvut, just tested that in main server, but couldn't confirm it.
    Multihit's multiplier is still 20% per hit and 120% final hit. Tested with no armor, and Crystal Senbon.
     
    dukioooo likes this.
Thread Status:
Not open for further replies.