Reduce Projectile Damage

Started by slave2midn on Mon, 08/29/2022 - 18:49

Topic category: Help with MCreator software

Last seen on 18:37, 1. Nov 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Reduce Projectile Damage
Mon, 08/29/2022 - 18:49

I'm trying to work on a procedure that will allow me to reduce the damage of incoming projectiles, similar to the "Projectile Protection". I'm attempting to add an Armor Set bonus for a particular armor set, that will reduce said damage while still allowing players to put enchantments on the armor.

I have half the procedure, and am able to check for the armor - but the problem I'm having is how to write the procedure to:

1. Detect the incoming damage as a projectile

2. Reduce the incoming damage IF it is a projectile.