[战斗]======前端战斗 英雄添加job数据

dev_chengFeng
wangzhenxing 2021-01-08 19:19:25 +09:00
parent 40be6b55d2
commit fce7a7ec32
1 changed files with 4 additions and 0 deletions

View File

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