lushen124 / Universal-FE-Randomizer

Properly universal this time.
MIT License
98 stars 28 forks source link

[FE7] Excessively high randomized enemy base stats #399

Open EliteSoba opened 2 years ago

EliteSoba commented 2 years ago

Version: Yune v0.9.3 Issue Description: In Chapter 4, I got randomized enemy mages that are level 1 with 20 magic so they're one-shotting my dudes.

image image

On reloading the chapters sometimes I'd get underflowed values and sometimes I'd get --

image

Looks like ClassRandomizer.applyBaseCorrectionForCharacter isn't accounting for underflows? The output log doesn't list anything about mob base stats, so I'm just guessing based on a light trace of the source code

image debug_output.txt

(github doesn't let me upload an html file so i'm providing the output as a txt file)

lushen124 commented 1 year ago

IIRC, a lot of the enemies in the prologue use enemy characters with negative bases, presumably to make it a bit easier than their class bases would normally allow them to be. As you say, the randomizer doesn't account for this yet. Will definitely prioritize this for a fix.