Commit 3552b8db4f8cc28659d1d3bce0fecb049a681a25
1 parent
abded725
打印log方法要用role的
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/Store.lua
... | ... | @@ -301,7 +301,7 @@ function Store:onBuyCard(type, duration, id, actid) |
301 | 301 | actData["unlock"] = 1 |
302 | 302 | if actCfg.condition ~= 0 then |
303 | 303 | actData["lvl"] = (actData["lvl"] or 0) + actCfg.condition |
304 | - role:mylog("act_action", {desc="buyBcLvl", int1=actCfg.condition, int2=actData["lvl"]}) | |
304 | + self.owner:mylog("act_action", {desc="buyBcLvl", int1=actCfg.condition, int2=actData["lvl"]}) | |
305 | 305 | end |
306 | 306 | self.owner:mylog("act_action", {desc="buyBc", int1=id, int2=actData["lvl"] or 0}) |
307 | 307 | self.owner.activity:updateActData("BattleCommand", actData) | ... | ... |