Healing Sword

Started by WitPantix on

Topic category: Help with MCreator software

Last seen on 09:24, 7. Jan 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Healing Sword
Sun, 02/26/2023 - 09:44 (edited)
how can i create a weapon that every 7 hits gives me a heart?
Edited by WitPantix on Sun, 02/26/2023 - 09:44
Last seen on 21:53, 18. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make a variable…
Wed, 03/08/2023 - 01:26

You can make a variable called hits that is "PLAYER-LIFETIME." you could have it go up every hit, and make it so that every time it is at least 7 you set it to 0 and heal the player 2 health.