Qf触发器 pgDropItem » 历史记录 » 版本 5
tejie, 2023-08-28 15:01
1 | 1 | yangdefeng | h4. _*%{color:green}[@pgDropItem]%*_ |
---|---|---|---|
2 | |||
3 | *说明* |
||
4 | 怪物掉落物品 |
||
5 | 3 | yangdefeng | 根据怪物掉落归属决定哪个角色触发 |
6 | 掉落归属为共享时,由杀死怪物的角色触发 |
||
7 | 1 | yangdefeng | |
8 | 4 | tejie | *相关配置* |
9 | m2 物品规则 掉落提示勾选项 |
||
10 | |||
11 | 配置文件 |
||
12 | string.ini |
||
13 | dropItemHint= |
||
14 | <notextile></notextile> |
||
15 | <notextile></notextile> |
||
16 | 5 | tejie | |
17 | 1 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
18 | |||
19 | bq. %{color:lightGrey};--..\Mir200\Envir\Market_Def\QFunction-0.txt% |
||
20 | [@pgDropItem] |
||
21 | #act |
||
22 | 4 | tejie | %{color:green}setDropBeam% 光柱资源id |
23 | %{color:green}setDropName% 掉落物名称 |
||
24 | %{color:green}setDropStr% s$掉落物信息 |
||
25 | 1 | yangdefeng | [[changeItemNameColor]] -1 251 |
26 | 4 | tejie | [[print]] 爆出物品的怪物名字_<$pgDropMonster> |
27 | [[print]] 爆出的物品名字_<$pgDropItem> |
||
28 | [[print]] 爆出物品的怪物所在地图名称_<$pgDropMap> |
||
29 | [[print]] 爆出物品的怪物所在地图X坐标_<$pgDropMapX> |
||
30 | [[print]] 爆出物品的怪物所在地图Y坐标_<$pgDropMapY> |
||
31 | 2 | yangdefeng | |
32 | 4 | tejie | |
33 | 1 | yangdefeng | [@pickUpItemEx] |
34 | 2 | yangdefeng | #if |
35 | #act |
||
36 | 4 | tejie | %{color:green}getDropStr% s$掉落物信息 |
37 | [[print]] 掉落物信息_<$str(s$掉落物信息)> |