bug修复
This commit is contained in:
parent
8bc3bdba34
commit
c391fb0fbc
@ -235,10 +235,10 @@ local _addSkillEffect = function(skillId, skillInfo, battleBaseData, battleContr
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
local buffEntity = BattleBuffEntity:create()
|
local buffEntity = BattleBuffEntity:create()
|
||||||
buffEntity:init(effect, actionTeam:getUnitComp().unitEntity)
|
buffEntity:init(effect, actionTeam:getMainUnit().unitEntity)
|
||||||
buffEntity:setTargetSide(skillInfo.obj)
|
buffEntity:setTargetSide(skillInfo.obj)
|
||||||
|
|
||||||
actionTeam:getUnitComp():takeEffect(buffEntity, target)
|
actionTeam:getMainUnit():takeEffect(buffEntity, target)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user