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...

Wynncraft Api - Stat Ranges

Discussion in 'Questions' started by Qatalyst, Dec 18, 2016.

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

    Qatalyst Skilled Adventurer

    Messages:
    41
    Likes Received:
    14
    Trophy Points:
    31
    I was reading the documentations for the public Wynncraft API and I noticed that stats given for any item only has static numbers, but when it's identified obviously the stats vary. How can I find the possible stat ranges from the information given when I make requests to the item database?

    Example:
    https://api.wynncraft.com/public_api.php?action=itemDB&search=tisaun's+proof
    Spell damage is 15 but searching the item guide, the possible spell damage is anywhere from 5-20.
     
  2. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,848
    Likes Received:
    3,710
    Trophy Points:
    194
    Minecraft:
    The API has not been updated in a while, so thats basically why Wynnapps.tk shows some outdated IDs
     
  3. Qatalyst

    Qatalyst Skilled Adventurer

    Messages:
    41
    Likes Received:
    14
    Trophy Points:
    31
    But wynnapps is still able to figure out ranges. If they use the outdated API then how do they calculate the min/max?
     
  4. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,848
    Likes Received:
    3,710
    Trophy Points:
    194
    Minecraft:
    for certain items, the IDs do not match.
    IF you are actually looking for the range, querying the API wont give you that. You have to calculate that yourself, with the minimum possible stat being (.7 * baseStat) and the max being (1.3 * baseStat). It is always rounded up to the nearest whole number relative to the ID.
     
  5. Qatalyst

    Qatalyst Skilled Adventurer

    Messages:
    41
    Likes Received:
    14
    Trophy Points:
    31
    Thanks! Thats what I was looking for. Think you're mistaken for the minimum though, looking at some examples it should be 0.3*base.
     
  6. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,848
    Likes Received:
    3,710
    Trophy Points:
    194
    Minecraft:
    no, it should only be a 30% deviation...
     
  7. Qatalyst

    Qatalyst Skilled Adventurer

    Messages:
    41
    Likes Received:
    14
    Trophy Points:
    31
    Looking at tisaun's proof's spell damage, 15*0.3 = 4.5, rounded up to 5. The item guide lists the spell damage as 5-20. Looking at the plague mask's health regen, the number given when an api request is made is 35. 35*0.3 is 10.5, the item guide lists the range as 11-46.
     
  8. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,848
    Likes Received:
    3,710
    Trophy Points:
    194
    Minecraft:
    thats interesting, and frankly, that makes no sense....... ¬_¬
     
  9. Yuno F Gasai

    Yuno F Gasai Forum God, FW

    Messages:
    13,439
    Likes Received:
    28,631
    Trophy Points:
    229
    Guild:
    Minecraft:
    wynapps takes its info from the api
     
  10. Lord_He1mchen

    Lord_He1mchen EX-Mod, was nice HERO

    Messages:
    1,387
    Likes Received:
    2,188
    Trophy Points:
    153
    Guild:
    Minecraft:
    If you take the information from the api you can calculate the min and max stats like this.
    positive stats:
    base*0.3 for worst stat
    base*0.8 for average
    base*1.3 for best stat
    negative stats:
    base*0.7 for best stat
    base is average
    base*1.3 for worst stat
     
    TotemOfUndying and Rixium like this.
Thread Status:
Not open for further replies.