Increasing a mob's damage with a procedure

Started by CaiGuyCrafter on Wed, 10/05/2022 - 01:18

Topic category: Help with modding (Java Edition)

Last seen on 14:24, 28. Nov 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Increasing a mob's damage with a procedure
Wed, 10/05/2022 - 01:18

Okay, so I am looking for a way to make it so that when a mob reaches a certain amount of health, a variable or something activates that causes it's damage and other stats to increase. (I am aware that I could just replace the entity with another entity that has the attributes I want, but I would rather have a seamless transition rather than it being a jumpy transition to a completely new mob, where you can see that they're health goes back up to full). If anyone could offer any help, that would be great, thanks!

Last seen on 00:49, 29. Nov 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Have you've tried editing…
Wed, 10/05/2022 - 09:47

Have you've tried editing their attributes with attributes command?

Last seen on 14:24, 28. Nov 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No, how do I do that? If you…
Fri, 10/14/2022 - 16:18

No, how do I do that? If you could tell me, that would be great, thanks!