fix bug
This commit is contained in:
parent
4a6d65b9f9
commit
463d5ff3aa
@ -415,7 +415,9 @@ function HeroEntity:getRogueSkillList()
|
||||
if ids then
|
||||
for i = #ids, 1, -1 do
|
||||
if self.data.lv >= ids[i][1] or i == 1 then
|
||||
if self.data.lv >= ids[i][1] then
|
||||
self.skillLv = self.skillLv + i
|
||||
end
|
||||
table.insert(self.rogueSkillList, ids[i])
|
||||
break
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user