This commit is contained in:
liwei1dao 2023-08-11 22:01:52 +08:00
commit 8525c7646f
3 changed files with 12 additions and 12 deletions

View File

@ -85,7 +85,7 @@
{
"Id": 4,
"NodeType": 2,
"NodeIcon": "js_jx_img_icon01",
"NodeIcon": "mj_icon_attack",
"listIndex": 1,
"Front": [
2,
@ -113,7 +113,7 @@
{
"Id": 5,
"NodeType": 2,
"NodeIcon": "js_jx_img_icon01",
"NodeIcon": "mj_icon_attack",
"listIndex": 2,
"Front": [
4
@ -140,7 +140,7 @@
{
"Id": 6,
"NodeType": 1,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 2,
"Front": [
5
@ -167,7 +167,7 @@
{
"Id": 7,
"NodeType": 1,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 2,
"Front": [
5
@ -194,7 +194,7 @@
{
"Id": 8,
"NodeType": 2,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 2,
"Front": [
6,
@ -222,7 +222,7 @@
{
"Id": 9,
"NodeType": 1,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 3,
"Front": [
8
@ -249,7 +249,7 @@
{
"Id": 10,
"NodeType": 1,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 3,
"Front": [
8
@ -276,7 +276,7 @@
{
"Id": 11,
"NodeType": 1,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 3,
"Front": [
9
@ -303,7 +303,7 @@
{
"Id": 12,
"NodeType": 1,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 3,
"Front": [
10
@ -330,7 +330,7 @@
{
"Id": 13,
"NodeType": 2,
"NodeIcon": "Lifemj_icon_life",
"NodeIcon": "mj_icon_attack",
"listIndex": 3,
"Front": [
11,

View File

@ -101,7 +101,7 @@ func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq
}
buffid := stone.Rooms.Selectbuff[pos]
// 加入收藏
if conf, err := this.module.configure.GetStoneBuffDataById(buffid); err != nil {
if conf, err := this.module.configure.GetStoneBuffDataById(buffid); err == nil {
stone.Userbuff[buffid] = 1
stone.Rooms.Selectbuff = []int32{}
update["userbuff"] = stone.Userbuff

View File

@ -121,7 +121,7 @@ func (this *apiComp) GotoRoom(session comm.IUserSession, req *pb.StonehengeGotoR
this.module.modelStonehenge.AddNewEvent(szEvent, stone)
}
stone.Rooms.Portal = this.module.configure.GetRoomGroupDataByLottery(req.Portal)
//stone.Rooms.Portal = this.module.configure.GetRoomGroupDataByLottery(req.Portal)
// 校验是否进boss
if this.module.configure.GetFloorConfByStageId(stone.StageID)-1 == stone.CurRoomIndes {
if stage := this.module.modelStonehenge.GetStoneBoosData(stone.StageID); stage != nil {