```
feat(config): 新增固定异色功能并重构异色服务 - 新增 FixShiny 方法用于固定获取异色效果 - 重命名 Args 方法为 RandShiny 以明确功能 - 添加 utils 包依赖用于数据转换 feat(model): 扩展宠物异色相关方法 - 为 PetInfo 结构体添加 FixShiny 方法 - 修改 RandShiny 方法逻辑,确保异色信息正确添加 ref
This commit is contained in:
@@ -118,7 +118,7 @@ func Initfile() {
|
||||
}
|
||||
PlayerEffectMAP = make(map[int]NewSeIdx)
|
||||
for _, v := range EffectMAP1.SeIdxList {
|
||||
if gconv.Int(v.Stat) == 1 && gconv.Int(v.StarLevel) == 0 && gconv.Int(v.Idx) > 1000 {
|
||||
if gconv.Int(v.Stat) == 1 && gconv.Int(v.Idx) > 1000 {
|
||||
v.ArgsS = ParseSideEffectArgs(v.Args)
|
||||
|
||||
PlayerEffectMAP[gconv.Int(v.Idx)] = v
|
||||
|
||||
Reference in New Issue
Block a user