> 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-tiao-jian/has_potion_effect.md).

# has\_potion\_effect

## `has_potion_effect`

需要（作为触发对象的）玩家当前拥有指定的药水效果。

## 示例配置

```yaml
- id: has_potion_effect
  args:
    effect: confusion # 药水效果ID
```
