FarmersDelight icon indicating copy to clipboard operation
FarmersDelight copied to clipboard

[1.18.2] Knife with Backstabbing on main hand applies the effect to any damage the player gives

Open vectorwing opened this issue 3 years ago • 1 comments

Description If a player is holding a Knife enchanted with Backstabbing on their main hand, any damage this player delivers to mobs will receive the backstab multiplier. This can potentially lead to extreme damage scaling where it shouldn't happen.

Steps to reproduce:

  1. Enchant any Knife with Backstabbing;
  2. Hold the Knife in your main hand;
  3. Deal damage to a mob using the off-hand (for example, a Bow).

Expected behavior: Backstabbing should only apply to the enchanted knife's attacks, nothing else.

Mod list: Farmer's Delight 1.18.2 - 1.2.0 Forge 40.1.46

vectorwing avatar Nov 13 '22 15:11 vectorwing

Issue #603 is related to, or caused by, this bug.

vectorwing avatar Dec 27 '22 18:12 vectorwing