Qf触发器 recharge » 历史记录 » 版本 5
tejie, 2025-10-18 10:04
| 1 | 1 | tejie | h4. _*%{color:green}[@recharge]%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 4 | tejie | 标签:触发器定义^@recharge |
| 4 | 1 | tejie | |
| 5 | *说明* |
||
| 6 | 游戏中充值时触发。 |
||
| 7 | |||
| 8 | 5 | tejie | *触发器中返回变量* |
| 9 | |<$scriptParam1>|本次充值档| |
||
| 10 | |||
| 11 | 充值档相关配置 |
||
| 12 | 文件路径 |
||
| 13 | ..\Mir200\Tejieconfig\Tejieconfig.txt |
||
| 14 | 配置充值项 |
||
| 15 | [charge] |
||
| 16 | 参数10 充值档位 |
||
| 17 | |||
| 18 | 1 | tejie | *相关变量* |
| 19 | 2 | tejie | |<$reCharge[X].frequency>|第N档充值次数| |
| 20 | |<$recharge[X].number>|第N档充值金额| |
||
| 21 | 3 | tejie | |<$allRecharge>|总充值| |
| 22 | |<$testRecharge>|测试服充值| |
||
| 23 | 2 | tejie | |<$dayRecharge>|当日充值| |
| 24 | 1 | tejie | |
| 25 | *相关命令* |
||
| 26 | [[checkChargeLimit]] |
||
| 27 | [[checkAllRecharge]] |
||
| 28 | |||
| 29 | - |
||
| 30 | - |
||
| 31 | |||
| 32 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 33 | 5 | tejie | |
| 34 | bq. *{color:lightpink}..\Mir200\Envir\Market_Def\QFunction-0.txt* |
||
| 35 | *{color:green}[@recharge]* |
||
| 36 | #if |
||
| 37 | #act |
||
| 38 | [[mov]] s$本次充值档 *{color:green}<$scriptParam1>* |
||
| 39 | #call [\触发器\recharge.txt] @main |
||
| 40 | <notextile></notextile> |
||
| 41 | *{color:lightpink}..\Mir200\Envir\QuestDiary\触发器\recharge.txt* |
||
| 42 | [@main] |
||
| 43 | #if |
||
| 44 | #act |
||
| 45 | [[print]] 本次充值档:<$str(s$本次充值档)> |