Save-Point
KDamage States VX + ACE - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: KDamage States VX + ACE (/thread-10775.html)



KDamage States VX + ACE - kyonides - 10-28-2024

KDamage States VX + ACE

by Kyonides

Introduction

A forumer once asked for a script (or anything else) that could allow the heroes to lose a state ONLY if it had been predefined by game developer to do that. The default option of relying on the Damage Chance did not satisfy the game's particular needs.

Well, here's a solution that uses a very simple Note Tag to make it happen IF & ONLY IF the Note Tag is present in that State's Note Box.

To make sure that just a FEW states will be removed by physical damage, just leave the following Note in the State Note Box:

Code:
<damage deletes state>

For VX

To keep a Slip Damage State UNTIL the hero has reached a certain Level, go leave this other Note. Level is Customizable!

It won't remove the state...

For VX ACE

To keep a State even if it should be removed by walking until a certain Level has been reached, go leave this other Note. Level is Customizable!

Code:
<keep walking lvl 3>


Terms & Conditions

Free for use in any game. Gamer
Due credit is mandatory.
That's it! Tongue sticking out