Special State: Autolife

Jeneeus Guruman

The Returnee
Veteran
Joined
Mar 28, 2012
Messages
1,078
Reaction score
194
First Language
Filipino
Special State: Autolife
Version: 1.1.0
By Jeneeus Guruman​
Introduction

This plugin allows to include a state that will automatically revive the KO-ed target whenever the state is active. Once the target is automatically revive, the state will be removed. Somewhat like Reraise in Final Fantasy VI.

Features

  • Automatically revives a battler when knocked out as long as the state is active.
Screenshots
 
None (maybe not necessary).

How to Use

To use this, you need to put the following notetags:
 

        <autolife: value[%]>

        value: The value of HP to be recovered to revive. Putting

        a percent sign will be based on the amount of MHP instead of

        fixed values. Multiple tags will take the value

        of the tagged state that has the highest state priority.

 
Script

Pastebin

GitHub

Known Bugs

None so far.
 
Update

  • v1.1.0: Now fixed numbers are accepted and needs to add a percent sign for percentage values.
  • v1.0.1: Made compatible with Yanfly Engine Core.
Author's Notes

  • This script is free to use commercially or not. If commercially, you must credit me. If not, just don't claim this as your own but not crediting me is okay if you don't want to.
 
Last edited by a moderator:

Silent Darkness

Robomage
Veteran
Joined
Nov 28, 2013
Messages
2,284
Reaction score
321
First Language
English
OOOH! I didn't even know I needed this one! Thanks!

Second Wind, here I come! :D
 
Last edited by a moderator:

Pumamori

Veteran
Veteran
Joined
Oct 29, 2012
Messages
109
Reaction score
21
First Language
German
Primarily Uses
RMMV
Does this work for enemies too? :)
 

Marvelous TK

Veteran
Veteran
Joined
Jun 23, 2012
Messages
23
Reaction score
6
First Language
English
Primarily Uses
I literally just fistpumped. Just straight up in the air, bam. Life, it is good, and you are to thank for it.
 

VHStapes

Game Designer
Veteran
Joined
May 25, 2014
Messages
57
Reaction score
7
First Language
English
Awesome state! Thank you.
 

Sol Rising

Veteran
Veteran
Joined
Oct 25, 2015
Messages
162
Reaction score
21
First Language
English
there seems to be a bug, after my character dies she revives but then she can't make any actions afterwards

 

Jeneeus Guruman

The Returnee
Veteran
Joined
Mar 28, 2012
Messages
1,078
Reaction score
194
First Language
Filipino
there seems to be a bug, after my character dies she revives but then she can't make any actions afterwards
Try to temporarily disable/turn off the ATB plugin if the bug is gone. I think the ATB plugin you used is not compatible in my script yet.
 

omfgkevin

Veteran
Veteran
Joined
Dec 21, 2012
Messages
35
Reaction score
2
First Language
English
Primarily Uses
Windows Defender detected a trojan on this, why?
 

Jeneeus Guruman

The Returnee
Veteran
Joined
Mar 28, 2012
Messages
1,078
Reaction score
194
First Language
Filipino
Windows Defender detected a trojan on this, why?
I haven't received any viruses when I scanned it on Windows Defender in my 2 PCs.

EDIT: I also scanned the file again using Avira and AVG but still no viruses. And I added a GitHub link above to make sure there are no viruses. If there is still a virus, try to scan your own computer.
 
Last edited by a moderator:

SOC

"God is my Judge"
Veteran
Joined
Mar 22, 2012
Messages
554
Reaction score
475
First Language
English
Primarily Uses
RMMV
I had no viruses or problems, either.
 

metronome

Veteran
Veteran
Joined
Aug 21, 2014
Messages
348
Reaction score
142
First Language
English (Sure!)
Primarily Uses
Err....where should I put the notetag in? States?
 

blackant

Warper
Member
Joined
Nov 5, 2015
Messages
3
Reaction score
0
First Language
Français
Hello, 

i'm actually trying to use your plugin, but i'am new to rpg maker MV, i don't understand what i do wrong...

here are some screens of what i made



 for each character ,

also tested with <autolife: 20%> or autolife: 20 

... im lost beacuse nothing looks working in the battle..
 

DarkSlayerEX

Veteran
Veteran
Joined
Oct 26, 2015
Messages
95
Reaction score
9
First Language
English
Hello, 

i'm actually trying to use your plugin, but i'am new to rpg maker MV, i don't understand what i do wrong...

here are some screens of what i made



 for each character ,

also tested with <autolife: 20%> or autolife: 20 

... im lost beacuse nothing looks working in the battle..
<autolife: 20%> goes on a state, which you then have to add to the characters/enemies.
 

Jeneeus Guruman

The Returnee
Veteran
Joined
Mar 28, 2012
Messages
1,078
Reaction score
194
First Language
Filipino
Hello, 

i'm actually trying to use your plugin, but i'am new to rpg maker MV, i don't understand what i do wrong...

here are some screens of what i made



 for each character ,

also tested with <autolife: 20%> or autolife: 20 

... im lost beacuse nothing looks working in the battle..
<autolife: 20%> goes on a state, which you then have to add to the characters/enemies.
DarkSlayerEX is right, although you need to remove the percent sign.
 

blackant

Warper
Member
Joined
Nov 5, 2015
Messages
3
Reaction score
0
First Language
Français
A screen of what you mean and how you set it may help me better, because i have added the state to both monster and characters...

but nothing.

screen2015-11-06 09 15 33.png
 

Jeneeus Guruman

The Returnee
Veteran
Joined
Mar 28, 2012
Messages
1,078
Reaction score
194
First Language
Filipino
You mean there's no autolife added? Try adding an icon to that state. It cannot be seen (and may still be activated regardless) if you don't have any icons assigned.
 

Janusz

Veteran
Veteran
Joined
Jul 4, 2015
Messages
26
Reaction score
4
Primarily Uses
Do you plan, add X% chance to autolife?
I mean something like this:

<autolife: 1, 50%>

Where: 1 = HP restored(not 1% MHP)
             50% = chance for arise/revive
 
Last edited by a moderator:

Jeneeus Guruman

The Returnee
Veteran
Joined
Mar 28, 2012
Messages
1,078
Reaction score
194
First Language
Filipino
Do you plan, add X% chance to autolife?

I mean something like this:

<autolife: 1, 50%>

Where: 1 = HP restored(not 1% MHP)

             50% = chance for arise/revive
I can try to add the fixed value but not the chance yet since I'm trying to find out the purpose and what will happen to the state if failed.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I feel like it's about time I share all the result of my experiment project here. But there's a lot of it.
Me and brother have an ongoing rivalry. We constantly fight for the High Score in Galaga on our arcade cabinet. Today I take back the top with 239,000. He'll be back. (No-Fire glitch is banned)
Made Custom ENEMY Information Screen
I'm having such a hard time thinking of an interesting battle system. and not being a coder, certain things I wanna do seem a lot harder lol.
Created a character outline with some code. I have no use for this. I'm....bored.....

Forum statistics

Threads
93,721
Messages
914,920
Members
123,324
Latest member
ahmbor
Top