> For the complete documentation index, see [llms.txt](https://chaoss-organization.gitbook.io/chaosdungeon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoss-organization.gitbook.io/chaosdungeon/zhu-yao-mo-kuai-jie-shao/fu-ben-jiao-ben-zu-jian/bian-liang-variable.md).

# 变量 variable

脚本的某些特定事件中可使用这里所列举的变量

变量列表:

```
%dunPoint_<id>%  指定dunpoint的点数 (<id>替换成对应的point编号)
%dun_displayname% 副本显示名
%killpoint%       当前副本所击败的怪物总数
```

变量可用于以下事件中:

`TeamMessage`

`TeamTitle`

`setDunProgress`

兼容:&#x20;

如果安装了`PlaceholderAPI`则上述副本事件中可使用所有`PlaceholderAPI`的变量

同时本插件拓展了`PlaceholderAPI`可用变量

拓展变量:&#x20;

```
%cdun_displayname_<副本id>% 获取指定副本id的副本显示名
%cdun_timelimit_<副本id>%   获取指定副本id的副本时间限制(单位:分钟)
```

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chaoss-organization.gitbook.io/chaosdungeon/zhu-yao-mo-kuai-jie-shao/fu-ben-jiao-ben-zu-jian/bian-liang-variable.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
