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, }