Advertisement
Guest User

Untitled

a guest
Mar 29th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. (d => {
  2. if(`si` != getCookie(`interface`)) return;
  3. let e = !1;
  4. const f = a => {
  5. const b = [`aldous`, `berufs`, `brutal`, `classic`,
  6. `gefion`, `hutena`, `jaruna`, `katahha`, `lelwani`,
  7. `majuna`, `nomada`, `perkun`, `tarhuna`, `telawel`,
  8. `tempest`, `zemyna`, `zorza`, `fobos`],
  9. c = Math.max(Math.round(a * (b.includes(g.worldname) ?
  10. 1.2 : 1.4) + 4) - a, 13),
  11. e = Math.max(Math.round(a - (a - 4) / (b.includes(g
  12. .worldname) ? 1.2 : 1.4)), 13),
  13. d = [document.createElement(`div`), document
  14. .createElement(`div`)];
  15. return d[0].innerText = `${a-e}-${a}`, d[1].innerText =
  16. `${a}-${a+c}`, d
  17. },
  18. h = () => {
  19. let a = hero.lvl,
  20. b = document.querySelector(`#nick`);
  21. if(!a || !b) return setTimeout(h, 100);
  22. if(!b.querySelector(`#min-max`)) {
  23. const c = f(a),
  24. d = document.createElement(`div`);
  25. d.id = `min-max`, c.forEach(a => {
  26. a.style[`padding-left`] = `5px`, a.style[
  27. `padding-right`] = `5px`, a.style
  28. .display = `inline-block`, d.append(a)
  29. }), d.style[`font-size`] = `10px`, b.append(d), b
  30. .style[`margin-top`] = `3px`
  31. }
  32. e = !0
  33. };
  34. h(), parseInput = (f, a, b) => {
  35. d(f, a, b), e && h()
  36. }
  37. })(parseInput);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement