Project MMO

Project MMO

10M Downloads

Scaling Blocking XP and Block Arrows XP

Tyrius1 opened this issue ยท 0 comments

commented

Describe the bug
When blocking damage from melee hits the damage is not calculated when awarded xp like how Melee_to_Mobs is calculated. Instead it just gives a flat amount based on configured amount in datapack.

When blocking projectiles shot by pillager or skeleton no xp is awarded

Expected behavior
For melee blocking and projectile blocking the hope would be that it scales the amount of xp granted based on the amount of damage blocked. Rather than just a flat amount.

To Reproduce
Steps to reproduce the behavior:

  1. Set shield_block to an amount
  2. Block a pillager or skeleton arrow
  3. Get no xp awarded

Versions:

  • Minecraft: 1.19
  • PMMO: pmmo-1.19-0.1.0