gm优化
This commit is contained in:
parent
2a43279167
commit
7d5161a44d
@ -643,9 +643,10 @@ func ReqGmCommand_(player *Player, Command string) error {
|
|||||||
GoUtil.NotifyPlayer(GoUtil.Int(PlayerSimpleData.Account), NOTIFY_TYPE_PETROOM_GAME, fmt.Sprintf(title, PlayerSimpleData.PetName), fmt.Sprintf(info, PlayerSimpleData.PetName))
|
GoUtil.NotifyPlayer(GoUtil.Int(PlayerSimpleData.Account), NOTIFY_TYPE_PETROOM_GAME, fmt.Sprintf(title, PlayerSimpleData.PetName), fmt.Sprintf(info, PlayerSimpleData.PetName))
|
||||||
case "resetWeekReward":
|
case "resetWeekReward":
|
||||||
SevenMod := player.PlayMod.getSevenLoginMod()
|
SevenMod := player.PlayMod.getSevenLoginMod()
|
||||||
SevenMod.MonthResetTime = 0
|
SevenMod.WeekResetTime = 0
|
||||||
PlayerBaseMod := player.GetPlayerBaseMod()
|
PlayerBaseMod := player.GetPlayerBaseMod()
|
||||||
SevenMod.ZeroUpdate(PlayerBaseMod.GetSevenLoginAdd(), PlayerBaseMod.GetLastLoginTime(), player.GetOrderFactor())
|
SevenMod.ZeroUpdate(PlayerBaseMod.GetSevenLoginAdd(), PlayerBaseMod.GetLastLoginTime(), player.GetOrderFactor())
|
||||||
|
player.PushClientRes(SevenMod.BackData())
|
||||||
case "addInvite":
|
case "addInvite":
|
||||||
Id, _ := strconv.Atoi(arg[1])
|
Id, _ := strconv.Atoi(arg[1])
|
||||||
player.PlayMod.getInviteMod().AddInvite(Id)
|
player.PlayMod.getInviteMod().AddInvite(Id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user