Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Damage modules not affecting mobs #735

Open
USBCharger opened this issue Jun 6, 2024 · 2 comments
Open

Damage modules not affecting mobs #735

USBCharger opened this issue Jun 6, 2024 · 2 comments
Labels
investigate We have yet to investigate this issue

Comments

@USBCharger
Copy link

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

@kernitus
Copy link
Owner

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?

@USBCharger
Copy link
Author

Vindicator/zombie with iron axe vs unenchanted diamond armor player should be a decent test to get the idea of what's going on

@kernitus kernitus changed the title Mob damage query/bug? Damage modules not affecting mobs Jun 12, 2024
@kernitus kernitus added the investigate We have yet to investigate this issue label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate We have yet to investigate this issue
Projects
None yet
Development

No branches or pull requests

2 participants