Compare commits
No commits in common. "dcaf24653b9ed316bbf533d01f6f633cb068850c" and "e4afc80be9866fec5c328813390736f0912b281f" have entirely different histories.
dcaf24653b
...
e4afc80be9
|
@ -320,15 +320,6 @@ func (this *Player) OnLogined() {
|
||||||
this.VIP = rand.Int31n(6) + 1
|
this.VIP = rand.Int31n(6) + 1
|
||||||
//机器人随机vip和头像
|
//机器人随机vip和头像
|
||||||
this.RobRandVip()
|
this.RobRandVip()
|
||||||
//随机机器人宠物技能等级
|
|
||||||
if this.Pets.SkillInfo == nil {
|
|
||||||
this.Pets.SkillInfo = make(map[int32]map[int32]int32)
|
|
||||||
for petId, _ := range this.Pets.ModUnlock {
|
|
||||||
skillLevel := rand.Int31n(10) + 1
|
|
||||||
this.Pets.SkillInfo[petId] = make(map[int32]int32)
|
|
||||||
this.Pets.SkillInfo[petId][10001] = skillLevel
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.VipExtra = VipMgrSington.GetVipPointsExtra(this.Platform, this.VIP)
|
this.VipExtra = VipMgrSington.GetVipPointsExtra(this.Platform, this.VIP)
|
||||||
|
|
Loading…
Reference in New Issue