【战斗】被动添加时Log

dev_chengFeng
gaoxin 2021-08-31 14:48:44 +08:00
parent 4e8e552ca8
commit 8a0b1c80a2
1 changed files with 8 additions and 0 deletions

View File

@ -98,6 +98,14 @@ function RoleLogic:Init(uid, data, position)
end
if BattleUtil.Passivity[id] then
BattleUtil.Passivity[id](self, args,passivityId,judge)
BattleLogManager.Log(
"Add Passive",
"id", tostring(id),
"camp", tostring(self.camp),
"pos", tostring(self.position),
"passivityId", tostring(passivityId),
"judge", tostring(judge)
)
-- 加入被动列表
table.insert(self.passiveList, {id, args,passivityId})
end