|
|
@@ -2533,6 +2533,9 @@ end
|
|
|
--处理战斗前属性加成
|
|
|
function onFightBegin(human, cbParam, combatType, param)
|
|
|
local nBattleType = BattleLogic_GetBattleType(human)
|
|
|
+ if not nBattleType then
|
|
|
+ return
|
|
|
+ end
|
|
|
local attrAddData = getBattleAttrByType(human, nBattleType)
|
|
|
|
|
|
if not attrAddData or not attrAddData.chosenAttrList then
|