Epic Fight

Epic Fight

13M Downloads

[5.1.5] Missing item stats

DarkScorn opened this issue ยท 6 comments

commented

All items which are not defined by default or via config don't have any default values for Impact, armor negation, and number of hits per swing.

One example,
2021-10-28_11 43 29

2021-10-28_11 57 20

Also, are crossbows and bows intended to have impact and hit-per-swing values?
2021-10-28_11 43 35

commented

You must set up the config file or datapack to add attributes to the modded weapons.

And yes, the impact value works as same as melee weapons. Hit per swing on the crossbow is same as Piercing enchantment.

commented

I see.
Is there a way other than setting up every item one by one? like the automatic value generation in the old versions?

commented

Actually, I haven't made an automatic value generation system.

commented

Wait, then how did different weapons and armor that aren't vanilla or defined in config had different values of stats, like all axes having armor negation? Armors having increased stats in correlation with their protection value?

commented

Ahh, I got it. They were hardcoded in older version but I removed them because it was waste of memory.

I'll consider how to revive a function like that.

commented

Okay, that makes sense now. thank you.