I am still new on this RPG maker stuff... But I am making some progress creating a rpg of my own... I used Yanfly's Buff & State Manager in RPG Maker VX Ace and whenever I put the <reapply ignore> tag in the state noteboxs and during the game test when I apply a state (stun and/or blind for example), the game crashes and a message appears:
" Script Game_Battler line 245: NoMethodError occurred.
undefined method '>' for nil:NilClass "
Please, I really need help... 🙁:blush:🙁
This is the part of that script where the error is blamed: (the one in red)
240 #--------------------------------------------------------------------------
241 # * Update State Turn Count
242 #--------------------------------------------------------------------------
243 def update_state_turns
244 states.each do |state|
245 @state_turns[state.id] -= 1 if @state_turns[state.id] > 0
246 end
247 end
" Script Game_Battler line 245: NoMethodError occurred.
undefined method '>' for nil:NilClass "
Please, I really need help... 🙁:blush:🙁
This is the part of that script where the error is blamed: (the one in red)
240 #--------------------------------------------------------------------------
241 # * Update State Turn Count
242 #--------------------------------------------------------------------------
243 def update_state_turns
244 states.each do |state|
245 @state_turns[state.id] -= 1 if @state_turns[state.id] > 0
246 end
247 end