Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Death from MP
#1
Death from MP
GubiD
Dec 23 2008

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.



If you want your characters to be able to die by MP as well as HP, kind of like Star Ocean: Till The End of Time...

Code:
class Game_Battler
  #--------------------------------------------------------------------------
  # * Decide Incapacitation
  #--------------------------------------------------------------------------
  def dead?
    return( (@hp == 0 or @sp == 0) and not @immortal)
  end
end

TADA!
Just have it check for sp==0 as well and problem solved.

 Just add it as its own script above main, but below everything else.
}




Users browsing this thread: