Auto-Life Effect

Auto-Life Effect

Script by Mr. Bubble

​



[IMG]http://mrbubblewand.files.wordpress.com/2012/07/autolife.png[/IMG]

​

Summary

This script is my attempt to replicate the well-known status effect ”Auto-Life” a.k.a. “Reraise”, “Life 3″, “Lifeline”, etc. in VX Ace. Auto-life automatically revives battlers when they are Incapacitated in battle.

Be aware that the customization module in this script allows you to assign a Game Switch that disables all auto-life effects in-game. This is useful for evented battles.

If you experience anything odd, please report them to me.

Script

Can be found here: http://wp.me/PxlCT-k4

Installation

Paste this script into its own page within the "Materials" section in the script editor of your project.

Install this script below any scripts that modify the default battle system in you script editor.

How to Use

This script utilizes notetags and contains a user customization module. Please read the comments thoroughly.

Compatibility

This script aliases some default VXA methods. There are no default method overwrites.

Requests for compatibility with other scripts are encouraged and welcome.

Terms and Conditions

Free for non-commercial use.

If you wish to use this for commercial games, contact me first.

Please feel free to post coding and efficiency suggestions, script features suggestions, and bug reports.
Awesome! It works great for me...so far, haha! I'll let you know should any bugs arise. Seems compatible with a lot of Yanfly's scripts I have running too.
Script updated to v1.2 (already!)

Nothing big, but it should prevent a potential oddity...
Updated to v1.4.

This update is required if you want to use my other script Guts Effect with this.
I'm guessing you couldn't check auto-life at the end of the turn because the battle manager fortunately cuts in all the time and checks whether you've lost or not.

In that case, how about checking whether anyone can revive themselves before checking win/loss conditions?
I'm guessing you couldn't check auto-life at the end of the turn because the battle manager fortunately cuts in all the time and checks whether you've lost or not.
Pretty much.

In that case, how about checking whether anyone can revive themselves before checking win/loss conditions?
Good idea. I already thought of a way to do that.
While this isn't game breaking in a player's view (as the function is not available to them), from a developers viewpoint there's a bug that occurs when using Yanfly's Ace Battle Engine and you use its F8 battle debug tool. What this does normally is instantly kill of all enemies and the battle is won. With this script inserted, when I use F8 to instantly kill the enemies, they do die, but the battle doesn't end, and then when you go to select an enemy target the game obviously crashes with a zero division error.
While this isn't game breaking in a player's view (as the function is not available to them), from a developers viewpoint there's a bug that occurs when using Yanfly's Ace Battle Engine and you use its F8 battle debug tool. What this does normally is instantly kill of all enemies and the battle is won. With this script inserted, when I use F8 to instantly kill the enemies, they do die, but the battle doesn't end, and then when you go to select an enemy target the game obviously crashes with a zero division error.
Updated to v1.7. Get it from my blog again. That crash should be fixed now.

Please report any other issues in the future.
I have a question. Can you make the autolife be on a character and it never breaks? Like when you go into Actors and under their notes can you put the custom autolife under Actors? I know it is ment for equipment, but I was wondering if it was possible.
I have a question. Can you make the autolife be on a character and it never breaks? Like when you go into Actors and under their notes can you put the custom autolife under Actors? I know it is ment for equipment, but I was wondering if it was possible.
I originally did allow actors and even classes to have auto-life effects and it did in fact work. But for some reason, I had a feeling that someone was going to be really dumb and complain about how overpowered that would be. :x

I can re-implement it if there is demand for it.
There is a demand for it.
There is a demand for it.
What's the magic word?
What's the magic word?
Pleeeaaaassssse?
Alakazam!
Updated the script to v1.9. Actors, Classes, and Enemies can now have autolife tags. Let me know of any bugs.
Thanks, Mr. Bubbles.

This'll be a fun little thing to play around with :3
Updated the script to v1.9. Actors, Classes, and Enemies can now have autolife tags. Let me know of any bugs
   I 😮   when I got to the part where you said that you removed the enemy/actor/class functionality.  I mean it's like :headshake: because a good way too use this is for undead that need to be exorcised after being downed,D&D style trolls, and a party member who resurrects after a certain number of turns giving you that heroic "second wind" effect. All of that is of course is  🤘 🤣 🤘 . It will be BD   to see how people end up using this.

Heh, these emoticons are awesome. 😀

Original thread: https://forums.rpgmakerweb.com/threads/auto-life-effect.3141/