项目

一般

简介

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

修订 1 (yangdefeng, 2022-12-27 09:16) → 修订 2/4 (tejie, 2025-07-17 14:55)

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

 标签:触发器^@struck 

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

 相关命令 
 currrTargetName 

 标签:|currrTargetName>currrTargetName 


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

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