Game Passes PermanentPermanent Fruit(2x) Exp BoostsMoneyGemProducts
Sort :
Night Blade
6.8 USD
2x Money
6.8 USD
2x Drop
5.1 USD
Coffin Boat
3.4 USD
Fruit Position
17 USD
Legacy Pose
2.38 USD
Fruit Storage
2.55 USD
Conqueror
17 USD
Spin
0.51 USD
Common
Bomb
0.85 USD
Common
Human
2.89 USD
Common
Spike
4.42 USD
Common
Paw
2.04 USD
Uncommon
Giraffe
3.74 USD
Uncommon
Barrier
4.59 USD
Uncommon
Wolf
5.1 USD
Uncommon
Love
5.61 USD
Uncommon
Shadow
6.8 USD
Uncommon
Smoke
8.16 USD
Uncommon
String
8.16 USD
Uncommon
Gum
4.93 USD
Rare
Sand
5.1 USD
Rare
Leopard
6.46 USD
Rare
Buddha
6.63 USD
Rare
Dark
6.63 USD
Rare
Venom
6.63 USD
Rare
Allosaurus
9.52 USD
Rare
Gravity
9.52 USD
Rare
Brachio
10.2 USD
Rare
Op
11.9 USD
Rare
Mammoth
12.58 USD
Rare
Spino
17 USD
Rare
Ice
4.08 USD
Epic
Magma
6.63 USD
Epic
Flame
7.82 USD
Epic
Light
8.16 USD
Epic
Gas
8.5 USD
Epic
Snow
9.18 USD
Epic
Rumble
10.2 USD
Epic
Quake
12.24 USD
Epic
Gold
13.6 USD
Epic
Spirit
15.3 USD
Epic
Magnet
18.02 USD
Epic
Phoenix
15.3 USD
Legendary
Gate
15.98 USD
Legendary
Dough
19.38 USD
Legendary
Toy
20.4 USD
Legendary
Dragon
22.1 USD
Legendary
15Mins
0.17 USD
1Hour
0.61 USD
4Hours
1.69 USD
12Hours
4.75 USD
24Hours
8.83 USD
100K
0.34 USD
400K
1.35 USD
700K
2.37 USD
1M
3.39 USD
2M
6.79 USD
25 Gem
0.81 USD
125 Gem
3.05 USD
250 Gem
5.64 USD
500 Gem
10.2 USD
1250 Gem
22.77 USD
Refund Stats
0.17 USD
Race Rerolls
0.51 USD
Spawn GS
0.68 USD
Spawn SK
1.87 USD
Spawn HD
4.93 USD
"; if (url == null || number == null) { $(".shopping-cart").html(html); ShowCar(result); } else { $(".shopping-cart").html(html); ShowCar(result); } } } } $(".items-quantity").live("change keyup", function () { var value = $(this).val(); var row = $(this).parents(".goldrl-box"); row.find("input.rlbtn").each(function () { var input = $(this); $.each([ { attr: "tag", value: input.attr("tag") }, { attr: "href", value: input.attr("href") }], function (i, e) { var v = e.value; v = v.replace(/goldNum=\d*&/gi, "goldNum=" + value + "&"); input.attr(e.attr, v); }); }); }); var doSearch = function () { $(".gold-list").hide(); window.searchItems = []; var item = $(".itemname").val().trim(); if (item.length == 0) { var tag = $(".coin-title em.on").attr("tag"); $(".search-list").html("").hide(); $(".gold-list[data-method='" + tag + "']").show(); } else { $(".gold-list .goldrl-box").each(function (i) { var f = true, e = $(this).show(), egl = e.parents(".gold-list"); var itemname = e.find(".rl-name").text(); var regExp = new RegExp(item, "gi"); var n0 = itemname.replace(/[\s+\-]+/gi, "").toLowerCase(); var n1 = item.replace(/[\s+\-]+/gi, "").toLowerCase(); if (!(regExp.test(itemname) || n0.indexOf(n1) > -1)) { f &= false; } if (f) { var item2 = $(e.prop("outerHTML")); window.searchItems.push({ i: i, isnum: egl.data("isnum"), item: item2, name: item2.find(".rl-name").text(), price: parseFloat(item2.find(".poeprice").text()) }); } }); sortSearchItems(); loadItemImages(false); } } $(".itemname").live("keyup", doSearch); $(".priceup select").live("change", function () { var expires = new Date(); expires.setHours(expires.getHours() + 4); $.cookie("_gasort", $(this).val(), { expires: expires }); sortSearchItems(); }); var sortSearchItems = function () { //排序方法 var s = parseInt($.cookie("_gasort") || "1"); var itemSort = function (a, b) { var v = 0; switch (s) { case 2: v = b.price - a.price; if (v != 0) { return v; } case 3: v = a.price - b.price; if (v != 0) { return v; } } if (a.isnum && b.isnum) { v = a.price - b.price; if (v != 0) { return v; } } var array1 = [a.name, b.name]; var array2 = array1.slice(0); array1.sort(); return array1[0] == array2[0] ? -1 : 1; }; if (window.searchItems) { var thisSearchItems = [], copySearchItems = window.searchItems.slice(0), searchPanel = $(".search-list").html(""); $.each(copySearchItems, function (i, e) { var items = derivedItems(e); thisSearchItems = thisSearchItems.concat(items); }); thisSearchItems.sort(itemSort); $.each(thisSearchItems, function (i, e) { searchPanel.append(e.item).show(); if (e.change) e.change(); }); pagingItems(searchPanel); } else { //排序当前选中分类 $(".gold-list").each(function () { var gl = $(this); if (!gl.is(":hidden")) { var categoryItems = [], originalItems = []; gl.find(".goldrl-box").each(function (i, e) { var item2 = $(this).clone(true); var item = { i: parseInt(item2.attr("data-index")), isnum: gl.data("isnum"), item: item2, name: item2.find(".rl-name").text(), price: parseFloat(item2.find(".poeprice").text()), sort: parseInt(item2.attr("data-sort")) }; if (s == 1 && item.sort > 0) { originalItems.push(item); } else { categoryItems.push(item); } }); categoryItems.sort(itemSort); if (originalItems.length > 0) { originalItems.sort(function (a, b) { return b.sort - a.sort; }) $.each(originalItems, function (i, e) { categoryItems.splice(e.i, 0, e); }); } gl.find(".goldrl-box").remove(); $.each(categoryItems, function (i, e) { gl.append(e.item).show(); }); } }); } }; var derivedItems = function (obj) { //展示不同颜色只针对输入了物品名称 var searchItemname = $(".itemname").val().trim(); if (searchItemname == "") { return [obj]; } var html = obj.item.prop("outerHTML"), item = $(html); return [{ i: obj.id, name: obj.name, item: item, price: obj.price, isnum: obj.isnum }]; }; var pagingItems = function (panel) { var size = 28; var count = $(panel).find(".goldrl-box").length; var pageDiv = $("
"); if (count > size) { $(".search-list").append(pageDiv); var total = (count + size - 1) / size; for (var i = 1; i <= total; i++) { pageDiv.append("" + i + "\r\n"); } pageDiv.find("a").each(function () { $(this).live("click", function () { pageDiv.find("a").removeClass("on"); $(this).addClass("on"); var page = parseInt($(this).text()); var skip = (page - 1) * size; $(panel).find(".goldrl-box").each(function (i, e) { if (i < skip || i > (skip + size - 1)) { $(this).hide(); } else { $(this).show(); } }); }); })[0].click(); } else { $(".items-page").remove(); } }; $(".goldrl-box").live("mouseenter mousemove mouseleave", function (event) { var info = $(this).find(".fallout-infoimg"); if (info.length > 0) { var isright = $(this).width() + "px"; if ($(this).offset().left > 1000 && $("body").width() < 2200) { isright = "-" + ($(this).width() / 2) + "px"; if ($(this).width() / 2 < 100) { isright = "-311px"; } } if (event.type == "mouseenter") { var ispad = parseInt("0") == 1; var ismmo = "aoeah.com" == "mtmmo.com"; var index = ($(this).parents(".gold-list,.search-list").find(".goldrl-box::visible").index(this)) % (ispad ? 4 : (ismmo ? 8 : 7)); info.html(info.data("html")); info.css({ left: (index > (ispad ? 1 : 3)) ? (ismmo ? "-363px" : "-333px") : isright}).show(); } else if (event.type == "mousemove") { info.css({ left: (index > (ispad ? 1 : 3)) ? (ismmo ? "-363px" : "-333px") : isright}).show(); } else { info.hide(); } } }); $(".fallout-infoimg").live("hover", function () { $(this).hide(); }); $(".min, .add").live("click", function () { var value = $(this).attr("class"); if (value == "min") { var tinput = $(this).next(); var min = parseInt(tinput.attr("min")); var current = parseInt(tinput.val()); if (current - min >= min) { tinput.val((current - min)); tinput.change(); } } else { var tinput = $(this).prev(); var min = parseInt(tinput.attr("min")); var current = parseInt(tinput.val()); tinput.val((current + min)); tinput.change(); } }); $(document).ready(function () { loadItemImages(false); });