gm优化
This commit is contained in:
parent
4512648ae7
commit
eebc7bcdce
@ -399,6 +399,11 @@ func ReqGmCommand_(player *Player, Command string) error {
|
|||||||
DecorateMod.AreaId = S
|
DecorateMod.AreaId = S
|
||||||
DecorateMod.FinishList = make(map[int]struct{})
|
DecorateMod.FinishList = make(map[int]struct{})
|
||||||
DecorateMod.Progress = 0
|
DecorateMod.Progress = 0
|
||||||
|
DecorateMod.PartCost = make(map[int]*decorate.PartCostInfo)
|
||||||
|
DecorateMod.PartClassPool = []int{}
|
||||||
|
DecorateMod.PartPool = make(map[int]int)
|
||||||
|
DecorateMod.InitData()
|
||||||
|
player.PushClientRes(DecorateMod.BackData())
|
||||||
case "setDecorateProgress":
|
case "setDecorateProgress":
|
||||||
S, _ := strconv.Atoi(arg[1])
|
S, _ := strconv.Atoi(arg[1])
|
||||||
DecorateMod := player.PlayMod.getDecorateMod()
|
DecorateMod := player.PlayMod.getDecorateMod()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user