From e7c3d3daa0c22ecdaacb4f3993a3e25d6ece11de Mon Sep 17 00:00:00 2001 From: zhouhaihai Date: Mon, 16 Mar 2020 15:46:51 +0800 Subject: [PATCH] 额外奖励直接进入玩家背包 --- src/adv/AdvPassive.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adv/AdvPassive.lua b/src/adv/AdvPassive.lua index 2e52a29..3b5b8f6 100644 --- a/src/adv/AdvPassive.lua +++ b/src/adv/AdvPassive.lua @@ -457,7 +457,7 @@ function Passive:effect9(itemId, triggerPms, ratio, max) return end if not cond then return end - self.owner.battle.adv:award({[itemId] = math.floor(math.max(0, math.min(max, cond / ratio)))}) + self.owner.battle.adv.owner:award({[itemId] = math.floor(math.max(0, math.min(max, cond / ratio)))}) end --10=战斗额外掉落次数 -- libgit2 0.21.2