Varied healing skills and items?

Status
Not open for further replies.

ShinyRedUmbreon

Wannabe-Animator + Gamer
Veteran
Joined
Sep 3, 2017
Messages
61
Reaction score
12
First Language
English
Primarily Uses
RMVXA
I'm looking for a script that can vary amounts of HP recovered from skills and items, so that it isn't a fixed amount every time.

Items seem to always give the same amount of HP each time, and so does skills.

Here's an example.

Eric goes to his inventory menu and gets 3 potions, using them all(the potion recovers about 500 HP, according to the description of the item). He gains 498, 501, 502 HP from those 3 potions, instead of 500, 500, 500 like it would in the default engine.

Is there a script that already does this? Because I can't find it, even with quick Google searches.
 

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
484
Reaction score
468
First Language
English
Primarily Uses
RMMV
You can achieve this just by the item itself. Normal healing items in VX Ace have an Effect like Heal 500 HP. However, if you use the damage formula box, you can set a specific amount or use a formula. The main point is the Variance found underneath the Formula box. Therefore, with a 20 variance, if the Heal item healed for 100, it would actually heal between 80 -120.


HealingItem.PNG
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,791
Reaction score
614
First Language
English
Primarily Uses
RMVXA
You just need to set the variance in the editor.
On the item screen for potion is is set to recover hp 500.
Delete that and use damage type hp recover.

*Ninja'd by an actual ninja, nice. At least I went out properly. @NinjaKittyProductions
 

ShinyRedUmbreon

Wannabe-Animator + Gamer
Veteran
Joined
Sep 3, 2017
Messages
61
Reaction score
12
First Language
English
Primarily Uses
RMVXA
Oh I see. I was being a complete dummy. Thanks you two!
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,786
Reaction score
5,334
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

DenRebrov wrote on Celianna's profile.
Seliana, will you be making desert tiles in the ancient dungeon?
Working on a casual shirt and jeans for female MZ gen. Woo.
Crazy idea: a crossover game made to showcase different RPG Maker games. Dimension crossing is involved and you get to play as different people's characters in some wacky nonsense plot.
HexMozart88 wrote on Citali's profile.
Kikuo!
The lack of bike trails and bungee jump areas in this city should be criminalized.

Forum statistics

Threads
107,425
Messages
1,029,624
Members
139,557
Latest member
KishinMc
Top