修复开场任务

This commit is contained in:
flswld
2023-03-04 20:14:26 +08:00
parent 266889df36
commit ca616cb08d
17 changed files with 342 additions and 189 deletions

View File

@@ -1,5 +1,9 @@
package model
type DbGacha struct {
GachaPoolInfo map[uint32]*GachaPoolInfo
}
type GachaPoolInfo struct {
GachaType uint32 // 卡池类型
OrangeTimes uint32 // 5星保底计数
@@ -8,10 +12,6 @@ type GachaPoolInfo struct {
MustGetUpPurple bool // 是否4星大保底
}
type DbGacha struct {
GachaPoolInfo map[uint32]*GachaPoolInfo
}
func (p *Player) GetDbGacha() *DbGacha {
if p.DbGacha == nil {
p.DbGacha = NewDbGacha()