上传怪物数据优化技能
This commit is contained in:
parent
8384e0d065
commit
3a4d252804
@ -296,6 +296,16 @@ func (this *modelBattleComp) createMasterRoles(wheel int, fid int32) (captain in
|
||||
NormalSkill: hero.NormalSkill,
|
||||
Property: hero.Property,
|
||||
}
|
||||
for i, v := range roles[i].NormalSkill {
|
||||
if i == 0 {
|
||||
v.SkillLv = monst.Skill1
|
||||
} else if i == 1 {
|
||||
v.SkillLv = monst.Skill2
|
||||
} else {
|
||||
v.SkillLv = monst.Skill3
|
||||
}
|
||||
}
|
||||
|
||||
if monst.Equip4 != 0 {
|
||||
if suit, err := this.module.configure.Getequipsuit(monst.Equip4); err != nil {
|
||||
code = pb.ErrorCode_ConfigNoFound
|
||||
|
Loading…
Reference in New Issue
Block a user