https://github.com/rafsaf/openmargonem
Free and open source margonem scripts
https://github.com/rafsaf/openmargonem
agpl-v3 margonem scripts tampermonkey tampermonkey-userscript ts
Last synced: 10 months ago
JSON representation
Free and open source margonem scripts
- Host: GitHub
- URL: https://github.com/rafsaf/openmargonem
- Owner: rafsaf
- License: agpl-3.0
- Created: 2024-05-17T18:50:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-19T02:55:13.000Z (over 1 year ago)
- Last Synced: 2025-03-18T06:41:26.416Z (10 months ago)
- Topics: agpl-v3, margonem, scripts, tampermonkey, tampermonkey-userscript, ts
- Language: TypeScript
- Homepage: https://rafsaf.github.io/openmargonem/
- Size: 1.55 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openmargonem
Free and open source margonem scripts under GNU AGPLv3.
Goals:
- No 3-party links to other sites, all code in user script
- No code obfuscation and minification
- Clear license
## AutoHeal
Heals after every battle. Adds new addon in game addons tab. Implements [Greedy algorithm](https://en.wikipedia.org/wiki/Greedy_algorithm), first using equally (whichever fits better) normal and percentage potions, only then full potions.

## Development
Feel free to use this code under LICENSE.
To add new addon:
- create new file, use `autoheal.ts` as a base.
- new addon should implement `Addon` interface (note `Install` and `Uninstall`) and be created with `AddonCreate(...)` at some point in main script function in `index.ts`, it should be generic enough.
- `npm run build` creates files in public folder which is gitignored, try running those.