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

Started by ShadowPlayer51 on

Topic category: Help with MCreator software

Last seen on 08:50, 26. Mar 2024
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.

Last seen on 15:05, 6. Oct 2023
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.

Last seen on 14:20, 26. Mar 2024
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