Multiple `pmmo:damage_boost` Perks Causing Issues
SomewhatDamaged opened this issue ยท 0 comments
Describe the bug
When having multiple pmmo:damage_boost
perks affecting the same attack (but with different skills), they seem to interact and result in no damage being dealt.
This works:
[[Perks.For_Event.DEAL_DAMAGE]]
perk = "pmmo:damage_boost"
skill = "combat"
applies_to = ["#forge:tools/tridents"]
per_level = 0.5
base = 1
multiplicative = true
per_x_level = 2
max_level = 50
This doesn't:
[[Perks.For_Event.DEAL_DAMAGE]]
perk = "pmmo:damage_boost"
skill = "combat"
applies_to = ["#forge:tools/tridents"]
per_level = 0.5
base = 1
multiplicative = true
per_x_level = 2
max_level = 50
[[Perks.For_Event.DEAL_DAMAGE]]
perk = "pmmo:damage_boost"
skill = "archery"
applies_to = ["#forge:tools/tridents"]
per_level = 0.5
base = 1
multiplicative = true
max_level = 50
per_x_level = 2
[07May2024 14:05:24.738] [Server thread/DEBUG] [harmonised.pmmo.util.MsLoggy/]: Perk Executed: pmmo:damage_boost
[07May2024 14:05:24.738] [Server thread/DEBUG] [harmonised.pmmo.util.MsLoggy/]: Pre-Perk Damage:9.1512
[07May2024 14:05:24.738] [Server thread/DEBUG] [harmonised.pmmo.util.MsLoggy/]: Damage Modified from 9.1512 to 9.1512
[07May2024 14:05:24.738] [Server thread/DEBUG] [harmonised.pmmo.util.MsLoggy/]: Attack Type: minecraft:player_attack | Damage Out: 9.1512
Expected behavior
Each perk should trigger.
To Reproduce
Steps to reproduce the behavior:
- Add the two-perks above to
pmmo-Perks.toml
- Clear skills and then give yourself 50
combat
- See error
Versions:
- Minecraft: 1.20.1)
- Loader: Forge-47.2.30
- PMMO: 1.20.1-1.3.21
Additional context