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

12 lines
335 B
Lua
Raw Normal View History

2020-08-25 15:46:38 +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