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

Started by ShadowPlayer51 on

Topic category: Help with MCreator software

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing the "amount" dependency in the "Before entity is hurt" global trigger

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.

Joined Jan 2019
Points:

User statistics:

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

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

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I might be necro, But I also…
Fri, 07/15/2022 - 20:21

I might be necro, But I also would like to know