Started by
Lord_Gator
on
Topic category: Help with Minecraft modding (Java Edition)
Hello! I am trying to make a skill system similar to hypixel skyblocks skill system. Can someone tell me how to do this?
Topic category: Help with Minecraft modding (Java Edition)
Hello! I am trying to make a skill system similar to hypixel skyblocks skill system. Can someone tell me how to do this?
Idk how hypixel skyblock skill system works but I did a skill system based on the player level. Create some integer(number) variables for "level", "currentXP", "maxXP" and other boolean(logic) variables for the skills, like (dash, doubleJump, speed...) also set all the logic variables to false. Then you can make procedures for all of them maybe with keybinds or something (if Global:doubleJump = true, then execute procedure "doubleJump" at x y z)
You could also make it like passive abilities like if player Global:speed = true then set potion speed II every tick or idk something like that.
My level system worked like so: u start with level = 1, currentXP = 0 and maxXP = 6. Every time you killed a mob you got 5xp and while currentXP>maxXP, then currentXP - maxXP (now increment maxXP like a 20% or so) and level++
Hope it helps!
Thanks!