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...
Dismiss Notice
Have some great ideas for Wynncraft? Join the official CT (content team) and help us make quests, builds, cinematics and much more!

Game Design Element Def Negative % With Negative Raw

Discussion in 'Feedback' started by JackyKit, Mar 23, 2017.

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

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    As we know that each element is weak to some other elements
    there is elemental def debuff on some armor against its weakness
    e.g. Water with -ve thunder def
    but when -ve raw def faced against -ve % def
    it actually increased that def
    maybe we should not put
    -ve % [element] on -ve [element] raw def
     
    coolname2034 and Chun_ like this.
  2. Yuno F Gasai

    Yuno F Gasai Forum God, FW

    Messages:
    13,440
    Likes Received:
    28,736
    Trophy Points:
    227
    Guild:
    Minecraft:
    wat
     
    coolname2034 likes this.
  3. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    e.g. -100 raw thunder def with - 50% thunder was meant to worsen ur thunder def
    but instead
    -100 * ( 1 + (-50%) ) = -50 thunder def
    it actually increases your thunder def
    which is minizing your negative def
     
  4. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,494
    Trophy Points:
    215
    Guild:
    Minecraft:
    So, Jumla just needs to reverse the sign of % elemental def when the Raw part is negative.
     
  5. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    ________________________________
     
  6. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    @motoki1 so I figured out a formula that could help with the situation
    TotalElementalDef = RawDef [1 + |PercentDef| (PercentDef /RawDef * |RawDef/PercentDef|) ]
    here's some example of how this equation demonstrates
    152%
    upload_2017-3-23_17-52-31.png

    -100%
    upload_2017-3-23_17-52-48.png


    46%
    upload_2017-3-23_17-53-2.png


    0% GRAPH BROKE CUZ X/0 FUCK ME

    -70%
    upload_2017-3-23_17-54-6.png


    -154%
    upload_2017-3-23_17-54-26.png

    @Selvut283 u may want to take a look
     
  7. motoki1

    motoki1 The Damage Calculation Scientist HERO

    Messages:
    3,344
    Likes Received:
    4,494
    Trophy Points:
    215
    Guild:
    Minecraft:
  8. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    It would be much easier with shit like if methods to test negative negative relationship instead of using absolute value test
    Don't hurt me I don't know coding
     
  9. Mistrise Mystic

    Mistrise Mystic Surfing winds and chasing windfalls

    Messages:
    7,373
    Likes Received:
    15,070
    Trophy Points:
    215
    Minecraft:
    Wait so if you use the gambler...
     
  10. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    nah gambler has super high raw
    double gambler is 400 on raw and guaranteen over -100% def
    that makes it way lower than -400
     
  11. Mistrise Mystic

    Mistrise Mystic Surfing winds and chasing windfalls

    Messages:
    7,373
    Likes Received:
    15,070
    Trophy Points:
    215
    Minecraft:
    I mean like using everything you can to lower your elemental defense as low as possible. And using only one gamber.
     
  12. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    that would be less effective than just building normal tank
     
  13. Mistrise Mystic

    Mistrise Mystic Surfing winds and chasing windfalls

    Messages:
    7,373
    Likes Received:
    15,070
    Trophy Points:
    215
    Minecraft:
    Shhhh
    Who cares about effectiveness. The point is it's there amd possible
     
    JackyKit likes this.
  14. JackyKit

    JackyKit Any gamebreaking glitch founder, fixed by Jumla HERO

    Messages:
    2,918
    Likes Received:
    2,671
    Trophy Points:
    147
    Guild:
    Minecraft:
    true maybe
     
  15. XavierEXE

    XavierEXE ♪ Wynncraft's Composer and Ability Tree Lead ♫ ♪ Music Item Team CHAMPION

    Messages:
    6,492
    Likes Received:
    22,035
    Trophy Points:
    215
    Minecraft:
    And this is why mind rot and shatterglass are overpowered in our current meta despite no one using them.
     
  16. orange0402

    orange0402 I got exposed by pyro VIP

    Messages:
    1,519
    Likes Received:
    2,546
    Trophy Points:
    162
    Minecraft:
    English please
     
  17. NotAFish

    NotAFish An evolved jungle slime Discord Moderator CHAMPION

    Messages:
    811
    Likes Received:
    668
    Trophy Points:
    123
    Minecraft:
    If you have -% elemtal defences and negative defences your defences will be increased because of the -% being multiplied by a -number eg. -10% of -50 = +5 therefore you would have -45 instead of -55 in that element, then there's just possible solutions
    ________________________________
    Just use an if statement which checks if both are negative:
    if (rawDef < 0 && percentageDef < 0){
    TotalDef = RawElementDef + RawElementDef * ( 1 + PercentElementDef )
    }
    else{
    TotalDef = RawElementDef - RawElementDef * ( 1 + PercentElementDef )
    }
    This works because of both the %of defence and the defence itself are negative it adds the number and -1 + -1 = -2. It's also written in Java I believe but otherwise it's just a case of changing the syntax a bit... also for whatever reason when I put spaces to intend it the spaces don't get shown ;-;
    ________________________________
    Look at my post above, nice work with the formula though
     
    Last edited: Mar 27, 2017
    JackyKit likes this.
Thread Status:
Not open for further replies.