Thread:FixSRwiki/@comment-46261745-20200903015444/@comment-26544499-20200918195534

That's not changing the type of gs[0][n武将番号].兵数最大, that's changing the type of the variable that you're storing it in. 兵数最大 is probably some field of the gs object and it's therefore likely to have a fixed type. Check the definition of gs or 兵数最大.