# 开关条件为 10,且 开关 10 打开时 if switch_id == 10 # SP 的限制条件是低于变量 10 if self.sp > $game_variables[10] # next 表示这个行动被跳过,是否定条件 next end end