|
|
@@ -231,12 +231,12 @@ end
|
|
|
|
|
|
|
|
|
-- 战斗结束回调 在发送GC_COMBAT_FINISH前
|
|
|
-local function onFightEnd(human, result, combatType, cbParam, combatInfo, isSaodang,param)
|
|
|
+local function onFightEnd(human, result, combatType, cbParam, combatInfo, param, isSaodang)
|
|
|
local moduleFn = getModule(combatType)
|
|
|
if not moduleFn then return end
|
|
|
if not moduleFn.onFightEnd then return end
|
|
|
|
|
|
- moduleFn.onFightEnd(human, result, combatType, cbParam, combatInfo, isSaodang,param)
|
|
|
+ moduleFn.onFightEnd(human, result, combatType, cbParam, combatInfo, param, isSaodang)
|
|
|
end
|
|
|
|
|
|
-- 战斗名称
|
|
|
@@ -1296,7 +1296,7 @@ function combatBegin(human, mapID, param, combatType, cbParam, isSaodang)
|
|
|
local isQuick = human.db.combatQuick[combatType] == 1-- 是否跳过战斗
|
|
|
if isSaodang or isQuick then
|
|
|
-- 扫荡/跳过战斗需要立刻出结果
|
|
|
- onFightEnd(human, result, combatType, cbParam, combatInfo, isSaodang,param)
|
|
|
+ onFightEnd(human, result, combatType, cbParam, combatInfo, param, isSaodang)
|
|
|
sendCombatFinish(human, combatInfo)
|
|
|
else
|
|
|
-- 发送战斗开始+战斗帧
|