How Math Shapes Aviamasters Xmas Battle Logic