Merge branch 'OnyxdevSoftware:main' into main

This commit is contained in:
shadowbaofu 2024-05-14 00:37:28 -04:00 committed by GitHub
commit 9f394b8860
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 25 additions and 6 deletions

Binary file not shown.

View File

@ -3,7 +3,7 @@
**rogueEditor** is a simple Pokerogue.net save editor written in Python.
![cmd](https://i.imgur.com/jhZwPAf.png)
![dex](https://i.imgur.com/tOkmhfa.png)
![dex](https://i.imgur.com/UeS96O9.png)
## Requirements
@ -16,6 +16,13 @@
- Unzip/extract it into your desired location (It's recommended to create a new folder)
- Run the program with "rogueEditor.exe"
## Running the program in the browser
Want to run the program in the browser without downloading anything?
- Register an account at https://replit.com
- Navigate to https://replit.com/@OnyxdevSoftware/rogueEditor
- Click fork and run
- This requires no setup or programming skills.
## Warning
Some antivirus software may give false positives when running this program.
@ -60,9 +67,21 @@ Will I get banned for using this?
Why did nothing happen after my modifications?
- Refresh pokerogue.net in your browser.
Why does the program say that my login information is incorrect when it's not?
- You may be temporarily flagged by Cloudflare. (Changing connection/ip will fix this)
- Pokerogue may be down or lagging (This causes the program to timeout)
Can i bypass the Cloudflare issues by running the program via the replit.com fork?
- Yes.
How can i use this on the local version of Pokerogue?
- You can modify the API endpoints in the source to point towards localhost:8000.
## Discord
Would you like to contact me?
- Add me on Discord: **onyxdev**
## Final Words
- I take no responsibility for your actions when using this script.

View File

@ -235,7 +235,7 @@ class pokeRogue:
"moveset": None,
"eggMoves": 15,
"candyCount": caught + 20,
"abilityAttr": 5,
"abilityAttr": 7,
"passiveAttr": 0,
"valueReduction": 0
}
@ -285,9 +285,9 @@ class pokeRogue:
caught = int(input("How many of this Pokemon have you caught? (at least one) (+1 candy per)(number): "))
hatched = int(input("How many of this pokemon have you hatched? (at least one) (+2 candy per hatch)(number): "))
seenCount = int(input("How many of this Pokemon have you seen? (Needs to be more or equal to caught)(number): "))
spatk_iv = int(input("What's the special attack IV of the Pokemon?(number): "))
def_iv = int(input("What's the [special attack IV] of the Pokemon?(number): "))
atk_iv = int(input("What's the [defense IV] of the Pokemon?(number): "))
spatk_iv = int(input("What's the [special attack IV] of the Pokemon?(number): "))
def_iv = int(input("What's the [defense IV] of the Pokemon?(number): "))
atk_iv = int(input("What's the [attack IV] of the Pokemon?(number): "))
hp_iv = int(input("What's the [health IV] of the Pokemon?(number): "))
spd_iv = int(input("What's the [speed IV] of the Pokemon?(number): "))
spdef_iv = int(input("What's the [special defense IV] of the Pokemon?(number): "))
@ -307,7 +307,7 @@ class pokeRogue:
"moveset": None,
"eggMoves": 15,
"candyCount": caught + (hatched * 2),
"abilityAttr": 5,
"abilityAttr": 7,
"passiveAttr": 0,
"valueReduction": 0
}