Changing the "amount" dependency in the "Before entity is hurt" global trigger

Started by ShadowPlayer51 on Sat, 07/24/2021 - 23:03

Topic category: Help with MCreator software

Last seen on 07:02, 19. Sep 2021
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Changing the "amount" dependency in the "Before entity is hurt" global trigger
Sat, 07/24/2021 - 23:03

I wanted to know if there was some sort of code block that could change the "amount" dependency in the "Before entity is hurt" global trigger. Like if the player was holding a certain item before the damage, you could set the amount to 0.75 what it would have been, or something like that.

Last seen on 20:37, 18. Sep 2021
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry, bumping this. This is…
Wed, 08/18/2021 - 13:53

Sorry, bumping this. This is important for me too.