12-23-2008, 01:00 PM
(This post was last modified: 05-14-2017, 05:58 AM by DerVVulfman.)
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.
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.