Advertisement
Guest User

Untitled

a guest
Jan 27th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 4.62 KB | None | 0 0
  1. ===================================================================
  2. --- Current Version
  3. +++ New Version
  4. @@ -1,9 +1,9 @@
  5.  // ==UserScript==
  6.  // @name           Harem Heroes++
  7.  // @namespace      haremheroes.com
  8.  // @description        Adding things here and there in Harem Heroes game.
  9. -// @version            0.05.2
  10. +// @version            0.05.1
  11.  // @match          http://nutaku.haremheroes.com/*
  12.  // @match          https://www.hentaiheroes.com/*
  13.  // @match          https://www.gayharem.com/*
  14.  // @run-at         document-end
  15. @@ -350,10 +350,9 @@
  16.     // get haremettes stats & display wiki link
  17.     i = 0;
  18.     $('#harem_right').children('[girl]').each( function() {
  19.         // display: wiki link
  20. -       $(this).append('<div class="WikiLink"><a href="http://harem-battle.club/wiki/Harem-Heroes/HH:' + HList[i].Name + '" target="_blank">Wiki</a></div>');
  21. -        console.log(HList[i]);
  22. +       $(this).append('<div class="WikiLink"><a href="http://harem-battle.club/wiki/Harem-Heroes/HH:' + HList[i].Name + '" target="_blank"> her wiki page </a></div>');
  23.         i++;
  24.  
  25.         var j = 0,
  26.             Taffection = 0, // T= Total requirements (right tooltip)
  27. @@ -371,19 +370,19 @@
  28.         IncHourly += parseInt($(this).find('.salary').text(), 10);
  29.  
  30.         girl_quests.find('g').each( function() {
  31.             // prepare affection tooltip
  32. -           var Raffection = EvoReq[j].affection * 417 * i, // R= Required for this star (right tooltip) // 417 price of 1 affection
  33. -               Rmoney =  EvoReq[j].money * i,
  34. +           var Raffection = EvoReq[j].affection * i, // R= Required for this star (right tooltip)
  35. +               Rmoney = EvoReq[j].money * i,
  36.                 Rkobans = EvoReq[j].kobans * i;
  37.             Taffection += Raffection;
  38.             Tmoney += Rmoney;
  39.             Tkobans += Rkobans;
  40.             j++;
  41.             AffectionTT += '<b>' + j + '</b><span class="imgStar"></span> : '
  42. -                        + NbCommas(Raffection + Rmoney) + ' <span class="imgMoney"></span> = '
  43. -                        + '' + NbCommas(Raffection) + ' <span class="imgMoney"></span> (aff) + '
  44. -                        + '(' + NbCommas(Rmoney) + ' <span class="imgMoney"></span> (quest) or ' + NbCommas(Rkobans) + ' <span class="imgKobans"></span>)<br/>';
  45. +                        + NbCommas(Raffection) + ' affection, '
  46. +                        + NbCommas(Rmoney) + ' <span class="imgMoney"></span> or '
  47. +                        + NbCommas(Rkobans) + ' <span class="imgKobans"></span><br />';
  48.  
  49.             // get stats: unlocked/available scenes & prepare scenes link
  50.             AvailableSc++;
  51.             ScenesLink += (ScenesLink === '') ? 'hh_scenes=' : ',';
  52. @@ -418,11 +417,11 @@
  53.         });
  54.         ScenesLink = '';
  55.  
  56.         AffectionTT += '<b>Total:</b> '
  57. -                    + NbCommas(Taffection + Tmoney) + ' <span class="imgMoney"></span> = '
  58. -                    + '' + NbCommas(Taffection) + ' <span class="imgMoney"></span> (aff) + '
  59. -                    + '(' + NbCommas(Tmoney) + ' <span class="imgMoney"></span> (quest) or ' + NbCommas(Tkobans) + ' <span class="imgKobans"></span>)';
  60. +                    + NbCommas(Taffection) + ' affection, '
  61. +                    + NbCommas(Tmoney) + ' <span class="imgMoney"></span> or '
  62. +                    + NbCommas(Tkobans) + ' <span class="imgKobans"></span>';
  63.  
  64.         // display: Affection costs tooltip
  65.         girl_quests.parent().children('h4').prepend('<span class="CustomTT"></span><div class="AffectionTooltip">' + AffectionTT + '</div>');
  66.     });
  67. @@ -483,11 +482,11 @@
  68.                     + '<span class="subTitle">Money incomes:</span>'
  69.                     + '~' + NbCommas(IncHourly) + ' <img src="http://i.harem-battle.club/images/2017/01/07/0Gsvn.png"> per hour'
  70.                     + '<br />' + NbCommas(IncCollect) + ' <img src="http://i.harem-battle.club/images/2017/01/07/0Gsvn.png"> when all collectable'
  71.                     + '<span class="subTitle">Required to unlock all locked scenes:</span>'
  72. -                   + NbCommas(Saffection + Smoney) + ' <img src="http://i.harem-battle.club/images/2017/01/07/0Gsvn.png">: '
  73. -                   + '<br/> - ' + NbCommas(Saffection) + ' <img src="http://i.harem-battle.club/images/2017/01/07/0Gsvn.png"> for affections '
  74. -                   + '<br/> - ' + NbCommas(Smoney) + ' <img src="http://i.harem-battle.club/images/2017/01/07/0Gsvn.png"> for quests'
  75. +                   + '- ' + NbCommas(Saffection) + ' affection'
  76. +                   + '<br />- ' + NbCommas(Smoney) + ' <img src="http://i.harem-battle.club/images/2017/01/07/0Gsvn.png">'
  77. +                       + ' or ' + NbCommas(Skobans) + ' <img src="http://i.harem-battle.club/images/2016/08/30/gNUo3XdY.png">'
  78.                     + '<span class="subTitle">My Stocks:</span>'
  79.                     + MarketStocks
  80.                     + '</div>';
  81.  
  82. @@ -632,10 +631,10 @@
  83.  
  84.     sheet.insertRule('#harem_right .AffectionTooltip {'
  85.                         + 'position: absolute;'
  86.                         + 'z-index: 99;'
  87. -                       + 'margin: -130px 0 0 -38px;'
  88. -                       + 'width: 390px;'
  89. +                       + 'margin: -130px 0 0 -28px;'
  90. +                       + 'width: 280px;'
  91.                         + 'height: 127px;'
  92.                         + 'border: 1px solid rgb(162, 195, 215);'
  93.                         + 'border-radius: 8px;'
  94.                         + 'box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.1);'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement