Using Entity Attacked procedure "amount" dependency is freezing the game

Started by Isalick34 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 14:47, 19. Jul 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using Entity Attacked procedure "amount" dependency is freezing the game
Sat, 05/18/2024 - 18:15 (edited)

I'm trying to use the amount dependency to make a specific weapon do triple damage to undead enemies. I can use the amount dependency just to get the damage values, but when I use it to deal triple the damage, it freezes my game.

https://imgur.com/a/a3oFpCx

these are 2 different ways I did it.

 

If I use the "Before Entity is Hurt" global trigger, it totally breaks the game.

any solution would be appreciated.

Edited by Isalick34 on Sat, 05/18/2024 - 18:15
Last seen on 14:47, 19. Jul 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After some messing around, I…
Sat, 05/18/2024 - 19:02

After some messing around, I managed to solve the issue like this:
https://imgur.com/a/1Dim5yB