Paste #101974: Testing an Alternative modify method

Date: 2022/10/04 14:38:47 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


berserker_boots:
    type: item
    debug: false
    material: netherite_boots
    display name: <red>Berserker Boots
    lore:
        - <&[Lore]>The pain will make you faster!
    mechanisms:
        unbreakable: true
        attribute_modifiers:
            generic_movement_speed:
                1:
                    operation: ADD_NUMBER
                    amount: <[berserker_speed_multiplier]>
    enchantments:
    - thorns:3
    - protection:4
    - projectile_protection:4
    - soul_speed:3
    flags:
        berserker_speed_multiplier: <player.health.div[-20].add[1]>