[战斗]======前端战斗 英雄添加job数据
parent
40be6b55d2
commit
fce7a7ec32
|
@ -187,6 +187,7 @@ function this.GetMonsterData(monsterId)
|
||||||
skill = this.GetSkillData(monsterConfig.SkillList[1],monsterConfig.SkinId),
|
skill = this.GetSkillData(monsterConfig.SkillList[1],monsterConfig.SkinId),
|
||||||
superSkill = this.GetSkillData(monsterConfig.SkillList[2],monsterConfig.SkinId),
|
superSkill = this.GetSkillData(monsterConfig.SkillList[2],monsterConfig.SkinId),
|
||||||
element = monsterConfig.PropertyName,
|
element = monsterConfig.PropertyName,
|
||||||
|
job=HeroConfig[monsterConfig.MonsterId].Job,
|
||||||
passivity = this.GetPassivityData(monsterConfig.PassiveSkillList),
|
passivity = this.GetPassivityData(monsterConfig.PassiveSkillList),
|
||||||
property = {
|
property = {
|
||||||
monsterConfig.Level,
|
monsterConfig.Level,
|
||||||
|
@ -372,6 +373,7 @@ function this.GetBattleServerData(msg, isFightPlayer)
|
||||||
position = position,
|
position = position,
|
||||||
star = star,
|
star = star,
|
||||||
skinId=skin,
|
skinId=skin,
|
||||||
|
job=HeroConfig[monsterConfig.monsterId].Job,
|
||||||
camp = 1,
|
camp = 1,
|
||||||
type = monsterConfig.Type,
|
type = monsterConfig.Type,
|
||||||
quality = monsterConfig.Quality,
|
quality = monsterConfig.Quality,
|
||||||
|
@ -400,6 +402,7 @@ function this.GetBattleServerData(msg, isFightPlayer)
|
||||||
position = position,
|
position = position,
|
||||||
star = star,
|
star = star,
|
||||||
skinId=skin,
|
skinId=skin,
|
||||||
|
job=HeroConfig[rid].Job,
|
||||||
camp = 1,
|
camp = 1,
|
||||||
type = 1,
|
type = 1,
|
||||||
quality = 0,
|
quality = 0,
|
||||||
|
@ -545,6 +548,7 @@ function this.GetBattlePlayerData(fId)
|
||||||
camp = 0,
|
camp = 0,
|
||||||
type = 1,
|
type = 1,
|
||||||
quality = 0,
|
quality = 0,
|
||||||
|
job=HeroConfig[heroData.id].Job,
|
||||||
element = HeroConfig[heroData.id].PropertyName,
|
element = HeroConfig[heroData.id].PropertyName,
|
||||||
professionId = heroData.profession,
|
professionId = heroData.profession,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue