【战斗】被动添加时Log
parent
4e8e552ca8
commit
8a0b1c80a2
|
@ -98,6 +98,14 @@ function RoleLogic:Init(uid, data, position)
|
||||||
end
|
end
|
||||||
if BattleUtil.Passivity[id] then
|
if BattleUtil.Passivity[id] then
|
||||||
BattleUtil.Passivity[id](self, args,passivityId,judge)
|
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})
|
table.insert(self.passiveList, {id, args,passivityId})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue