skill change system

Started by ddOpher on Thu, 06/03/2021 - 07:41

Topic category: Help with modding (Java Edition)

Last seen on 17:56, 21. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
skill change system
Thu, 06/03/2021 - 07:41

hello.

i'm trying to create a skill change system with a keybind.

keybind should change the global number variable for each time you press button like

if you press one time, it will active the first skill with making variable number 1. then in second one, it should change it to 2.

i did something like that :

 

if : waterskill = 1 

set global water skill = 2

send message

 

it doesn't change, how can i do that?