diff --git a/bin/json/game_stonetalent.json b/bin/json/game_stonetalent.json index e147de0a9..bb0cfa6c3 100644 --- a/bin/json/game_stonetalent.json +++ b/bin/json/game_stonetalent.json @@ -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, diff --git a/modules/stonehenge/api_event.go b/modules/stonehenge/api_event.go index 9622f8ee1..6b7cf0d5a 100644 --- a/modules/stonehenge/api_event.go +++ b/modules/stonehenge/api_event.go @@ -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 diff --git a/modules/stonehenge/api_gotoroom.go b/modules/stonehenge/api_gotoroom.go index 01f4147fe..24f5827b7 100644 --- a/modules/stonehenge/api_gotoroom.go +++ b/modules/stonehenge/api_gotoroom.go @@ -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 {