角色突破奖励获取功能

This commit is contained in:
UnKownOwO
2023-02-05 19:00:27 +08:00
parent 482a1f7af4
commit 98c35380b1
11 changed files with 306 additions and 37 deletions

View File

@@ -24,7 +24,7 @@ func (p *Player) InitWeapon(weapon *Weapon) {
p.WeaponMap[weapon.WeaponId] = weapon
if weapon.AvatarId != 0 {
avatar := p.AvatarMap[weapon.AvatarId]
avatar.EquipGuidList[weapon.Guid] = weapon.Guid
avatar.EquipGuidMap[weapon.Guid] = weapon.Guid
avatar.EquipWeapon = weapon
}
}