[SOLVED] How to make an enchantment that increases critical damage by a percentage amount.

Started by AliveWater on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] How to make an enchantment that increases critical damage by a percentage amount.
Tue, 10/01/2024 - 17:51 (edited)

Like mentioned in the title I need help with an enchantment that increases critical damage by a percentage amount. Does anyone know how to do this?

Edited by AliveWater on Tue, 10/01/2024 - 17:51
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can probably use the …
Tue, 10/01/2024 - 01:23

You can probably use the "Player deals critical hit" additional trigger on a global trigger procedure element.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! But how would I get…
Tue, 10/01/2024 - 17:44

Thanks! But how would I get the amount of damage done by the critical hit so I could increase it by a percentage amount?

 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh hm I see ig you'd have to…
Tue, 10/01/2024 - 17:49

oh hm I see ig you'd have to use it in together with "Entity attacked" and a global variable... Unless the "damagemodifier" dependency is what you're looking for.