Qf触发器 struck » 历史记录 » 版本 2
tejie, 2025-07-17 14:55
1 | 1 | yangdefeng | h4. _*%{color:green}[@struck]%*_ |
---|---|---|---|
2 | |||
3 | 2 | tejie | 标签:触发器^@struck |
4 | |||
5 | 1 | yangdefeng | *说明* |
6 | 玩家被攻击时触发 |
||
7 | 2 | tejie | 支持假人被攻击触发 |
8 | 1 | yangdefeng | |
9 | 相关命令 |
||
10 | currrTargetName |
||
11 | |||
12 | 标签:|currrTargetName>currrTargetName |
||
13 | |||
14 | |||
15 | %{color:lightgrey};被攻击模块中,攻击者执行指定脚% |
||
16 | <notextile>[@attack]</notextile> |
||
17 | #act |
||
18 | currrTargetName #call [\path\scriptName.txt] <notextile>@跳转标签</notextile> |
||
19 | currrTargetName goto @跳转标签 |
||
20 | 2 | tejie | |
21 | ;..\Mir200\Envir\Market_Def\QFunction-0.txt |
||
22 | [@struck] |
||
23 | #if |
||
24 | [[isDummy]] |
||
25 | #act |
||
26 | print 假人--<$userName>--被攻击 |