Hello. For RPG Maker MV, Yanfly has a convenient collection of mini-scripts for a Stockpile, Spit Up, and Swallow ability, similar to Pokemon. For those unfamiliar, a character "stocks up", and then after doing so, can use spit up or swallow and the damage, or HP recovered is based off of how many stocks you have. I've been able to make an easy workaround for Stockpile by simply using a stack-states script, making Stockpile a state, and have a common event check a variable each time the skill is used to determine how many stocks there are (and if they attempt to use it more than the max it resets) However, creating the Spit Up and Swallow parts are difficult. I suppose the simplest way would be for there to be a small script that A. Checks for the designated variable to see how many stocks there are and B. Based off of that, adjust the damage (or in Swallow's case healing) formula for that particular skill. I feel like this should be simple, but my knowledge of Ruby is incredibly amateur.