Project MMO

Project MMO

10M Downloads

BREAK_SPEED perk issue with multiple skills.

Silvertide7 opened this issue ยท 0 comments

commented

Describe the bug
When I have 2 skills that both implement break speeds only one of them has the ability to effect the break speeds.

Expected behavior
Both skills effect the break speeds independently and additively.

To Reproduce
Create 2 perks that implement break speed:

[[Perks.For_Event.BREAK_SPEED]]
	skill = "strength"
	perk = "pmmo:break_speed"
	shovel_dig = 1.0
	axe_dig = 1.0
	pickaxe_dig = 1.0

[[Perks.For_Event.BREAK_SPEED]]
	skill = "dexterity"
	perk = "pmmo:break_speed"
	shovel_dig = 1.0
	axe_dig = 1.0
	pickaxe_dig = 1.0
  1. Set your dexterity to level 20. Notice the break speed increase when using a shovel, axe, or pickaxe.
  2. Set your dexterity to level 1. Check that the speed is much slower.
  3. Set strength to level 20. Notice that no increase in dig speed occurs. The break speed is now only tied to dexterity.

Versions:

  • Minecraft: 1.20.1
  • Loader: 47.1.47
  • PMMO: 1.20.1-1.2.5

Additional Notes
It appears that the first perk to trigger the break speeds is the one that is used.