肉鸽技能属性加成

This commit is contained in:
xiekaidong 2023-04-18 18:40:14 +08:00
parent 80e06bcef5
commit 74a20b6bbe

View File

@ -1282,8 +1282,8 @@ end
local function _addCurRoundAttr(self, instruction, callback)
if instruction.effectList then
local mainComp = self:getOtherSideMainUnit(BattleConst.SIDE_ATK)
local defComp = self:getOtherSideMainUnit(BattleConst.SIDE_DEF)
local defComp = self:getOtherSideMainUnit(BattleConst.SIDE_ATK)
local mainComp = self:getOtherSideMainUnit(BattleConst.SIDE_DEF)
for _, effect in ipairs(instruction.effectList) do
local target
if effect:getTartgetSide() == BattleConst.SIDE_DEF then