Skill leveling system

Started by Lord_Gator on

Topic category: Help with modding (Java Edition)

Last seen on 23:16, 12. Nov 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Skill leveling system

Hello! I am trying to make a skill system similar to hypixel skyblocks skill system. Can someone tell me how to do this?

Last seen on 07:36, 20. Apr 2023
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Idk how hypixel skyblock…
Wed, 09/08/2021 - 14:02

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!

Last seen on 23:16, 12. Nov 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Wed, 09/08/2021 - 21:18

Thanks!