Commit e7c3d3daa0c22ecdaacb4f3993a3e25d6ece11de

Authored by zhouhaihai
1 parent ae820b73

额外奖励直接进入玩家背包

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPassive.lua
... ... @@ -457,7 +457,7 @@ function Passive:effect9(itemId, triggerPms, ratio, max)
457 457 return
458 458 end
459 459 if not cond then return end
460   - self.owner.battle.adv:award({[itemId] = math.floor(math.max(0, math.min(max, cond / ratio)))})
  460 + self.owner.battle.adv.owner:award({[itemId] = math.floor(math.max(0, math.min(max, cond / ratio)))})
461 461 end
462 462  
463 463 --10=战斗额外掉落次数
... ...