I have a custom weapon, but without the feature.

Started by Boe And Arrow_… on

Topic category: Help with MCreator software

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a custom weapon, but without the feature.
Sat, 11/19/2022 - 00:49 (edited)

I am making a weapon, this weapon is a sword that heals 2.5 hearts every time you kill an enemy. Here's the catch: I have a problem doing so, as such I have come to ask for help here.

Thank you, sincerely Boe And Arrow, from Night House

Edited by Boe And Arrow_Night House on Sat, 11/19/2022 - 00:49
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If I understand, you sword…
Fri, 12/09/2022 - 20:35

If I understand, you sword don't heal the player when he kill an enemy ?

What is your procedure ? You maybe have early do that, but the procedure have to look like that :

In "When an entity is hit by the tool"

If entity is killed

set player life to [player life] + 2,5

If it doesn't work, I can't help you and I'm sorry.