Skip to content

Commit

Permalink
Fix #630 base attack damage amount
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Nov 27, 2024
1 parent 794657d commit 882178c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/ItemTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function AttributeModifiersTooltip({ data }: { data: NbtTag | undefined }) {
const operation = MODIFIER_OPERATIONS.indexOf(e.getString('operation'))
let absolute = false
if (id.equals(Identifier.create('base_attack_damage'))) {
amount += 2
amount += 1
absolute = true
} else if (id.equals(Identifier.create('base_attack_speed'))) {
amount += 4
Expand Down

0 comments on commit 882178c

Please sign in to comment.