Bug Closed · Resolved

Custom Stats do not work on Latest Dev

#5202 opened by Unknown 2 years ago

Unknownreported this bug

Title. Tested with this Crucible item:

test-stat_armor:
  Id: GOLDEN_CHESTPLATE
  Display: 'Test Chestplate'
  Lore:
    Template: BasicWeaponTest
    Description: "Lots of custom stats."
  Stats:
  - HEALTH 10 ADDITIVE
  - DEFENSE 100 ADDITIVE
  - ARMOR_GENERIC 100 ADDITIVE

And only Health seems to do anything. When damaged, the expected behavior should be that the player takes less damage. The player takes the same amount of damage.

I used the default stats config, with all Stats set to enabled. No attempt at custom stats worked at all.

On Paper 1.20.4, MythicMobs Build #5127, Crucible Build 3880.

Aside from that, I couldn't find any documentation for implementing custom stats on Items aside from a single example here: https://git.mythiccraft.io/mythiccraft/mythiccrucible/-/wikis/Dynamic-Lore-Generation

More documentation and examples would be greatly appreciated.

Unknowncommented

EDIT: It seems that reloading MM does not properly update all stats on existing items, and sometimes causes stats to get "stuck" on the player.

Also, some of my custom stats work now but for some reason, others do not. There doesn't seem to be a pattern to this, but custom stats sometimes don't work. It's an absolute headache to deal with.

Sign in to join the discussion.