mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-11 20:22:26 +08:00
GCG初步 但会卡进度条 用命令/gcg进入
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
package game
|
||||
|
||||
import (
|
||||
"hk4e/gs/model"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"hk4e/gs/model"
|
||||
)
|
||||
|
||||
// HelpCommand 帮助命令
|
||||
@@ -249,3 +248,12 @@ func (c *CommandManager) GiveCommand(cmd *CommandMessage) {
|
||||
c.SendMessage(player, "已给予玩家 UID:%v, 所有内容。", target.PlayerID)
|
||||
}
|
||||
}
|
||||
|
||||
// GcgCommand Gcg测试命令
|
||||
func (c *CommandManager) GcgCommand(cm *CommandMessage) {
|
||||
player := cm.Executor.(*model.Player)
|
||||
|
||||
GAME_MANAGER.GCGStartChallenge(player)
|
||||
|
||||
c.SendMessage(player, "收到命令")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user