procedure crashing my game

Started by Arthur1324 on

Topic category: Help with modding (Java Edition)

Last seen on 19:28, 2. Mar 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
procedure crashing my game
Fri, 12/01/2023 - 23:42 (edited)

i was making a weapon special attack that consists in a dash wich deals damage in all creatures nearby, and it worked perfectly. after that i made another procedure that makes me give another dash if i kiled a mob with the last dash (kinda like the bandit from clash royale), but then i realize that it would not be possible to do that the way i was doing before, since the kill was made by a procedure and not by a player. i was searching ways to fix that when i found the "deal damage from source" block, but  now my game crash when i use the ability. i made tests and discovered that the problem was with the procedure with the "deal damage from source" block. i have absolutely no idea how to soulve this and i need help. i gonna post both procedures (the first one will have the one crashing the game and the one who didnt)
 

https://imgur.com/a/wRYSh5I

thanks in advance

Edited by Arthur1324 on Fri, 12/01/2023 - 23:42