gm iamyoudad 只发所有到家
This commit is contained in:
parent
f569f249dc
commit
e2657a9200
@ -72,11 +72,6 @@ func (this *Entertainment) Start() (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.mail = module.(comm.Imail)
|
this.mail = module.(comm.Imail)
|
||||||
// m := new(MapData)
|
|
||||||
// m.InitMap(this, 1)
|
|
||||||
// m.SetMap()
|
|
||||||
// m.Debugf()
|
|
||||||
// m.CheckElem(1)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,25 +135,25 @@ func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (errdata *pb.Er
|
|||||||
res []*cfg.Gameatn
|
res []*cfg.Gameatn
|
||||||
)
|
)
|
||||||
|
|
||||||
equip := this.configure.GetAllEquipmentConfigure()
|
// equip := this.configure.GetAllEquipmentConfigure()
|
||||||
for _, v1 := range equip {
|
// for _, v1 := range equip {
|
||||||
|
|
||||||
res = append(res, &cfg.Gameatn{
|
// res = append(res, &cfg.Gameatn{
|
||||||
A: "equi",
|
// A: "equi",
|
||||||
T: v1.Id,
|
// T: v1.Id,
|
||||||
N: 5,
|
// N: 5,
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
data := this.configure.GetHeroConfigData()
|
// data := this.configure.GetHeroConfigData()
|
||||||
for _, v := range data {
|
// for _, v := range data {
|
||||||
if v.Handbook {
|
// if v.Handbook {
|
||||||
res = append(res, &cfg.Gameatn{
|
// res = append(res, &cfg.Gameatn{
|
||||||
A: "hero",
|
// A: "hero",
|
||||||
T: v.Hid,
|
// T: v.Hid,
|
||||||
N: 1,
|
// N: 1,
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
// 发所有道具
|
// 发所有道具
|
||||||
item := this.configure.GetAllItemConfigure()
|
item := this.configure.GetAllItemConfigure()
|
||||||
for _, v := range item {
|
for _, v := range item {
|
||||||
|
Loading…
Reference in New Issue
Block a user