Project MMO

Project MMO

10M Downloads

DEAL_RANGED_DAMAGE isn't working.

Silvertide7 opened this issue ยท 0 comments

commented

Describe the bug
When adding a perk for DEAL_RANGED_DAMAGE it doesn't scale the weapons.

Expected behavior
The damage to be increased.

To Reproduce
Steps to reproduce the behavior:
Create a perk:

[[Perks.For_Event.DEAL_RANGED_DAMAGE]]
	applies_to = ["minecraft:bow", "minecraft:crossbow", "minecraft:trident"]
	skill = "dexterity"
	perk = "pmmo:damage_boost"
	per_level = 0.5
	max_boost = 10.0

Check the damage in game at 0 dexterity and 20 dexterity, it does the same.

Versions:

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

Additional context
The DEAL_RANGED_DAMAGE event seems to be firing in the logs correctly.