Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: MZ YS_Death&Flee (perfect for roguelike games)
- Original author: YamiSakin
- Original date: April 21, 2026
- Source thread: https://forums.rpgmakerweb.com/threads/ys_death-flee-perfect-for-roguelike-games.183341/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)
Summary
YS Death & Flee Penalty { "lightbox_close": "Close", "lightbox_next": "Next",
Archived First Post
YS Death & Flee Penalty
DOWNLOAD
DOWNLOAD
Death&Flee Penalty is a comprehensive consequence system for RPG Maker MZ that adds weight and risk to defeat and retreat. Designed to integrate seamlessly with a "Rogue Like" project, this plugin transforms traditional Game Over into a resource management and "Loss Data Collapse" mechanic.
Key features
- Data Collapse: Upon being defeated, the player loses a percentage of their Gold and/or Items.
- Flee Penalty: Escaping a fight penalize the actors' data, causing a loss of current XP without the risk of downgrading.
- Newbie Protection: It allows you to activate an option so that the first kill of the game does not apply any penalty, making it easier to enter the world.
- Data Logging: The plugin tracks the historical total of lost Gold and stores it in an RPG Maker variable for use in alternate events or endings.
Setup Guide
1. Notetags for Items, Weapons and Armor
Configure the behavior of your objects in the event of a "Data Collapse":- <DeathDrop>: Mark the item as likely to be lost upon death.
- <DeathDropSafe>: The object will NEVER be lost, ignoring any other rules or percentages.
- <DeathDropRate: N>: Overwrites the overall loss percentage for this object only (e.g. 50 for a 50% chance).
Plugin Commands (Events)
Use these commands in your common defeat events or after fleeing an encounter:Command - Function
ApplyDeathPenalty - Runs the loss logic of Gold and Items based on the current streak.
ApplyFleePenalty - Applies XP reduction to all party members after a retreat.
Example: High Risk Settings
If you want objects to be lost more easily in a specific area and the "Data Collapse" to be more aggressive:
- In the Database: Label your consumables with . <DeathDrop>
- In the Plugin: Set to 30 and activate the 2.ItemLossPercentDeathStreakThreshold
Compatibility
- Visustella MZ: Fully compatible (does not override the Battle Core).
License and Credits
- Author: YamiSakin.
- Free for use in commercial and non-commercial projects.
- Please include YamiSakin in your game credits if you use this plugin.
- For this demo some plugins from Oc_Ram were used, they are their exclusive property. OcRam-Codes.NET
- For this demo some VisuStella plugins were used. They are his exclusive property. VisuStella - itch.io
YS Death & Flee Penalty es un sistema integral de consecuencias para RPG Maker MZ que añade peso y riesgo a la derrota y la retirada. Diseñado para integrarse perfectamente con un proyecto "Rogue Like", este plugin transforma el Game Over tradicional en una mecánica de gestión de recursos y "Data Collapse"
Comando - Función
ApplyDeathPenalty - Ejecuta la lógica de pérdida de Oro e Items según la racha actual.
ApplyFleePenalty - Aplica la reducción de EXP a todos los miembros del grupo tras una retirada.
Características Principales
- Data Collapse (Muerte): Al ser derrotado, el jugador pierde un porcentaje de su Oro y/o Items.
- Penalización por Huida (Flee): Escapar de un combate penaliza los actores, provocando una pérdida de EXP actual sin riesgo de bajar de nivel.
- Protección de Novatos: Permite activar una opción para que la primera muerte de la partida no aplique ninguna penalización, facilitando la introducción al mundo.
- Registro de Datos: El plugin rastrea el total histórico de Oro perdido y lo almacena en una variable de RPG Maker para su uso en eventos o finales alternativos.
Guía de Configuración
1. Notetags para Items, Armas y Armaduras
Configura el comportamiento de tus objetos ante un "Data Collapse":- <DeathDrop>: Marca el objeto como susceptible de perderse al morir.
- <DeathDropSafe>: El objeto NUNCA se perderá, ignorando cualquier otra regla o porcentaje.
- <DeathDropRate: N>: Sobreescribe el porcentaje de pérdida global solo para este objeto (ej. 50 para un 50% de probabilidad).
Comandos de Plugin (Eventos)
Utiliza estos comandos en tus eventos comunes de derrota o tras huir de un encuentro:Comando - Función
ApplyDeathPenalty - Ejecuta la lógica de pérdida de Oro e Items según la racha actual.
ApplyFleePenalty - Aplica la reducción de EXP a todos los miembros del grupo tras una retirada.
Ejemplo: Configuración de Riesgo Alto
Si deseas que en una zona específica los objetos se pierdan con mayor facilidad y el "Data Collapse" sea más agresivo:- En la Base de Datos: Etiqueta tus consumibles, armas y equipos con <DeathDrop>.
- En el Plugin: Configura ItemLossPercent en 30 y activa el DeathStreakThreshold en 2.
Compatibilidad
- Visustella MZ: Totalmente compatible (no sobreescribe el Battle Core).
Licencia y Créditos
- Autor: YamiSakin.
- Gratis para uso en proyectos comerciales y no comerciales.
- Por favor, incluye a YamiSakin en los créditos de tu juego si utilizas este plugin.
- Para esta demo se usaron algunos plugins de Oc_Ram, Son de su exclusiva propiedad. OcRam-Codes.NET
- Para esta demo se usaron algunos plugins de VisuStella. Son de su exclusiva propiedad. VisuStella - itch.io
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
License and Credits Author: YamiSakin. Free for use in commercial and non-commercial projects. Please include YamiSakin in your game credits if you use this plugin.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
13
views
Topic Summary
Loading summary...