This commit is contained in:
hahwu 2025-01-21 19:05:45 +08:00
parent a644b4a222
commit 8e377313d4

View File

@ -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