I am trying to make it so that an item does more damage every time you hit something, what am I doing wrong?

Started by Hotdogbananaman on

Topic category: Help with modding (Java Edition)

Last seen on 00:00, 27. Oct 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am trying to make it so that an item does more damage every time you hit something, what am I doing wrong?
Wed, 03/01/2023 - 00:57 (edited)

this is the code, but for some reason the number (the global variable) never goes up, what am I doing wrong? the version I am using is 2021.1 since every other version I try doesn't work

Edited by Hotdogbananaman on Wed, 03/01/2023 - 00:57
Last seen on 00:00, 27. Oct 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Wed, 03/01/2023 - 00:56

Last seen on 11:52, 24. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the item menu just choose…
Fri, 03/31/2023 - 11:29

In the item menu just choose durability, and make the stack size 1, you'll be good to go.

Last seen on 11:09, 16. May 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you explain how you did…
Thu, 05/11/2023 - 20:10

Can you explain how you did that global damageforblood thing please?

Last seen on 00:00, 27. Oct 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I created a variable and…
Sat, 05/20/2023 - 01:22

I created a variable and made it global I think