From fce7a7ec32e6f3132541df87fc71ee92731b8da4 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Fri, 8 Jan 2021 19:19:25 +0900 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=88=98=E6=96=97=20=E8=8B=B1=E9=9B=84=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0job=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua b/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua index bd7f41f954..a5479294d2 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua @@ -187,6 +187,7 @@ function this.GetMonsterData(monsterId) skill = this.GetSkillData(monsterConfig.SkillList[1],monsterConfig.SkinId), superSkill = this.GetSkillData(monsterConfig.SkillList[2],monsterConfig.SkinId), element = monsterConfig.PropertyName, + job=HeroConfig[monsterConfig.MonsterId].Job, passivity = this.GetPassivityData(monsterConfig.PassiveSkillList), property = { monsterConfig.Level, @@ -372,6 +373,7 @@ function this.GetBattleServerData(msg, isFightPlayer) position = position, star = star, skinId=skin, + job=HeroConfig[monsterConfig.monsterId].Job, camp = 1, type = monsterConfig.Type, quality = monsterConfig.Quality, @@ -400,6 +402,7 @@ function this.GetBattleServerData(msg, isFightPlayer) position = position, star = star, skinId=skin, + job=HeroConfig[rid].Job, camp = 1, type = 1, quality = 0, @@ -545,6 +548,7 @@ function this.GetBattlePlayerData(fId) camp = 0, type = 1, quality = 0, + job=HeroConfig[heroData.id].Job, element = HeroConfig[heroData.id].PropertyName, professionId = heroData.profession, }