bug修复
This commit is contained in:
parent
4f20b37d56
commit
381a4477bd
@ -436,6 +436,9 @@ local function _takeAddSkillEnergy(atkUnitComp, skillEntity, battleController)
|
||||
end
|
||||
|
||||
local side = battleController:getCurActionSide()
|
||||
if atkUnitComp then
|
||||
side = atkUnitComp:getSide()
|
||||
end
|
||||
elementTypeMap = {[elementType] = addEnergy}
|
||||
battleController:addSkillEnergy(elementTypeMap, side)
|
||||
battleController.battleUI:refreshSkill(nil, nil, side)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user