Why does Vassal stop when you have ~15 nested If(,,)?

Thanks for the input slimy. I decided on a different approach for that first part. Now using:

(Math.floor((float)((odds1d10<0.16?-500:(odds1d10<0.2?-400:(odds1d10<0.25?-300:(odds1d10<0.33?-200:(odds1d10<0.5?-100)))))+etc