Hime-Works / Requests

Bug reports and requests that may require longer discussions and is not suitable to leave on the blog
http://himeworks.com/
GNU General Public License v2.0
7 stars 9 forks source link

About Kill Count Tracker again (Sorry!) #342

Open ryanpzo9 opened 7 years ago

ryanpzo9 commented 7 years ago

I added your Kill Count Tracker Script to my project, but everytime i kill a monster, it gives me this error: "Line 74: NoMethodError occured undefined method '>' for nil:NilClass" I took a glance at your script and these are lines 74 to 76:

if $game_system.kill_variable > 0 $game_variables[$game_system.kill_variable] += 1 end

So is there a problem here or i'm doing something wrong?

HimeWorks commented 7 years ago

You may need to start a new game for this to work

ryanpzo9 commented 7 years ago

I always start a new game to test a new script, but it still happens. Even when i try a fresh project, the same error occurs.

HimeWorks commented 7 years ago

I've updated the script. See if it works for you.

ryanpzo9 commented 7 years ago

Looks like it works well now. Thank you for the update.