CheckHumanState » 历史记录 » 修订 3
修订 2 (tejie, 2025-07-04 14:48) → 修订 3/5 (tejie, 2025-07-04 14:51)
h4. _*%{color:green}checkHumanState%*_
检测目标是否处于某种状态中,支持多级脚本。
标签:命令定义^checkHumanState
相关命令
[[changeState]]
*格式*
|命令名 |参数1 |
|checkHumanState|状态ID |
*说明*
|^.参数1|状态ID列表
1.魔法盾
2.护体神盾
3.无极真气
4.幽灵盾
5.神圣战甲术
6.隐身术
7.冰冻
8.麻痹
10.蛛网|
-
-
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
bq. [@示例]
#if
*{color:green}checkHumanState* 1
#act
[[sendMsg]] 6 当前角色魔法盾开启中!
<notextile></notextile>
#if
%{color:lightGrey};--针对目标玩家的多级脚本%
*{color:green}p.checkHumanState* 1
#act
[[sendMsg]] 6 当前目标人物魔法盾开启中!
<notextile></notextile>
#if
%{color:lightGrey};--针对目标怪物的多级脚本%
*{color:green}m.checkHumanState* 7
#act
[[sendMsg]] 6 当前目标怪物冰冻中!