A script for Supernatural Character Afflictions?

I am curious as to if anyone has heard of or seen a script for controlling stat changes automatically for supernatural character afflictions such as Lycanthropy and Vampirism?

I was toying around with the idea in one of my original projects using just the base functions of VXAce and no Custom Scripts, with okay effect to it. I was able to create a werewolf character using grapic changes and common event execution that lasted until a 60 second timer ran down to 0. Doing it this way was lengthy and time consuming and I never figured out a way to do the process to where the transformation would grant a stat increase when transformed and then a decrease back down to what they were before transforming.

What I am asking for in great detail is a Script or one close to it, that will allow me to set an action such as a Werewolf character transforming and it will grant the increase on transformation and then will decrease back to whatever the character stats are in their Native form when the time period has elapsed. I may have been already sent a link to a similar script in another post but on the surface I am not certain.  For a Vampire Character something where when the character is travelling during the day he takes Stat Decreases until he enters a "Shadowy" part of the Map, or a building.

Thank you.
just create a state in the database that contains all parameter changes of the transformation - you can even set the duration for that transformation in the sate, no need for timer.


If you want a graphical change as well, best option might be one of the scripts that change sprite based on afflicted states - usually they're for things like to display poison, but they can easily be used for transformed pictures.


Similiar for a "daylight"-state with parameter reductions - there you'll just have to use some events to add or remove that state for the vampire depending on map and time.


Edit: I suggest you take some time off to explore the editor's option and to look at sample games (follow the link in my signature), that might help make things easier for you.

Original thread: https://forums.rpgmakerweb.com/threads/a-script-for-supernatural-character-afflictions.23419/