Fetch the repository succeeded.
This action will force synchronization from jzt/UnityFun, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
require("base.class")
QuestType =
{
Main = 1,
Side = 2,
Daily = 3,
Guide = 4,
}
Quest = Quest or class()
function Quest:ctor()
end
function Quest:initData(config)
assert(config)
self.name = config.name
self.detail = config.detail
self.type = config.type
--完成条件
self.npc = config.npc
self.monsters = config.monsters --{id num}
self.items = config.items
--限制
self.level = config.level
self.time = config.time
--奖励
self.reward_items = config.reward_items
self.reward_xp = config.reward_xp
self.reward_gold = config.reward_gold
--一系列任务。只有is_start为true才能直接添加到任务列表
self.is_start = config.is_start
self.next = config.next
--初始任务,解锁前置,自动接任务
PrintTable(self)
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。