Project MMO

Project MMO

10M Downloads

BREAK_SPEED perk increases are increasing all tool break speeds

Silvertide7 opened this issue ยท 0 comments

commented

Describe the bug
pmmo:break_speed perks are increasing all tool break speeds, not just the one specified. I have 2 perks, both of them scaled off of different skills. One gives a break speed increase to pickaxe_dig and the other to shovel_dig. When I increase the levels of the pickaxe_dig related skill I get an increase in my shovel dig speed. When I max them both out the break speed is twice as fast as intended. I imagine this would extend to axe_dig, hoe_dig, shear_dig, and sword_dig as well.

Expected behavior
Only the specified break speed is affected.

To Reproduce
Steps to reproduce the behavior:
Add perks:

		[[Perks.For_Event.BREAK_SPEED]]
			skill = "dexterity"
			perk = "pmmo:break_speed"
			pickaxe_dig = 0.1

		[[Perks.For_Event.BREAK_SPEED]]
			skill = "strength"
			perk = "pmmo:break_speed"
			shovel_dig = 0.1

Test breaking a few dirt in a row while both are at low level. Increase the level of dexterity and test digging with a shovel. It will have increased.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions:

  • Minecraft: 1.20.1
  • Loader: 47.1.44
  • PMMO: 1.20.1-1.1.3