"Deal Damage" Ignores armor (SOLVED. FORMULA AVAILABLE)

Started by IndyJacksonTT on

Topic category: Help with MCreator software

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Deal Damage" Ignores armor (SOLVED. FORMULA AVAILABLE)
Sat, 03/04/2023 - 05:38 (edited)

The "deal damage" armor block ignores armor and this is honestly pretty unbalanced for my mod.

I was wondering if anyone knew the math I should use to subtract the damage, obviously I would use the "get armor value" to do this.

Like how much I should divide it by?

Edited by IndyJacksonTT on Sat, 03/04/2023 - 05:38
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thought I'd re-open this…
Sun, 12/25/2022 - 08:28

Thought I'd re-open this. The formula listed won't work since there isn't a "get armor toughness of entity" block.

If anyone has a working formula for this that'd be great

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
https://imgur.com/T08Twyj  …
Sat, 03/04/2023 - 03:55

https://imgur.com/T08Twyj

 

ive made a working formula for damage reduction. works just as vanilla. based off the formula in the armor wiki

for anyone who comes here with the same problem

Download for procedure import: https://www.mediafire.com/file/8x82pnvz1kt5n1e/armor_formula.ptpl/file