#--------------------------------------------------------------------------
# ● 更新状态的回总数数
#--------------------------------------------------------------------------
def update_state_turns
states.each do |state|
@state_turns[state.id] -= 1 if @state_turns[state.id] > 0
end
end
这里报错
Game_Battler 244行
NoMthodError occurred
undefined method ">" for nil:NilClass