Skip to content

Instantly share code, notes, and snippets.

View nschepsen's full-sized avatar

Nike Kleisthenes nschepsen

View GitHub Profile
@nschepsen
nschepsen / HeroWarsHelper.user.js.patch
Last active February 7, 2026 22:18
HeroWarsHelper v2.222 (Reveal my Drop)
2134c2134,2148
< count: 0,
---
> count: 0, wins: 0,
> getBStats: function() {
> return `(<span style="font-size:16px;">W: <span style="color:green;">${this.wins}</span> L: <span style="color:red;">${this.count - this.wins}</span></span>)`;
> },
> reward: {
> 'hash': str => [...str].reduce((s, c) => Math.imul(31, s) + c.charCodeAt(0) | 0, 0).toString(),
> 'gold': 0, 'heroXp': 0,
@nschepsen
nschepsen / HeroWarsHelper.user.js.patch
Last active April 29, 2024 09:23
HeroWarsHelper v2.230 (Limit FPS)
501a502,503
> LIMIT_FPS: 'Limit Frames (FPS)',
> LIMIT_FPS_TITLE: 'Limit FPS (Frames per Secods) to lower the CPU usage',
832a835,836
> LIMIT_FPS: 'Ограничить FPS',
> LIMIT_FPS_TITLE: 'Ограничить FPS для уменьшения нагрузки на CPU',
990a995,1000
> limitFPS: {
> label: I18N('LIMIT_FPS'),
> cbox: null,