Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (d => {
- if(`si` != getCookie(`interface`)) return;
- let e = !1;
- const f = a => {
- const b = [`aldous`, `berufs`, `brutal`, `classic`,
- `gefion`, `hutena`, `jaruna`, `katahha`, `lelwani`,
- `majuna`, `nomada`, `perkun`, `tarhuna`, `telawel`,
- `tempest`, `zemyna`, `zorza`, `fobos`],
- c = Math.max(Math.round(a * (b.includes(g.worldname) ?
- 1.2 : 1.4) + 4) - a, 13),
- e = Math.max(Math.round(a - (a - 4) / (b.includes(g
- .worldname) ? 1.2 : 1.4)), 13),
- d = [document.createElement(`div`), document
- .createElement(`div`)];
- return d[0].innerText = `${a-e}-${a}`, d[1].innerText =
- `${a}-${a+c}`, d
- },
- h = () => {
- let a = hero.lvl,
- b = document.querySelector(`#nick`);
- if(!a || !b) return setTimeout(h, 100);
- if(!b.querySelector(`#min-max`)) {
- const c = f(a),
- d = document.createElement(`div`);
- d.id = `min-max`, c.forEach(a => {
- a.style[`padding-left`] = `5px`, a.style[
- `padding-right`] = `5px`, a.style
- .display = `inline-block`, d.append(a)
- }), d.style[`font-size`] = `10px`, b.append(d), b
- .style[`margin-top`] = `3px`
- }
- e = !0
- };
- h(), parseInput = (f, a, b) => {
- d(f, a, b), e && h()
- }
- })(parseInput);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement