增加GM
This commit is contained in:
parent
43bbdc6f6c
commit
e4cb8bfd5e
@ -310,6 +310,15 @@ func ReqGmCommand_(player *Player, Command string) error {
|
|||||||
ChessMod := player.PlayMod.getChessMod()
|
ChessMod := player.PlayMod.getChessMod()
|
||||||
ChessMod.ChessBuff = []int{}
|
ChessMod.ChessBuff = []int{}
|
||||||
player.PushClientRes(ChessMod.BackData())
|
player.PushClientRes(ChessMod.BackData())
|
||||||
|
case "addPlayroomPoint":
|
||||||
|
PlayroomMod := player.PlayMod.getPlayroomMod()
|
||||||
|
Num, _ := strconv.Atoi(arg[1])
|
||||||
|
PlayroomMod.RoomPoint += Num
|
||||||
|
PlayroomBackData(player)
|
||||||
|
case "resetPlayroomUnlock":
|
||||||
|
PlayroomMod := player.PlayMod.getPlayroomMod()
|
||||||
|
PlayroomMod.UnlockList = make(map[int]int64)
|
||||||
|
PlayroomBackData(player)
|
||||||
case "addChip":
|
case "addChip":
|
||||||
PlayroomMod := player.PlayMod.getPlayroomMod()
|
PlayroomMod := player.PlayMod.getPlayroomMod()
|
||||||
PlayroomMod.AddChip(1, 1)
|
PlayroomMod.AddChip(1, 1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user