Solaris-Skunk-Werks / solarisskunkwerks

66 stars 26 forks source link

Movement Doesn't update when changing tech levels (IS/Clan/Mixed) #318

Open Maelwys opened 11 months ago

Maelwys commented 11 months ago

If you have a movement modifier on the unit, and you try to change tech (such as from IS to Mixed tech) the items stay on the unit (if they can, depending on the tech change), but the movement seems to default.

Easiest way to test is to set an IS mech to experimental, give it 4/6 movement, Hardened armor and TSM. the movement will show 5/7.

If you then change it to mixed, it will revert to showing 4/6 but the TSM and Hardened will still be in place.

I think this is mainly an issue when changing from IS to Mixed, because it allows stuff like TSM and Hardened armor to stay, whereas going in the other directions equipment is usually striped out to due to either being illegal or so other issues don't happen.

So I suppose one fix would be to strip out equipment like this, or just force a check on the change I think?