This commit is contained in:
puxuan 2025-06-06 15:36:13 +08:00
parent a6c0a22942
commit c0237bd044

View File

@ -64,13 +64,14 @@ end
function BattleUnitEntity:initRougeSkills() function BattleUnitEntity:initRougeSkills()
if self.unitData.rougeSkills then if self.unitData.rougeSkills then
local SKILL_ICON_POS = { local SKILL_ICON_POS = {
{x =-240, y= 165}, {x =-240, y= 165},
{x =-240, y= 0}, {x =-240, y= 0},
{x =-240, y= -165} {x =-240, y= -165}
} }
for i,v in ipairs(self.unitData.rougeSkills) do 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 end
end end