gm 加称号标签
This commit is contained in:
parent
084eb5e275
commit
f0f24cf4e1
@ -75,7 +75,7 @@ func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (errdata *pb.Er
|
||||
if keys[0] == "bingo" {
|
||||
this.Debugf("create CMD :%s", cmd) // 打印个日志方便查询
|
||||
datas := strings.Split(keys[1], ",")
|
||||
if len(datas) == 3 && (datas[0] == comm.AttrType || datas[0] == comm.ItemType ||
|
||||
if len(datas) == 3 && (comm.TitleType == datas[0] || datas[0] == comm.AttrType || datas[0] == comm.ItemType ||
|
||||
datas[0] == comm.HeroType || datas[0] == comm.EquipmentType || datas[0] == comm.VipType || datas[0] == comm.AtlasType || datas[0] == comm.PandaType || datas[0] == comm.MountsType) {
|
||||
num, err := strconv.Atoi(datas[2])
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user