06-03-2016, 10:11 AM
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.
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
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!
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!