Started by
Eridido
on
Topic category: Help with Minecraft modding (Java Edition)
I made a procedure that make my custom mob regen all of its hp when at 40 hp on 400 but i want it to happend once so the mob can be killed but i dont know how to do it. do you have any idea how i can fix that? Thanks
Hi Eridido,
could you show a screenshot of the procedure? You can use imgur and paste the link in a comment.
Simple, make a ntb variable that start in "false" and, when the Mob heals, Made the variable "true"
The procedure look like this:
If NTB variable = false do
If get Entity Target current Health β€ 40 do
Set Health of Entity Target to 400
Set NTB variable to true