berserker_chestplate_script: type: world debug: true events: on player damaged: - if : - define armor_multiplier - define armor_toughness_multiplier - definemap armor_boost: generic_armor: 1: operation: ADD_SCALAR amount: <[armor_multiplier]> slot: chest generic_armor_toughness: 1: operation: ADD_SCALAR amount: <[armor_toughness_multiplier]> slot: chest - inventory adjust slot:chest attribute_modifiers:<[armor_boost]>