SHARE
TWEET

Abyssian Cultural decklists

a guest Jun 6th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CSS OVERRIDE:
  2.  
  3. #DB-profileIconName {
  4.   font-family: Oblivion;
  5.   font-size: 1.80rem;
  6. }
  7.  
  8.  
  9. JAVASCRIPT OVERRIDE:
  10.  
  11.  
  12. function saveHorizontal() {
  13.     $("#fLH-topStats").append($("#DB-profileIconNameCont").clone()).append($("<div class='verticalCCFlex'></div>").append($("#DB-listStats").clone()).append($("<div class='spaceardCCflex'></div>").append($("#DB-spiritAndReset .DB-stat").clone()))).append($("#DB-manaDistGraph").clone());
  14.     $("#fLH-topStats .spaceardCCflex").prepend($("#fLH-topStats #DB-statTotal"));
  15.     $("#fLH-topStats #DB-statTotal").addClass("horiz");
  16.     $("#fLH-topStats #DB-statTotal .DB-statTitle").html("Total:&nbsp;");
  17.     (0 < theDeck.cards.sfaction.length || 0 < theDeck.cards.sneutral.length) && $("#fLH-sideboard").css("display", "block");
  18.     for (var a = theDeck.cards.faction.concat(theDeck.cards.neutral).concat(theDeck.cards.sfaction).concat(theDeck.cards.sneutral).sort(function(a, b) {
  19.         if (a.maindeck != b.maindeck)
  20.             return b.maindeck ? 1 : -1;
  21.         var c = cardData[a.name].type
  22.           , d = cardData[b.name].type;
  23.         if (c != d) {
  24.             var e = ["Unit", "Spell", "Artifact"];
  25.             return e.indexOf(c) - e.indexOf(d)
  26.         }
  27.         return cardSortFunc(cardData[a.name], cardData[b.name])
  28.     }), b = $("#fLH-sideSA"), c = 0; c < a.length; c++) {
  29.         var d = a[c]
  30.           , e = d.name
  31.           , h = d.cost
  32.           , k = d.count
  33.           , g = cardData[e].type
  34.           , f = baseColor;
  35.         rarityColorMap.hasOwnProperty(cardData[e].rarity) && (f = rarityColorMap[cardData[e].rarity]);
  36.         var l = d.maindeck ? "" : " sideboardCard"
  37.           , n = "Unlimited" == cardData[e].rot ? " flH-text-unltd" : ""
  38.           , m = '<div class="fLH-cardCont' + l + '">' + ('<div class="flH-sprite" style=\'background-image:url("' + getIdlePngRef(e) + "\")'></div>") + '<div class="fLH-cardNum simpleCCflex">' + ('<div class="' + n + '">' + k + "</div>") + "</div></div>"
  39.           , e = '<div class="' + (l + n) + '"><span class="flH-mana">' + h + "</span> " + (k + "x <span style='color:" + f + ";font-family:\"Oblivion\"'>" + e + "</span> </div>");
  40.         d.maindeck ? "Spell" == g ? ($("#fLH-spells").append(m),
  41.         $("#fLH-textSpells .fLH-innerTextGroup").append(e)) : "Artifact" == g ? ($("#fLH-artifacts").append(m),
  42.         $("#fLH-textArtifacts .fLH-innerTextGroup").append(e)) : ($("#fLH-minions").append(m),
  43.         $("#fLH-textMinions .fLH-innerTextGroup").append(e)) : ($("#fLH-textSide .fLH-innerTextGroup").append(e),
  44.         -1 < ["Spell", "Artifact"].indexOf(g) ? b.append(m) : $("#fLH-sideminions").append(m))
  45.     }
  46.     $("[data-remodal-id=modalHorList]").remodal().open();
  47.     $(".fLH-innerTextGroup").each(function(a) {
  48.         if (0 < $(this).children().length) {
  49.             if (this != $("#fLH-textArtifacts .fLH-innerTextGroup")[0]) {
  50.                 $(this).children().last();
  51.                 var b = $(this).position().left;
  52.                 a = Math.max.apply(Math, _toConsumableArray($.map($(this).children(), function(a) {
  53.                     return $(a).position().left - b + $(a).outerWidth(!0)
  54.                 })));
  55.                 $(this).width(Math.max($(this).parent().width(), a))
  56.             }
  57.         } else
  58.             $(this).parent().css("display", "none")
  59.     });
  60.     $.post("/shortlink", {
  61.         deckhash: window.location.hash,
  62.         _csrf: _csrf
  63.     }, function(a) {
  64.         $("#fLH-topStats .verticalCCFlex").append($("<div class='shortlinkerH'>bagoum.com/db/" + a + "</div>"));
  65.         $(".shortlinkerH")
  66.     })
  67. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top