> For the complete documentation index, see [llms.txt](https://docs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superiormc.cn/auxilor-plugins/zi-ding-yi-xiao-guo/suo-you-xiao-guo/damage_mainhand.md).

# damage\_mainhand

## `damage_mainhand`

**触发效果**[**​**](https://plugins.auxilor.io/effects/all-effects/damage_mainhand#triggered-effect)

消耗目标的主手上的物品的耐久。

## 示例配置

```yaml
- id: damage_mainhand
  args:
    damage: 1 # 消耗的耐久
```
