Qfunction触发器 » 历史记录 » 版本 53
tejie, 2024-07-17 18:00
1 | 1 | yangdefeng | h3. QFunction触发器 |
---|---|---|---|
2 | |||
3 | 43 | tejie | *{color:firebrick}文件位置* |
4 | ..\Mir200\Envir\Market_Def\QFunction-0.txt |
||
5 | |||
6 | 8 | yangdefeng | h4. |
7 | 1 | yangdefeng | |
8 | 7 | yangdefeng | |\3={background-color:lightgrey}.玩家相关| |
9 | 1 | yangdefeng | |_. 触发器 |_. 触发条件 | |
10 | 24 | yangdefeng | |[[qf触发器_onHorse|[@onHorse]]] |点击上马按钮开始读条前触发(需要配置坐骑) | |
11 | |[@upHorse] |点击上马按钮开始读条后触发(需要配置坐骑) | |
||
12 | 8 | yangdefeng | |[@downHorse] |点击下马按钮 | |
13 | 7 | yangdefeng | |[@openHumBag] |打开背包 | |
14 | 8 | yangdefeng | |[[主界面自定义功能按钮|[@buttonClickX]]] |点击主界面自定义功能按钮时触发(X为按钮序号) | |
15 | 1 | yangdefeng | |[@itemBagButtonClickX] |点击自定义背包按钮(X为序号) | |
16 | 7 | yangdefeng | |[@storageOpenFailX] |打开指定仓库页时触发(X为仓库页序号) | |
17 | |[[qf触发器_bagOpenFailX|[@bagOpenFailX]]] |打开指定扩展背包页时触发(X为背包页序号) | |
||
18 | |[[qf触发器_startAutoPlayGame|[@startAutoPlayGame]]] |点击挂机按钮触发 | |
||
19 | 8 | yangdefeng | |[@stAutoPlayGame] |执行脚本命令 *[[stAutoPlayGame]]* 触发 | |
20 | |[[qf触发器_stopAutoPlayGame|[@stopAutoPlayGame]]] |方式1 点击取消挂机按钮或双击地面取消挂机 |
||
21 | 1 | yangdefeng | 方式2 执行脚本命令 *[[stopAutoPlayGame]]* |
22 | 3 | yangdefeng | | |
23 | 8 | yangdefeng | |[@prvtMsg] |收到私聊消息,且未打开一对一聊天框时触发 |
24 | 47 | tejie | 返回消息发出角色名称,存入变量s0| |
25 | 9 | yangdefeng | |\2.| |
26 | |[@cost_gameGlory] |消耗<$gameGlory>时触发,返回消耗值m0 | |
||
27 | |[@cost_gameDiamond] |消耗<$gameDiamond>时触发,返回消耗值m0 | |
||
28 | |[@cost_goldCount] |消耗<$goldCount>时触发,返回消耗值m0 | |
||
29 | |[@cost_gamePoint] |消耗<$gamePoint>时触发,返回消耗值m0 | |
||
30 | |[@cost_gameGold] |消耗<$gamePoint>时触发,返回消耗值m0 | |
||
31 | 1 | yangdefeng | |[@cost_gameGird] |消耗<$gameGird>时触发,返回消耗值m0 | |
32 | |[@cost_creditPoint] |消耗<$creditPoint>时触发,返回消耗值m0 | |
||
33 | |[[qf触发器_enterMap|[@enterMap]]] |切换地图成功后触发,返回跳前地图编号<$lastMap> | |
||
34 | |[[qf触发器_beginTeleport|[@beginTeleport]]] |传送戒指传送前触发 | |
||
35 | 52 | tejie | |[[qf触发器_clientBuffClickX|[@clientBuffClickX]]] |点击buff图标触发,X为buffId | |
36 | 53 | tejie | |[[qf触发器_closeBuffClickX.|[@closeBuffClickX.]]] |buff图标关闭时触发,X为buffId | |
37 | |[[qf触发器_closeClientBuffX.|[@closeClientBuffX.]]] |buff图标关闭时触发,X为buffId | |
||
38 | 47 | tejie | |\3={background-color:lightgrey}.称号相关| |
39 | |_. 触发器 |_. 触发条件 | |
||
40 | |[[qf触发器_titleChanged_X|[@titleChanged_X]]] |装备指定称号触发,X为物品表对应称号道具shape值 | |
||
41 | |[[qf触发器_unTitled_X|[@unTitled_X]]] |卸下指定称号触发,X为物品表对应称号道具shape值 | |
||
42 | |[[qf触发器_activeTitle_X|[@activeTitle_X]]] |称号由非激活变为激活时触发,X为物品表对应称号道具shape值 | |
||
43 | |[[qf触发器_unactiveTitle_X|[@unactiveTitle_X]]] |称号由激活变为非激活时触发,X为物品表对应称号道具shape值 | |
||
44 | 30 | yangdefeng | |\3={background-color:lightgrey}.任务相关| |
45 | 31 | yangdefeng | |_. 触发器 |_. 触发条件 | |
46 | 30 | yangdefeng | |[@taskX] |点击任务栏中的任务(X为任务编号) | |
47 | |[@task] |点击任务栏中的任务时触发,返回任务id至N0 | |
||
48 | 1 | yangdefeng | |[@pickupTaskX] |当接取对应任务X时触发 | |
49 | |[@finishTheTaskX] |完成对应任务X时触发 | |
||
50 | 42 | yangdefeng | |\3={background-color:lightgrey}.行会相关| |
51 | |_. 触发器 |_. 触发条件 | |
||
52 | |[@crtGuild] |创建行会 | |
||
53 | 47 | tejie | |[[qf触发器_guildApply|[@guildApply]]] |点击申请加入指定行会按钮 | |
54 | 31 | yangdefeng | |\3={background-color:lightgrey}.改名相关| |
55 | |_. 触发器 |_. 触发条件 | |
||
56 | |[[qf触发器_changeHumNameOK|[@changeHumNameOK]]] |角色修改名称成功 | |
||
57 | |[[qf触发器_changeHumNameFail|[@changeHumNameFail]]] |角色修改名称失败,返回失败原因变量<$err> | |
||
58 | 1 | yangdefeng | |\3={background-color:lightgrey}.道具相关| |
59 | 7 | yangdefeng | |_. 触发器 |_. 触发条件 | |
60 | |[@giveitemX] |脚本命令give给玩家物品时触发(X为物品表idx) | |
||
61 | 14 | yangdefeng | |[[qf触发器_giveItemEx|[@giveItemEx]]] |命令give给物品时触发(装备类返回唯一id至s0) | |
62 | 1 | yangdefeng | |[[qf触发器_stdModeFuncX|[@stdModeFuncX]]] |使用对应道具(X为stdItem.csv表中Anicount值) | |
63 | 48 | tejie | |[[qf触发器_stdModeFuncExX|[@stdModeFuncExX]]] |使用对应道具(X为stdItem.csv表中Anicount值) | |
64 | 28 | yangdefeng | |[[qf触发器_stdModeFunc|[@stdModeFunc]]] |使用道具,返回对应Anicount值至N0 | |
65 | 8 | yangdefeng | |[@autoRecycle] |点击自动回收勾选框时触发 | |
66 | 7 | yangdefeng | |[@manualRecycle] |触发手动回收功能 | |
67 | |[@getBoxsItemX] |点击打开宝箱(X为shape值) | |
||
68 | 8 | yangdefeng | |[@inbag] |背包中增加道具触发,返回道具名称(s0)与数量(n0) | |
69 | |[@outbag] |背包中减少道具触发,返回道具名称(s0)与数量(n0) | |
||
70 | 7 | yangdefeng | |\3={background-color:lightgrey}.升级相关| |
71 | |_. 触发器 |_. 触发条件 | |
||
72 | 1 | yangdefeng | |[@updateskill] |升级/学习技能 | |
73 | 7 | yangdefeng | |[@playLevelUp] |升级 | |
74 | 8 | yangdefeng | |\3={background-color:lightgrey}.装备相关| |
75 | 1 | yangdefeng | |_. 触发器 |_. 触发条件 | |
76 | |[@takeOnX] |穿戴指定装备(X为序号) | |
||
77 | 40 | tejie | |[[qf触发器_takeOn|[@takeOn]]] |穿戴装备,返回装备栏id至N0 | |
78 | 1 | yangdefeng | |[@takeOffX] |脱下指定装备(X为序号) | |
79 | 40 | tejie | |[[qf触发器_takeOff|[@takeOff]]] |脱下装备,返回装备栏id至N0 | |
80 | 50 | tejie | |[[qf触发器_beginTakeOff|[@beginTakeOff]]] |脱下装备前触发 | |
81 | 1 | yangdefeng | |[@groupItemOnX] |穿戴指定套装(X为套装id) | |
82 | |\3={background-color:lightgrey}.战斗相关| |
||
83 | |_. 触发器 |_. 触发条件 | |
||
84 | |[@revival] |复活 | |
||
85 | |[@onKillMob] |MapInfo文件配置onKillMon参数,在对应地图杀怪触发| |
||
86 | 11 | yangdefeng | |[@getExp] |击杀有经验的怪物获取经验触发,返回<$getExp> | |
87 | 1 | yangdefeng | |[@killPlay] |击杀玩家 | |
88 | |[@playDie] |玩家死亡 | |
||
89 | 15 | yangdefeng | |[[qf触发器_attack|[@attack]]] |攻击玩家或怪物 | |
90 | |[[qf触发器_struck|[@struck]]] |被玩家或怪物攻击 | |
||
91 | 25 | yangdefeng | |[[qf触发器_struck1|[@struck1]]] |被玩家或怪物攻击,伤害结算后触发 | |
92 | 8 | yangdefeng | |[@magicAttack] |使用技能攻击玩家或怪物 | |
93 | |[@magicStruck] |被技能攻击 | |
||
94 | 26 | yangdefeng | |[[qf触发器_magicStruck1|[@magicStruck1]]] |被技能攻击,伤害结算后触发 | |
95 | 8 | yangdefeng | |[@slaveAttack] |宠物攻击玩家或怪物 | |
96 | |[@slaveStruck] |宠物受到攻击 | |
||
97 | |[@pgSlaveAttack] |宠物攻击玩家或怪物 | |
||
98 | |[@pgSlaveStruck] |宠物受到攻击 | |
||
99 | |[@slaveMagicAttack] |宠物使用技能攻击 | |
||
100 | |[@slaveMagicStruck] |宠物受到技能攻击 | |
||
101 | |[@pgSlaveMagicAttack] |宠物使用技能攻击 | |
||
102 | |[@pgSlaveMagicStruck] |宠物受到技能攻击 | |
||
103 | 49 | tejie | |[[qf触发器_beginMagic|[@beginMagic]]] |释放技能前触发 | |
104 | 8 | yangdefeng | |[@pgSlaveDie] |宠物死亡触发 | |
105 | 45 | tejie | |[[qf触发器_critAttack|[@critAttack]]] |物理攻击触发暴击 | |
106 | |[[qf触发器_critMagicAttack|[@critMagicAttack]]] |魔法攻击触发暴击(道术同属于魔法) | |
||
107 | 18 | yangdefeng | |[@attackDamage] |人物攻击目标掉血前触发 | |
108 | |[@struckDamage] |人物被攻击掉血前触发 | |
||
109 | |[@slaveAttackDamage] |宝宝攻击目标掉血前触发 | |
||
110 | |[@slaveStruckDamage] |宝宝被攻击掉血前触发 | |
||
111 | 35 | yangdefeng | |[@getCastleX] |攻城战占领成功时触发,X表示城堡编号 | |
112 | 51 | tejie | |[[qf触发器_protectHp|[@protectHp]]] |怪物掉落物品 | |
113 | 7 | yangdefeng | |\3={background-color:lightgrey}.掉落相关| |
114 | 8 | yangdefeng | |_. 触发器 |_. 触发条件 | |
115 | 33 | yangdefeng | |[[qf触发器_pgDropItem|[@pgDropItem]]] |怪物掉落物品 | |
116 | 39 | tejie | |[[qf触发器_prePickupItem|[@prePickupItem]]] |拾取物品进背包前触发 | |
117 | 34 | yangdefeng | |[[qf触发器_pickUpItemEx|[@pickUpItemEx]]] |捡道具 | |
118 | 1 | yangdefeng | |[[qf触发器_pickUpItemX|[@pickUpItemX]]] |捡指定道具(X=物品表中的IDX) | |
119 | 8 | yangdefeng | |[@dropItemEx] |丢弃道具 | |
120 | 1 | yangdefeng | |[[qf触发器_dropItemX|[@dropItemX]]] |丢弃指定道具(X=物品表中的IDX) | |
121 | |[[qf触发器_scatterBagItems|[@scatterBagItems]]] |角色掉落背包中的道具触发 | |
||
122 | |[[qf触发器_dropUseItems|[@dropUseItems]]] |角色掉落使用中的道具触发 | |
||
123 | 12 | chenjun | |[[qf触发器_butchX|[@butchX]]] |采集怪物尸体时触发(X=怪物表中的Butch) | |
124 | |\3={background-color:lightgrey}.充值商城相关| |
||
125 | 8 | yangdefeng | |_. 触发器 |_. 触发条件 | |
126 | |[@recharge] |充值成功 | |
||
127 | 1 | yangdefeng | |[@buyShopItem] |通过商城购买物品成功 | |
128 | 41 | yangdefeng | |[[qf触发器_buyShopItem2|[@buyShopItem2]]] |通过商城购买物品成功,支持道具绑定命令 | |
129 | 19 | yangdefeng | |\3={background-color:lightgrey}.组队相关| |
130 | |_. 触发器 |_. 触发条件 | |
||
131 | 21 | yangdefeng | |[@startGroup] |队长创建队伍前,或某人申请加入,某人受邀加入 | |
132 | 20 | yangdefeng | |[@groupCreate] |队长创建队伍时 | |
133 | 19 | yangdefeng | |[@leaveGroup] |离开队伍时 | |
134 | |[@groupAddMember] |添加队伍成员时 | |
||
135 | |[@groupDelMember] |被队长踢出队伍时 | |
||
136 | 21 | yangdefeng | |[@groupKillMon] |组队状况下,各队员攻击怪物触发 | |
137 | 38 | yangdefeng | |\3={background-color:lightgrey}.小地图相关| |
138 | |_. 触发器 |_. 触发条件 | |
||
139 | |[[qf触发器_findPathBegin|[@findPathBegin]]] |点击小地图开始寻路触发,返回目标点坐标。 | |
||
140 | |[[qf触发器_findPathStop|[@findPathStop]]] |点击小地图中断寻路触发。 | |
||
141 | |[[qf触发器_findPathEnd|[@findPathEnd]]] |点击小地图结束寻路触发。 | |
||
142 | 7 | yangdefeng | |
143 | 8 | yangdefeng | h4. |
144 | |||
145 | 7 | yangdefeng | |\3={background-color:lightgrey}.无效触发器| |
146 | 1 | yangdefeng | |_. 触发器 |_. 触发条件 | |
147 | 7 | yangdefeng | |[@playReconnection] |重连或切换账号 | |
148 | |[@playOffline] |离线 | |
||
149 | |[@queryingHumName] |查询名称 | |
||
150 | |[@queryHumNameOK] |名称通过 | |
||
151 | |[@changeingHumName] |修改角色名称 | |
||
152 | |[@nameLengthFail] |检测名称长度过长 | |
||
153 | |[@humNameFilter] |名称存在非法字符 | |
||
154 | |[@humNameExists] |名称已存在 | |
||
155 | |[@queryMyShopFail] |查询个人商店失败 | |
||
156 | |[@shopStall] |点击摆摊按钮 | |
||
157 | |[@itemUpgrade] |在宝石升级界面进行升级 | |
||
158 | |||
159 | 8 | yangdefeng | h4. |
160 | |||
161 | 7 | yangdefeng | |\3={background-color:lightgrey}.功能异常的触发器| |
162 | 46 | tejie | |_. 触发器 |_. 触发条件 |_. 详情 | |
163 | |[[qf触发器_magSelfFuncX|[@magSelfFuncX]]] |主角对自己使用指定技能(X为技能ID) |主角Self、Tag、Mon三个触发器同时触发 | |
||
164 | |[@magTagFuncX] |主角对目标玩家使用指定技能(X为技能ID) |主角Self、Tag、Mon三个触发器同时触发 | |
||
165 | |[@magMonFuncX] |主角对怪物使用指定技能(X为技能ID) |主角Self、Tag、Mon三个触发器同时触发 | |
||
166 | |[@slaveMagSelfFuncX] |宠物对自己使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
167 | |[@slaveMagTagFuncX] |宠物对目标玩家使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
168 | |[@slaveMagTagFuncExX] |宠物对目标玩家使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
169 | |[@slaveMagMonFuncX] |宠物对怪物使用指定技能(X为技能ID) |宠物Self、Tag、TagEx、Mon四个触发器同时触发 | |
||
170 | |[@walk] |移动触发 |与[@Run]同时触发 | |
||
171 | |[@run] |移动触发 |与[@Walk]同时触发 | |