Revive Actor on Death

Revive Actor on Death v1.0
by Roninator2​

Introduction
A script to revive an actor after falling in battle when a specific weapon or armour is equipped.

Features
- Specify what item is used to check if equipped.
- Specify equipment type. 0 = weapons, 1 = armours # items are not checked.
- Option to reset the number of uses at the start of each battle.
- Option to lose the item when depleted. Not unequip - lost.
- Option to specify how many times to revive.
- Option to specify how much health to recover (in percentage).
- Option to specify how many stages to recover.
# - Stages must be larger than repeats. You can have 8 stages and only 3 repeats, but not the other way around. Typically you would match them up for ease of viewing and understanding.
- Option to specify the variable that is used to track the equipment uses.
- Option to decide to preserve buffs after death.
- Option to decide to preserve states after death. (except death state)
- Option to write your own message for the equipment to recover.
- Option to write your own message for the equipment lost when depleted.

How to Use
Put below ▼ Materials

Images
Spoiler: Images
revive on death with equip.PNG

Script
Spoiler: Script

Credit and Thanks
- Roninator2

Terms of use
Follow the original Authors terms of use where applicable
- When not made by me (Roninator2)
Free for all uses in RPG Maker except nudity
Anyone using this script in their project before these terms
were changed are allowed to use this script even if it conflicts
with these new terms. New terms effective 03 Apr 2024
No part of this code can be used with AI programs or tools
Credit must be given

Original thread: https://forums.rpgmakerweb.com/threads/revive-actor-on-death.143387/