Thread:FixSRwiki/@comment-46261745-20200829124347/@comment-46261745-20200905164453

My bad on the base value. From what I'm seeing, the base value is overridden by the class, not added to it, so it's a kind of default for classes with a 15 base speed (?). Probably has no impact on the guide, just a way they coded the class base speed secttion...

Considering that the 15 base doesn't apply, then in the second screenshot, I would have expected to be 10 total, not 14... From playing around with 速度補正値, it appears that lint can't go negative... so I think what happened is  6-6 (ignore -4 because it can't go negative)+10+4=14.

So the order that modifiers get applied, actually matters because of this.

Do we want to change this btw? I could fairly easily add on the 10+4 before the speed/speed buff substractions arer made, his wouuld be a mod to the current algorithm though.

The total is the 速度 variable in 順番_登録. So that is the actual, final speed value of the character that is registered, not something that I made up.

Your theory about inheriting speed values from earlier in the battle should be correct though (I mean, it's pretty obvious when a character gets a double move). What appears to happen is that each beginning of turn, in the 順番_時間更新 function, each commander's delay is reduced by as much as needed to have a commander with a delay of 1. That commander is then chosen to have their turn in Ｐ合戦処理 where it says n武将番号 = 順番番号[1];. But this means that the delay value is still the actual delay value of the commander, it doesn't inherit anything from a previous turn, it's just that all the other commanders still have a delay value that reflects the initial ordering. (I think that explains what you observed in bullet 4?)

As for convert action... The way it appears to work is that it causs a global variable 予備１ to then trigger an extra +6 - I believe this shouuld actually appear in the message box - I didn't know what it was at the time, so I just puut (予備１?) beside the value.