Damage modules not affecting mobs
USBCharger opened this issue ยท 2 comments
I'm using a plugin on my server that utilizes vindicators, and in the process of that, I've discovered that mobs with weapons (ie: mob with iron axe attacking player) are dealing a LOT more damage than if a player was to hit them (the default 1.9+ damage, I believe)
Is there a way to make mobs use OCM tool damage? Is that supposed to be the default? Is there a config line I could have messed up? (or anything else that could have gone wrong lol) or is this standard practice?
Here is the tool damage part of my config in case this information is helpful.
old-tool-damage: enabled: true old-sharpness: true damages: # Axe damages GOLD_AXE: 4 WOOD_AXE: 4 STONE_AXE: 5 IRON_AXE: 6 DIAMOND_AXE: 7 NETHERITE_AXE: 8 # Shovel damages GOLD_SPADE: 2 WOOD_SPADE: 2 STONE_SPADE: 3 IRON_SPADE: 4 DIAMOND_SPADE: 5 NETHERITE_SPADE: 6 # Sword damages GOLD_SWORD: 5 WOOD_SWORD: 5 STONE_SWORD: 6 IRON_SWORD: 7 DIAMOND_SWORD: 8 NETHERITE_SWORD: 9 # Pickaxe damages GOLD_PICKAXE: 3 WOOD_PICKAXE: 3 STONE_PICKAXE: 4 IRON_PICKAXE: 5 DIAMOND_PICKAXE: 6 NETHERITE_PICKAXE: 7 # Hoe damages GOLD_HOE: 1 WOOD_HOE: 1 STONE_HOE: 1 IRON_HOE: 1 DIAMOND_HOE: 1 NETHERITE_HOE: 1
Most modules should work for all LivingEntity instances, meaning both players and mobs. It's possible some might have been missed, do you have a specific example we can test out?