ChkBufTag » 历史记录 » 版本 2
tejie, 2025-11-14 14:04
| 1 | 1 | tejie | h4. _*%{color:green}chkBufTag%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 检查对象身上,是否存在Buf标记id, |
||
| 4 | 可以是玩家自己, |
||
| 5 | 攻击的其它玩家(p.), |
||
| 6 | 攻击的怪物(m.) |
||
| 7 | |||
| 8 | 标签:命令定义^chkBufTag |
||
| 9 | |||
| 10 | 相关命令 |
||
| 11 | 2 | tejie | [[setClientBuff]] |
| 12 | [[closeClientBuff]] |
||
| 13 | 1 | tejie | [[setBufTag]] |
| 14 | 2 | tejie | |
| 15 | |||
| 16 | 1 | tejie | |
| 17 | *格式* |
||
| 18 | |命令名 |参数1 | |
||
| 19 | |chkBufTag|tagId | |
||
| 20 | |||
| 21 | *说明* |
||
| 22 | |^.参数1|tagId,1-5 | |
||
| 23 | |||
| 24 | |||
| 25 | - |
||
| 26 | - |
||
| 27 | |||
| 28 | h4. %{color:deepSkyBlue}特戒引擎脚本示例% |
||
| 29 | |||
| 30 | bq. ;--..\Mir200\Envir\Market_Def\QFunction-0.txt |
||
| 31 | %{color:green}[@attack]% |
||
| 32 | #if |
||
| 33 | not *{color:green}m.chkBufTag* 1 |
||
| 34 | #act |
||
| 35 | [[setBufTag|m.setBufTag]] 1 10000 |
||
| 36 | <notextile></notextile> |
||
| 37 | %{color:green}[@attackDamage]% |
||
| 38 | #if |
||
| 39 | *{color:green}m.chkBufTag* 1 |
||
| 40 | #act |
||
| 41 | [[print]] 本次掉血<$damageValue> |