Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

RGSS2

Name: Puppet of Fate 2011-07-30 20:02

So I am complete unexperienced in the ways of RGSS2 coding and I am in need of some help. I am working on a game using RPG Maker VX (I know it doesn't require much coding know-how) and have run into a problem with a script that I have added. I found the script on a different website with instructions on how to make it work correctly, which I followed. I have also asked for help on said website but no response. So, now I come to you, PROG, in hopes that you can help me.

The errors pops up and states...

Script 'Spirits System - Yanfly' line 154: NoMethodError occurred.

undefined method 'each' for nil:NilClass

Line 154 is in this section of coding as well.

#--------------------------------------------------------------------------
  # * Get Basic Maximum HP
  #--------------------------------------------------------------------------
  alias spirit_base_maxhp base_maxhp
  def base_maxhp
    result = spirit_base_maxhp
    for spirit in @spirits
      if Stat_Bonus_by_Percentage
        result *= (100 + spirit.base_maxhp)
        result /= 100
      else
        result += spirit.base_maxhp
      end
    end
    return result
  end

===

Any help?

Name: Anonymous 2011-08-01 18:24

>>12
install gentoo
>>13,14
tsk

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List