项目

一般

简介

CheckHumanState » 历史记录 » 修订 2

修订 1 (tejie, 2024-12-12 09:57) → 修订 2/3 (tejie, 2025-07-04 14:48)

h4. _*%{color:green}checkHumanState%*_ 

 检测目标是否处于某种状态中,支持多级脚本。 

 标签:命令定义^checkHumanState 标签:命令定义>checkHumanState 

 *格式* 
 |命令名 		 |参数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 当前目标怪物冰冻中!