Battler : Dead When SP 0
#1
Introduction

This script allows the developer to flag Actors and Enemies to die as soon as their SP reaches 0.

What this means is if an actor or enemy uses up all their magic reserves, they're dead.

I believe I got this inspiration from Final Fantasy 6, where you can use Osmosis to drain certain enemies of their MP, which was easier than chipping away at their HP, to kill them. It could've been a different numbered game in the series, but either way I know it was one of those FF games.

How do I know this? I don't know... I just do, okay! Quit asking questions!

Instructions

Place below default scripts and above Main.

Code:
# Actor 1 dies when SP is 0.
Game_Actor::DeadWhenSP0 = [1]

# All actors die when SP is 0
Game_Actor::DeadWhenSP0 = true

# This is invalid and will result in error...
Game_Actor::DeadWhenSP0 = false

# ...In that case, just leave the Array empty
Game_Actor::DeadWhenSP0 = []

# Enemies work in the same fashion^

Compatability

I wrote this for RPG Maker XP. It doesn't require SDK but it is compatible nonetheless.

If you want to use this for VX or VX Ace, you may only have to change...

sp => mp
SP => MP

...but I'm not entirely sure if anything else would need to be done. Good luck!

Script

Content Hidden

Author's Notes

I have a Drain / Osmosis script somewhere on this forum, you might want to look it up. The idea was to use Osmosis to completely drain an enemy of their MP and watch them die, hahaha!

Have I updated the mentioned Drain / Osmosis script since then? I'll check tomorrow and see if it's the most up-to-date version as I'm not entirely sure at this moment.

Credit

Free for commercial and non-commercial use. Just credit Kain Nobel and enjoy!
[Image: Button-BOTB.png]
[Image: Save-Point.gif][Image: Button-You-Tube2.png][Image: Button-Sound-Cloud2.png][Image: Button-Audio-Mack2.png]
[Image: LS-Banner.gif]
NEW ALBUM OUT NOW!

Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Quickie Battler Animation DerVVulfman 0 377 08-26-2024, 10:16 PM
Last Post: DerVVulfman
   Modify Battler Collapse Effect PK8 2 11,237 04-03-2012, 03:04 AM
Last Post: PK8
   Battler Sprite Addons Kain Nobel 0 5,457 09-17-2009, 12:42 PM
Last Post: Kain Nobel



Users browsing this thread: 1 Guest(s)