Commit 0907ad89d7d3028bcad6c33f87a7d95d79410fdb
1 parent
328b45e0
Fix bug
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/actions/AdvAction.lua
... | ... | @@ -97,7 +97,7 @@ function _M.specialSkillRpc(agent, data) |
97 | 97 | local adv = role:getAdvData() |
98 | 98 | local status = adv:useSpecialSkill(msg.skillId) |
99 | 99 | if not status then return end |
100 | - SendPacket(actionCodes.Adv_specialSkillRpc, MsgPack.pack({events = {}})) | |
100 | + SendPacket(actionCodes.Adv_specialSkillRpc, MsgPack.pack({})) | |
101 | 101 | return true |
102 | 102 | end |
103 | 103 | ... | ... |
src/adv/Adv.lua
... | ... | @@ -974,7 +974,7 @@ function Adv:useSpecialSkill(skillId) |
974 | 974 | for slot, heroId in pairs(self.advTeam.heros) do |
975 | 975 | if self.owner.heros[heroId] then |
976 | 976 | if csvdb["unitCsv"][self.owner.heros[heroId]:getSkinId()]["adv"] == skillId then |
977 | - skillLevel = self.owner.heros[heroId]:getSkillLevel(4) | |
977 | + skillLevel = self.owner.heros[heroId]:getSkillLevel(2) | |
978 | 978 | break |
979 | 979 | end |
980 | 980 | end | ... | ... |