Started by
Squildo
on
Topic category: Troubleshooting, bugs, and solutions
Hello, I looked before downloading the topic if someone had found a solution to my problem. But nobody.
I am currently making a mod and I would like to create a procedure that can make the thorn effect, that is when a creature attacks a player, this creature will take damage with a certain percentage.
So far so good but when a creature attacks me, I feel like the procedure activates infinitely and the text that is supposed to be displayed activates infinitely and then the game crashes.
Thank you very much.
I forgot to show you a picture:
https://imgur.com/1JMOO0R
Hello there,
To deal damage to the attacker, you should change the "event/target entity" to "source entity" in the " deal 1 damage to ,..." like this one
https://ibb.co/FsYXVY4
Anyway, good luck on your mod.
Wow, thank you. Everything works perfectly now. 😆