项目

一般

简介

Qf触发器 struck » 历史记录 » 修订 3

修订 2 (tejie, 2025-07-17 14:55) → 修订 3/4 (tejie, 2025-07-17 14:57)

h4. _*%{color:green}[@struck]%*_ 

 标签:触发器^@struck 

 *说明* 
 玩家被攻击时触发 
 支持假人被攻击触发 

 相关命令 
 currrTargetName 

 标签:|currrTargetName>currrTargetName 

 - 
 - 

 h4. %{color:deepSkyBlue}特戒引擎脚本示例% 

 bq. 


 %{color:lightgrey};被攻击模块中,攻击者执行指定脚% 
 <notextile>[@attack]</notextile> 
 #act 
 currrTargetName #call [\path\scriptName.txt] <notextile>@跳转标签</notextile> 
 currrTargetName goto @跳转标签 

 bq. ;..\Mir200\Envir\Market_Def\QFunction-0.txt 
 [@struck] 
 #if 
 [[isDummy]] 
 #act 
 [[print]] print 假人--<$userName>--被攻击