miduo_client/Assets/ManagedResources/~Lua/Modules/Mission/Behaviour/BHBattle.lua

12 lines
332 B
Lua
Raw Normal View History

2021-04-20 13:58:00 +08:00
--- 触发战斗
2020-05-09 13:31:21 +08:00
local BHBattle = {}
local this = BHBattle
function this.Excute(arg, nextFunc, doneFunc)
local monsterID = arg.monsterID
MapManager.MapBattleExecute(monsterID, nil, function (result)
if doneFunc then doneFunc(result.eventId) end
if nextFunc then nextFunc(result) end
end)
end
2020-06-23 18:36:24 +08:00
return this