我不知道为什么我else if
的不工作!
var workSurvival:Number = 0;
var work:int = parseInt(work_txt.text);
if(work < 60 > 0){
workSurvival = work*12;
trace("work 1-" + workSurvival);
}else if(work < 120 > 60){
workSurvival = work*25;
trace("work 2-" + workSurvival);
trace(work);
}else if(work == 120){
bestScore -= 1;
trace("Good Score!");
}else if(work < 200 > 120){
workSurvival = work*8;
trace("work 3-" + workSurvival);
}else if(work < 401 > 200){
workSurvival = work*4;
trace("work 4-" + workSurvival);
}