增加周更新GM

This commit is contained in:
hahwu 2024-12-31 17:29:53 +08:00
parent 1c63e7b700
commit 9702ad11b0

View File

@ -63,6 +63,11 @@ func ReqGmCommand(args []interface{}) error {
VarMod.DailyResetTime = 0
player.ZeroUpdate(nil)
G_GameLogicPtr.ZeroFlush()
case "weekUpdate":
VarMod := player.PlayMod.getVarMod()
VarMod.WeeklyResetTime = 0
player.ZeroUpdate(nil)
G_GameLogicPtr.ZeroFlush()
case "setSevenLoginActive":
num, _ := strconv.Atoi(arg[1])
player.PlayMod.getSevenLoginMod().Active = num