fix bug
This commit is contained in:
parent
a6c0a22942
commit
c0237bd044
@ -64,13 +64,14 @@ end
|
||||
|
||||
function BattleUnitEntity:initRougeSkills()
|
||||
if self.unitData.rougeSkills then
|
||||
local SKILL_ICON_POS = {
|
||||
{x =-240, y= 165},
|
||||
{x =-240, y= 0},
|
||||
{x =-240, y= -165}
|
||||
}
|
||||
local SKILL_ICON_POS = {
|
||||
{x =-240, y= 165},
|
||||
{x =-240, y= 0},
|
||||
{x =-240, y= -165}
|
||||
}
|
||||
for i,v in ipairs(self.unitData.rougeSkills) do
|
||||
ModuleManager.BattleManager:onSelectSkill(v, nil, SKILL_ICON_POS[i])
|
||||
-- ModuleManager.BattleManager:onSelectSkill(v, nil, SKILL_ICON_POS[i])
|
||||
ModuleManager.BattleManager:onSelectSkill(v, nil, {x =-240, y= 0})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user