Gm
This commit is contained in:
parent
a644b4a222
commit
8e377313d4
@ -55,6 +55,11 @@ func ReqGmCommand(args []interface{}) error {
|
||||
num, _ := strconv.Atoi(arg[1])
|
||||
player.GetPlayerBaseMod().AddExp(player, num)
|
||||
player.PushClientRes(&player.GetPlayerBaseMod().Data)
|
||||
case "addDailyActive":
|
||||
num, _ := strconv.Atoi(arg[1])
|
||||
DailyMod := player.PlayMod.getDailyTaskMod()
|
||||
DailyMod.Active = num
|
||||
player.PushClientRes(DailyMod.BackData())
|
||||
case "setlv":
|
||||
num, _ := strconv.Atoi(arg[1])
|
||||
player.PlayMod.getBaseMod().Level = num
|
||||
|
||||
Loading…
Reference in New Issue
Block a user