LuaQuick框架(客户端)

996传奇引擎三端lua快速开发


ManageTask(任务配置)

<p>[TOC]</p> <h1>字段描述</h1> <table> <thead> <tr> <th>字段名</th> <th>是否必填</th> <th>字段说明</th> </tr> </thead> <tbody> <tr> <td>index</td> <td>是</td> <td>任务排序:每个类型任务从1开始有序索引</td> </tr> <tr> <td>id</td> <td>是</td> <td>任务ID:以任务类型开头,例如主线任务1001,剧情任务2001</td> </tr> <tr> <td>next</td> <td>否</td> <td>完成任务跳转下一个任务</td> </tr> <tr> <td>name</td> <td>是</td> <td>任务名称(策划备注和邮件时调用):玩家领取奖励,如果背包空间不足,通过邮件放发奖励时可用此字段作为邮件标题,其他逻辑不会调用该字段</td> </tr> <tr> <td>type</td> <td>是</td> <td>任务类型:1.主线任务;2.剧情任务;3.每日任务;4.成就任务;5.展示任务(不支持组别)</td> </tr> <tr> <td>group</td> <td>否</td> <td>任务组别:组别相同的任务为一组,一组任务完成后才算完成任务,方可领取奖励,组别不能重复</td> </tr> <tr> <td>anim</td> <td>否</td> <td>任务完成播放特效</td> </tr> <tr> <td>give_mode</td> <td>是</td> <td>完成任务给予奖励模式:1.主动(完成任务即发放奖励);2.被动(玩家点击任务领取奖励,如果背包空间不足则通过邮件放发奖励)</td> </tr> <tr> <td>mail_id</td> <td>否</td> <td>通过邮件发放奖励:关联cfg_ManageMail表ID字段,空不处理邮件发放</td> </tr> <tr> <td>params</td> <td>是</td> <td>任务需求参数:见最后面字段详细说明</td> </tr> <tr> <td>awards</td> <td>否</td> <td>任务奖励:有组别的任务,完成一组任务后只发放一次奖励</td> </tr> <tr> <td>group_awards</td> <td>否</td> <td>组别奖励:完成一组任务可领取</td> </tr> <tr> <td>isGroupAuto</td> <td>否</td> <td>完成一组任务是否自动方法组别奖励:默认需要点击领取,任意值自动放发</td> </tr> <tr> <td>double</td> <td>否</td> <td>奖励倍数:可空</td> </tr> <tr> <td>double_condi</td> <td>否</td> <td>奖励倍数条件,达成条件可翻倍给与奖励:可空</td> </tr> <tr> <td>guide_mode</td> <td>否</td> <td>任务引导模式:创建任务后是否需要引导(0.不引导;1.引导)^引导模式(0.一直引导到玩家点击后停止;n.持续n秒后自动点击) 完成任务后是否需要引导(0.不引导;1.引导)^引导模式(0.一直引导到玩家点击后停止;n.持续n秒后自动点击),空不需要引导</td> </tr> <tr> <td>guide_desc</td> <td>否</td> <td>引导描述:引导描述</td> </tr> <tr> <td>guide_condi</td> <td>否</td> <td>开启引导条件:关联cfg_ManageCondi表ID字段,空不需要条件</td> </tr> <tr> <td>open_condi</td> <td>否</td> <td>可接取任务条件:关联cfg_ManageCondi表ID字段,空不需要条件</td> </tr> <tr> <td>title</td> <td>是</td> <td>任务标题:示例: &lt;font color=&#039;#F8BA47&#039;&gt;[主线]  寻找NPC&lt;/font&gt;</td> </tr> <tr> <td>desc</td> <td>是</td> <td>进行中(任务描述):示例:等级达到: &lt;font color=&#039;#00cb52&#039;&gt;%curLv/%needLv级&lt;/font&gt;</td> </tr> <tr> <td>done_desc</td> <td>否</td> <td>完成任务描述,如果giveMode字段为主动完成,则不展示该描述,直接跳转下一个任务:示例: &lt;font color=&#039;#00ff00&#039;&gt;领取奖励&lt;/font&gt;</td> </tr> <tr> <td>desc_link</td> <td>否</td> <td>desc字段绑定超链ID:关联cfg_ManageLink表ID</td> </tr> <tr> <td>drama_type</td> <td>否</td> <td>剧情任务篇章:剧情任务篇章</td> </tr> <tr> <td>drama_type_name</td> <td>否</td> <td>剧情任务类型名称:剧情任务类型名称</td> </tr> <tr> <td>dram_index</td> <td>否</td> <td>剧情任务章节:剧情任务章节</td> </tr> <tr> <td>dram_index_name</td> <td>否</td> <td>剧情任务章节:空则显示第n章</td> </tr> <tr> <td>drama_link</td> <td>否</td> <td>剧情任务界面超链:剧情任务界面超链</td> </tr> <tr> <td>npc_title</td> <td>否</td> <td>npc对话标题:npc对话标题</td> </tr> <tr> <td>npc_desc</td> <td>否</td> <td>npc进行中任务对话:npc进行中任务对话</td> </tr> <tr> <td>npc_done_desc</td> <td>否</td> <td>npc完成任务对话:npc完成任务对话</td> </tr> <tr> <td>other_desc_1</td> <td>否</td> <td>其他描述1:其他描述1</td> </tr> <tr> <td>other_desc_2</td> <td>否</td> <td>其他描述2:其他描述2</td> </tr> <tr> <td>other_desc_3</td> <td>否</td> <td>其他描述3:其他描述3</td> </tr> <tr> <td>npcTime</td> <td>否</td> <td>对话时间:0.不计时执行,大于0则n秒后自动执行</td> </tr> </tbody> </table> <h1>参数配置</h1> <p>&lt;!--.font0 {color:#000000; font-size:11.0pt; font-family:宋体; font-weight:400; font-style:normal; text-decoration:none;} br {mso-data-placement:same-cell;} td {padding-top:1px; padding-left:1px; padding-right:1px; mso-ignore:padding; color:#000000; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:宋体; mso-generic-font-family:auto; mso-font-charset:134; mso-number-format:General; border:none; mso-background-source:auto; mso-pattern:auto; text-align:general; vertical-align:middle; white-space:nowrap; mso-rotate:0; mso-protection:locked visible;} --&gt;</p> <p>&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;1202&quot; height=&quot;180&quot; style=&quot;border-collapse:collapse;width:901.52pt;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;157&quot; style=&quot;width:117.75pt;&quot;&gt; &lt;col width=&quot;150&quot; style=&quot;width:112.50pt;&quot;&gt; &lt;col width=&quot;213&quot; style=&quot;width:159.75pt;&quot;&gt; &lt;col width=&quot;682&quot; style=&quot;width:511.50pt;&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; width=&quot;157&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;width:117.75pt;&quot;&gt;param字段类型&lt;/td&gt;&lt;td width=&quot;150&quot; x:str=&quot;&quot; style=&quot;width:112.50pt;&quot;&gt;param字段配置规则&lt;/td&gt;&lt;td width=&quot;213&quot; x:str=&quot;&quot; style=&quot;width:159.75pt;&quot;&gt;任务描述占位符(当前/最大)&lt;/td&gt;&lt;td width=&quot;682&quot; x:str=&quot;&quot; style=&quot;width:511.50pt;&quot;&gt;可以多个类型组合,用|分割&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;1.普通对话&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;1^npcId&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中的文字加下划线方法,&lt;u&gt;需要加下划线的文本内容&lt;/u&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;2.等级任务&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;2^角色等级&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curLv/#needLv&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中的物品加可点击tips,&lt;a href=&#039;jump#item_tips#物品ID&#039;&gt;要展示的物品名称&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;3.转生任务&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;3^转生等级&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curRein/#needRein&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中的文字加粗方法,&lt;b&gt;需要加下划线的文本内容&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;4.需要物品或货币&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;4^物品ID^数量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curItem/#needItem&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中的文字删除线方法,&lt;del&gt;需要加下划线的文本内容&lt;/del&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;5.整数变量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;5^变量ID^数量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curVar/#needVar&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中的换行符&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;6.键值变量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;6^变量ID^key^数量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curkv/#needkv&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中加图片&lt;img src=&#039;res/custom/public/name.png&#039;&lt;span style=&quot;mso-spacerun:yes&quot;&gt; &lt;/span&gt;width=&#039;30&#039; height=&#039;30&#039;/&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;7.需要BUFF&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;7^BUFFID&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;富文本中加文本颜色&lt;font color=&#039;#00ff00&#039;&gt;领取奖励&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;8.杀怪计数(怪物ID)&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;8^怪物ID^数量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curMon/needMon&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;9.杀怪计数(地图ID)&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;9^地图ID^数量&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;#curMon/needMon&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;10.点击npc&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;10.点击npc&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr height=&quot;18&quot; style=&quot;height:13.50pt;&quot;&gt;&lt;td height=&quot;18&quot; x:str=&quot;&quot; style=&quot;height:13.50pt;&quot;&gt;11.执行超链算完成&lt;/td&gt;&lt;td x:str=&quot;&quot;&gt;11^超链ID&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;</p> <p>&lt;/tbody&gt;&lt;/table&gt;</p> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=0ef2625c6551749bf51e99bd61569074&amp;amp;file=file.png" alt="" /></p>

页面列表

ITEM_HTML