Started by
TruelyKevin
on
Topic category: Help with MCreator software
I am trying to code in a function that when a specific sword does a critical hit, it lights the enemy on fire. I saw that in event trigger there is one, but I am trying to attach one to an 'if' statement thing. Please help.
first go in advanced tab and search for "logic dependency", and write in it "isvanillacritical"
then the procedure is:
-global trigger: player deals critical hit
-if logic dependency:"isvanillacritical" = true and item in main hand of source entity = "your custom sword"
-set event target entity on fire for ... seconds