PGSetDamageAdd » 历史记录 » 版本 1
machenhe, 2022-04-29 17:28
| 1 | 1 | machenhe | _*%{color:green}PGSetDamageAdd%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 设置攻击伤害加成 |
||
| 4 | |||
| 5 | 标签:命令定义|PGSetDamageAdd |
||
| 6 | |||
| 7 | *格式* |
||
| 8 | |命令名 |参数1 |参数2 |参数3 | |
||
| 9 | |PGSetDamageAdd |目标类型 |百分比值 |有效时间 | |
||
| 10 | |||
| 11 | 说明: |
||
| 12 | * 参数1:目标类型 |
||
| 13 | ** 1:所有目标 |
||
| 14 | ** 2:人物 |
||
| 15 | ** 3:怪物 |
||
| 16 | |||
| 17 | * 参数2:百分比值 |
||
| 18 | |||
| 19 | * 参数3:有效时间,单位为秒 |
||
| 20 | ** 空或0:在线有效 |
||
| 21 | |||
| 22 | *注意* |
||
| 23 | * 伤害加成结束时触发 %{color:green}..\\Mir200\\Envir\\Market_Def\\QFunction-0.txt% 中的 %{color:orange}[@PGDamageAddTimeoutX]% ,X对应参数1的类型 |
||
| 24 | |||
| 25 | *%{color:deepskyblue}特戒引擎脚本示例:%*: |
||
| 26 | |||
| 27 | bq. [<notextile>@</notextile>攻击加成] |
||
| 28 | #act |
||
| 29 | PGSetDamageAdd 1 200 10 |
||
| 30 | [[SendMsg]] 6 你的攻击伤害+200%,持续10秒 |
||
| 31 | |||
| 32 | bq. [<notextile>@</notextile>打怪加成] |
||
| 33 | #act |
||
| 34 | PGSetDamageAdd 3 200 10 |
||
| 35 | SendMsg 6 你对怪物的攻击伤害+200%,持续10秒 |
||
| 36 | |||
| 37 | bq. [<notextile>@</notextile>打人加成] |
||
| 38 | #act |
||
| 39 | PGSetDamageAdd 2 200 10 |
||
| 40 | SendMsg 6 你对人物的攻击伤害+200%,持续10秒 |
||
| 41 | |||
| 42 | bq. %{color:green}QFunction.txt% 配置: |
||
| 43 | [<notextile>@</notextile>PGDamageAddTimeout2] |
||
| 44 | #act |
||
| 45 | sendmsg 6 你对人物的物理伤害加成结束 |