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 ] Systematic Recreation - Dev Blog: Major Ids

Discussion in 'Your Work' started by Novalescent, Mar 12, 2020.

Tags:
?

Do you want to see more of these?

  1. Yes!

    24 vote(s)
    100.0%
  2. Nope.

    0 vote(s)
    0.0%
Thread Status:
Not open for further replies.
  1. Novalescent

    Novalescent Retired Wynncraft Systematic Recreation Developer HERO

    Messages:
    569
    Likes Received:
    2,631
    Trophy Points:
    109
    Minecraft:
    Why am I making this? I got sorta bored one day as I'm always working on this by myself, so I thought "Hey, I should show some of my code to some of the people of Wynncraft!"

    So, today we're here with possibly the first and last Developer Blog that I'll be doing. I don't really know yet if people want to see this, so this is just to see if people are actually interested in this sort of thing. I won't be talking formal or anything so don't be expect some fancy speeches or soemthing.

    For this first one, I'm gonna be showin' y'all one of my favorite features to mess with: Major IDs.

    We all know Major IDs right? They're those cool IDs that give you super cool actives and passives for you to use. Some of them can even alter your spells! Sweet right?
    [​IMG]

    "Wait, that isn't the original description! What changed!?" Well let's go into some techy stuff.

    The Wynncraft API allows me to get any item based off of a name I search up, however it returns it in JSON format. Certain items return a "majorIds" field, which is an array that has the json names of the Major IDs it has.
    [​IMG]

    This array can hold more than 1 major ID, which means I could theoretically slap every single major ID onto one item.

    So, we get the majorIds field. What then? Well, since Major IDs I'm assuming will always return capitalize, I defined them in the code using Enums, each having their own unique set of information stored.
    [​IMG]

    The two main parameters to note here are MajorIDRating, and BaseMajorID.
    MajorIDRating is currently unused, but this basically explores the concept of Negative Major IDs, Major IDs that actually give you negative benefits. This is useful to create unique drawbacks to items, such as @highbread's proposal to Cataclysm to remove the -Health ID, and replace it with a Negative Major ID to reduce the player's Max HP by a % amount.

    BaseMajorID is where the magic happens. In most cases, Major IDs are essentially booleans (true or false statements). If the player has it when they do something, do something else. If not, do whatever is normally done. This case can be applied to the Hawkeye Major ID. If the player has it, they cast 5 powerful arrows instead of an arrow barrage. If not, the normal Arrow Barrage spell is used.
    However, certain Major IDs such as Transcendence essentially grant a passive or even an active sometimes. That is where the BaseMajorID comes in. If a player has this major ID, then it checks to see if the BaseMajorID has some sort of extra function or functions to it. If so, it runs those special functions. In Transcendence's case, it checks to see if the RANDOM variable will output a true state (it's a 50-50 shot). If so, it would set the amount of mana used to 0.
    [​IMG]
    Some of the possible functions I can do for Major IDs. I plan to add more down the line when I need them.

    Alright, enough techy stuff, let's get into the fun stuff. If it isn't obvious already, making Custom Major IDs with this thing is fairly simple to do. It's actually really fun seeing all of these new mechanics come to life as well.

    I mean, just look at this awesome Major ID I made just to test this out!
    [​IMG]

    This is essentially a mage auto attack, except longer. It was made for the concept of Divzer, as the lore says its arrows go extremely fast and eventually phase out of existence, which made the "Phasing Arrows" idea come to mind.
    I really wish you guys could try it out. It's soooo fun! My friend @NagisaStreams and some other folks got together and essentially made a quake-style minigame where you have a Super Slow Bow with the Phasing Arrows Major ID, and you can 1 shot each other with it. It's essentially Quake in Wynncraft. Hella fun if you ask me.

    So how crazy can I go with Major IDs? I don't know yet, but all I know is I can create the whackiest crap in existence. For instance, check this out:
    [​IMG]
    [​IMG]
    This isn't an actual item nor actual Major ID that will be used, don't worry.

    It took me like a solid 5 minutes to make, but only because it was basically a damage change. Some like Madness take a while to get down.

    I'm actually hella hyped to start making major IDs and possibly testing some of the community's ideas for Major IDs. This is one of my favorite features of Wynncraft and I'm excited to be able to play around with it. Reality can be whatever I want...

    Anyway, that's it for now. I am actually curious to see what kind of ideas you guys have for Major IDs, so you can comment them if you want and I might test it out if it looks cool!

    Thanks for reading, and as always, feedback is appreciated!
     
    Last edited: Mar 12, 2020
  2. NagisaStreams

    NagisaStreams Sertified idiot QA

    Messages:
    428
    Likes Received:
    1,359
    Trophy Points:
    89
    Guild:
    Minecraft:
    Aka "Hey *item team member* what if we added *insert idea* as a major ID on *insert item*"

    jokes aside stuff is epic
     
    Vendenar, Castti and Novalescent like this.
  3. Skylaar

    Skylaar erm HERO

    Messages:
    2,145
    Likes Received:
    4,825
    Trophy Points:
    207
    Minecraft:
    Yes. Yesyesyes Yyeess. yES. YES SEY YES y35
     
  4. btdmaster

    btdmaster Famous Adventurer VIP+ Item Team

    Messages:
    1,376
    Likes Received:
    1,795
    Trophy Points:
    151
    Minecraft:
    Kinda shmexy ngl


    (yes pls do more kthankbye)
     
  5. one_ood

    one_ood c lown VIP

    Messages:
    3,622
    Likes Received:
    6,313
    Trophy Points:
    215
    Guild:
    Minecraft:
    pretty hot :eyes:
     
Thread Status:
Not open for further replies.