'; for (var i = 0; i < data.d.length; i++) { var cell = String.format(template, data.d[i].ShortName, data.d[i].IdName, data.d[i].CoverImagePath, BaseUrlWithLang + "GameInfo/"+data.d[i].IdName); firstRow.append(cell); } currentSuggestions = data.d; if (ID != '') { ServiceGetGameLikes(ID, GameLikesForSuggestionsCB); } } function GameLikesForSuggestionsCB(data) { var tr = $(""); for (var i = 0; i < currentSuggestions.length; i++) { tr.append(``); } $('#tblSuggestions').append(tr); for (var i = 0; i < currentSuggestions.length; i++) { var ddl = $("#ddlGameLike" + currentSuggestions[i].GameTypeId); for (var j = 0; j < i18next.t("GameLikeValues", { returnObjects: true }).length; j++) { if (j == 3) { $('', { value: j, text: i18next.t("GameLikeValues." + j), selected: true }).appendTo(ddl); } else { $('', { value: j, text: i18next.t("GameLikeValues." + j) }).appendTo(ddl); } } ddl.on("change", function (event) { GameLikeChanged(event); }); ddl.data("gametypeid", currentSuggestions[i].GameTypeId); var result = data.d.find(item => item.GameTypeId === currentSuggestions[i].GameTypeId); if (result) { ddl[0].selectedIndex = result.GameLikeLevel; } } } function GameLikeChanged(event) { const target = $(event.target); const gameTypeId = target.data("gametypeid"); const gameLikeValue = event.target.value; if (gameLikeValue == 0 || gameLikeValue == 4 || gameLikeValue == 5 || gameLikeValue == 6) { ServiceSetGameLike(gameTypeId, gameLikeValue, UpdateSuggestions); } else { ServiceSetGameLike(gameTypeId, gameLikeValue); } } function UpdateSuggestions() { $("#tblSuggestions").empty().append($("")); ServiceGetSugggestions(gameTypeId, 6, SuggestionSuccessCB, SuggestionsErrorCB); } function SuggestionsErrorCB() { $('#divSuggestions').parent().hide(); }
Alchemist -
Alchemist
2-4 , 50-60 ,
Carlo A. Rossi
Volkan Baga
AMIGO Spiel + Freizeit GmbH
2009-09-05
Alexandra (brujita)
Boardgamegeek 27385
2,22/5
TrueSkill*
Che-le Crygen 1459
Hermit Freudenreich 1415
Itzamna EzeBig 1400
Itzamna Fatty 1376
Lay monk Damoth 1369
Ahaucan IanMcGriffin 1346
Novitiate chrisalley45 1341
Itzamna Pompkin 1337
Chilan priest breye 1332
Itzamna Ringcaat 1325
*
*
Hermit waldgeist 342
Che-le Crygen 283
Hermit 7isprime 222
Chilan priest XanderJan24 201
Baker Hammas 146
Judge Pedrator 144
Novitiate pineout 122
Lay priestess kutrun 118
Chilan priest wololon 117
Chilan priest breye 110
*