lushen124 / Universal-FE-Randomizer

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

[FE8] Green unit heals uninjured blue unit #374

Open PainfulAC opened 3 years ago

PainfulAC commented 3 years ago

In FE8, Ch 17 on Ephraim's route. Syrene randomized to a mage knight, and started with Fortify and Heal, as well as a Fire tome. After killing two enemies during the enemy round, Syrene spent her turn using heal on my unit next to her, which had full health. It did use up one use of the heal staff as well.

image

image

lushen124 commented 2 years ago

That's...odd, but I'm assuming it's because I don't update any of the AI flags for green units, so Syrene may not have any idea what to do with a staff. I could give her similar AI to what L'Arachel has normally, but that may break more things. I'll have to look into it. I'm assuming this doesn't cause any issues outside of wasting a heal staff use. I guess AI isn't shackled by the UI not allowing you to do this under normal circumstances, and you can't do the same thing yourself.

Vennobennu commented 2 years ago

GBA staff AI is not very robust, as this case shows. NPCs and enemies with Barrier can use it on themselves, Fortify targeting is messed up in two ways, and Warp AI is not implemented at all. It's not a huge deal IMO.

You can give staff-wielding NPCs 0xE for their first AI byte which should make them only heal units below 50% HP, but of course that would allow f.ex. Syrene to move around and attack which would be more undesirable.