Yep, you're right. It is/was. I was sure that something I had coded in would execute on actor 5 and it wasn't and I thought that the only reason could be that it wasn't calling recoverAll. I was wrong, though. The data on actor 5 wasn't what I thought it was. Just a dumb mistake on my part.
That's the problem with being an experienced programmer. Sometimes you're too sure you know what's going on and the solution is something simple that you've already discounted.
😊
Edit:
Just found out what's going on. Somehow, the same exact string when being compared to the same exact value was registering as true for one and false from the other. There was an invisible character added on to the one giving me the issue that thankfully was removable with a trim(). The weird thing is that both were being drawn from the same Select plugin parameter and were set to the same dropdown value. Very strange. So I did actually have my data correct, JavaScript just kind of flaked out on me there.
Edit 2:
Found out what caused the anomaly. I inadvertently corrupted my plugin parameters. The way I usually comment out a plugin parameter is my simply removing the @ at the beginning of each line in the parameter. This removes it from the editor. I "commented out" some of the drop-down selections and while everything appeared completely normal in the edit and also in the code, an invisible character attached itself to this value. To make matters worse, one of the values I had saved before doing this and the other after so only one of my "Hybrid" values was corrupting resulting in the comparisons coming back different. You can see what I did.
Code:
* @param Caster Type
* @type select
* @desc Define what magic system this class uses.
* @default Prepared
* @option Prepared - Prepare which spells or abilities you want to cast
* @value Prepared
* @option Spontaneous - Cast any spell or ability that you know
* @value Spontaneous
* @option Hybrid - Prepared spells that aren't consumed when used
* @value Hybrid
* option Innate - Power
* value Innate
* option Default - Mana
* value Default
So make sure you don't do this. If you use this method to comment out a parameter, make sure you do the whole thing or weird stuff might happen.