mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Fix #630 base attack damage amount
This commit is contained in:
@@ -265,7 +265,7 @@ function AttributeModifiersTooltip({ data }: { data: NbtTag | undefined }) {
|
|||||||
const operation = MODIFIER_OPERATIONS.indexOf(e.getString('operation'))
|
const operation = MODIFIER_OPERATIONS.indexOf(e.getString('operation'))
|
||||||
let absolute = false
|
let absolute = false
|
||||||
if (id.equals(Identifier.create('base_attack_damage'))) {
|
if (id.equals(Identifier.create('base_attack_damage'))) {
|
||||||
amount += 2
|
amount += 1
|
||||||
absolute = true
|
absolute = true
|
||||||
} else if (id.equals(Identifier.create('base_attack_speed'))) {
|
} else if (id.equals(Identifier.create('base_attack_speed'))) {
|
||||||
amount += 4
|
amount += 4
|
||||||
|
|||||||
Reference in New Issue
Block a user