Qfunction触发器 » 历史记录 » 版本 17
yangdefeng, 2023-06-07 10:33
1 | 1 | yangdefeng | h3. QFunction触发器 |
---|---|---|---|
2 | |||
3 | 8 | yangdefeng | h4. |
4 | 1 | yangdefeng | |
5 | 7 | yangdefeng | |\3={background-color:lightgrey}.玩家相关| |
6 | 1 | yangdefeng | |_. 触发器 |_. 触发条件 | |
7 | |[@upHorse] |点击上马按钮(需要配置坐骑) | |
||
8 | 8 | yangdefeng | |[@downHorse] |点击下马按钮 | |
9 | 7 | yangdefeng | |[@openHumBag] |打开背包 | |
10 | 8 | yangdefeng | |[[主界面自定义功能按钮|[@buttonClickX]]] |点击主界面自定义功能按钮时触发(X为按钮序号) | |
11 | 1 | yangdefeng | |[@itemBagButtonClickX] |点击自定义背包按钮(X为序号) | |
12 | 7 | yangdefeng | |[@storageOpenFailX] |打开指定仓库页时触发(X为仓库页序号) | |
13 | |[[qf触发器_bagOpenFailX|[@bagOpenFailX]]] |打开指定扩展背包页时触发(X为背包页序号) | |
||
14 | |[[qf触发器_startAutoPlayGame|[@startAutoPlayGame]]] |点击挂机按钮触发 | |
||
15 | 8 | yangdefeng | |[@stAutoPlayGame] |执行脚本命令 *[[stAutoPlayGame]]* 触发 | |
16 | |[[qf触发器_stopAutoPlayGame|[@stopAutoPlayGame]]] |方式1 点击取消挂机按钮或双击地面取消挂机 |
||
17 | 1 | yangdefeng | 方式2 执行脚本命令 *[[stopAutoPlayGame]]* |
18 | 3 | yangdefeng | | |
19 | 7 | yangdefeng | |[@taskX] |点击任务栏中的任务(X为任务编号) | |
20 | |[@crtGuild] |创建行会 | |
||
21 | 8 | yangdefeng | |[@prvtMsg] |收到私聊消息,且未打开一对一聊天框时触发 |
22 | 7 | yangdefeng | 返回消息发出角色名称,存入变量s0 |
23 | 1 | yangdefeng | | |
24 | 9 | yangdefeng | |[[qf触发器_buyShopItem|[@buyShopItem]]] |商城购买道具触发 | |
25 | 16 | yangdefeng | |[[qf触发器_titleChanged_X|[@titleChanged_X]]] |装备指定称号触发,X为物品表对应称号道具shape值 | |
26 | |[[qf触发器_unTitled_X|[@unTitled_X]]] |卸下指定称号触发,X为物品表对应称号道具shape值 | |
||
27 | 9 | yangdefeng | |\2.| |
28 | |[@cost_gameGlory] |消耗<$gameGlory>时触发,返回消耗值m0 | |
||
29 | |[@cost_gameDiamond] |消耗<$gameDiamond>时触发,返回消耗值m0 | |
||
30 | |[@cost_goldCount] |消耗<$goldCount>时触发,返回消耗值m0 | |
||
31 | |[@cost_gamePoint] |消耗<$gamePoint>时触发,返回消耗值m0 | |
||
32 | |[@cost_gameGold] |消耗<$gamePoint>时触发,返回消耗值m0 | |
||
33 | |[@cost_gameGird] |消耗<$gameGird>时触发,返回消耗值m0 | |
||
34 | |[@cost_creditPoint] |消耗<$creditPoint>时触发,返回消耗值m0 | |
||
35 | 1 | yangdefeng | |\3={background-color:lightgrey}.道具相关| |
36 | 7 | yangdefeng | |_. 触发器 |_. 触发条件 | |
37 | |[@giveitemX] |脚本命令give给玩家物品时触发(X为物品表idx) | |
||
38 | 14 | yangdefeng | |[[qf触发器_giveItemEx|[@giveItemEx]]] |命令give给物品时触发(装备类返回唯一id至s0) | |
39 | 1 | yangdefeng | |[[qf触发器_stdModeFuncX|[@stdModeFuncX]]] |使用对应道具(X为stdItem.csv表中Anicount值) | |
40 | 8 | yangdefeng | |[@autoRecycle] |点击自动回收勾选框时触发 | |
41 | 7 | yangdefeng | |[@manualRecycle] |触发手动回收功能 | |
42 | |[@getBoxsItemX] |点击打开宝箱(X为shape值) | |
||
43 | 8 | yangdefeng | |[@inbag] |背包中增加道具触发,返回道具名称(s0)与数量(n0) | |
44 | |[@outbag] |背包中减少道具触发,返回道具名称(s0)与数量(n0) | |
||
45 | 7 | yangdefeng | |\3={background-color:lightgrey}.升级相关| |
46 | |_. 触发器 |_. 触发条件 | |
||
47 | 1 | yangdefeng | |[@updateskill] |升级/学习技能 | |
48 | 7 | yangdefeng | |[@playLevelUp] |升级 | |
49 | 8 | yangdefeng | |\3={background-color:lightgrey}.装备相关| |
50 | 1 | yangdefeng | |_. 触发器 |_. 触发条件 | |
51 | |[@takeOnX] |穿戴指定装备(X为序号) | |
||
52 | |[@takeOffX] |脱下指定装备(X为序号) | |
||
53 | |[@groupItemOnX] |穿戴指定套装(X为套装id) | |
||
54 | |\3={background-color:lightgrey}.战斗相关| |
||
55 | |_. 触发器 |_. 触发条件 | |
||
56 | |[@revival] |复活 | |
||
57 | |[@onKillMob] |MapInfo文件配置onKillMon参数,在对应地图杀怪触发| |
||
58 | 11 | yangdefeng | |[@getExp] |击杀有经验的怪物获取经验触发,返回<$getExp> | |
59 | 1 | yangdefeng | |[@killPlay] |击杀玩家 | |
60 | |[@playDie] |玩家死亡 | |
||
61 | 15 | yangdefeng | |[[qf触发器_attack|[@attack]]] |攻击玩家或怪物 | |
62 | |[[qf触发器_struck|[@struck]]] |被玩家或怪物攻击 | |
||
63 | 8 | yangdefeng | |[@magicAttack] |使用技能攻击玩家或怪物 | |
64 | |[@magicStruck] |被技能攻击 | |
||
65 | |[@slaveAttack] |宠物攻击玩家或怪物 | |
||
66 | |[@slaveStruck] |宠物受到攻击 | |
||
67 | |[@pgSlaveAttack] |宠物攻击玩家或怪物 | |
||
68 | |[@pgSlaveStruck] |宠物受到攻击 | |
||
69 | |[@slaveMagicAttack] |宠物使用技能攻击 | |
||
70 | |[@slaveMagicStruck] |宠物受到技能攻击 | |
||
71 | |[@pgSlaveMagicAttack] |宠物使用技能攻击 | |
||
72 | |[@pgSlaveMagicStruck] |宠物受到技能攻击 | |
||
73 | |[@pgSlaveDie] |宠物死亡触发 | |
||
74 | |[@critAttack] |物理攻击触发暴击 | |
||
75 | |[@critMagicAttack] |魔法攻击触发暴击(道术同属于魔法) | |
||
76 | 7 | yangdefeng | |\3={background-color:lightgrey}.掉落相关| |
77 | 8 | yangdefeng | |_. 触发器 |_. 触发条件 | |
78 | |[@pgDropItem] |怪物掉落物品 | |
||
79 | |[@pickUpItemEX] |捡道具 | |
||
80 | 1 | yangdefeng | |[[qf触发器_pickUpItemX|[@pickUpItemX]]] |捡指定道具(X=物品表中的IDX) | |
81 | 8 | yangdefeng | |[@dropItemEx] |丢弃道具 | |
82 | 1 | yangdefeng | |[[qf触发器_dropItemX|[@dropItemX]]] |丢弃指定道具(X=物品表中的IDX) | |
83 | |[[qf触发器_scatterBagItems|[@scatterBagItems]]] |角色掉落背包中的道具触发 | |
||
84 | |[[qf触发器_dropUseItems|[@dropUseItems]]] |角色掉落使用中的道具触发 | |
||
85 | 12 | chenjun | |[[qf触发器_butchX|[@butchX]]] |采集怪物尸体时触发(X=怪物表中的Butch) | |
86 | |\3={background-color:lightgrey}.充值商城相关| |
||
87 | 8 | yangdefeng | |_. 触发器 |_. 触发条件 | |
88 | |[@recharge] |充值成功 | |
||
89 | |[@buyShopItem] |通过商城购买物品成功 | |
||
90 | 7 | yangdefeng | |
91 | 8 | yangdefeng | h4. |
92 | |||
93 | 7 | yangdefeng | |\3={background-color:lightgrey}.无效触发器| |
94 | 1 | yangdefeng | |_. 触发器 |_. 触发条件 | |
95 | 7 | yangdefeng | |[@playReconnection] |重连或切换账号 | |
96 | |[@playOffline] |离线 | |
||
97 | |[@queryingHumName] |查询名称 | |
||
98 | |[@queryHumNameOK] |名称通过 | |
||
99 | |[@changeingHumName] |修改角色名称 | |
||
100 | |[@changeHumNameOK] |修改名称成功 | |
||
101 | |[@nameLengthFail] |检测名称长度过长 | |
||
102 | |[@humNameFilter] |名称存在非法字符 | |
||
103 | |[@humNameExists] |名称已存在 | |
||
104 | |[@changeHumNameFail] |改名失败 | |
||
105 | |[@queryMyShopFail] |查询个人商店失败 | |
||
106 | |[@shopStall] |点击摆摊按钮 | |
||
107 | |[@itemUpgrade] |在宝石升级界面进行升级 | |
||
108 | |||
109 | 8 | yangdefeng | h4. |
110 | |||
111 | 7 | yangdefeng | |\3={background-color:lightgrey}.功能异常的触发器| |
112 | 8 | yangdefeng | |_. 触发器 |_. 触发条件 |_. 详情 | |
113 | |[@magSelfFuncX] |主角对自己使用指定技能(X为技能ID) |主角Self、Tag、Mon三个触发器同时触发 | |
||
114 | |[@magTagFuncX] |主角对目标玩家使用指定技能(X为技能ID) |主角Self、Tag、Mon三个触发器同时触发 | |
||
115 | |[@magMonFuncX] |主角对怪物使用指定技能(X为技能ID) |主角Self、Tag、Mon三个触发器同时触发 | |
||
116 | |[@slaveMagSelfFuncX] |宠物对自己使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
117 | |[@slaveMagTagFuncX] |宠物对目标玩家使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
118 | |[@slaveMagTagFuncExX] |宠物对目标玩家使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
119 | |[@slaveMagMonFuncX] |宠物对怪物使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
120 | |[@walk] |移动触发 |与[@Run]同时触发 | |
||
121 | |[@run] |移动触发 |与[@Walk]同时触发 | |