Commit 197f12ee0f4b6c2d44cc46c174004db0c6f8adb7
1 parent
6947e382
必杀技展示
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/models/HeroPlugin.lua
@@ -119,6 +119,8 @@ function HeroPlugin.bind(Hero) | @@ -119,6 +119,8 @@ function HeroPlugin.bind(Hero) | ||
119 | local unitData = csvdb["unitCsv"][self:getSkinId(skin)] | 119 | local unitData = csvdb["unitCsv"][self:getSkinId(skin)] |
120 | if idx == 1 then | 120 | if idx == 1 then |
121 | return csvdb["skill_blockCsv"][unitData.block] | 121 | return csvdb["skill_blockCsv"][unitData.block] |
122 | + elseif idx == 2 then | ||
123 | + return csvdb["skill_specialCsv"][unitData.special] | ||
122 | end | 124 | end |
123 | return {} | 125 | return {} |
124 | end | 126 | end |