Rpg maker mv yanfly conditional state odd turn
Sets “ability”‘s current value to value for actor x.
Returns true if the ability level of “abilityName” for actor x is bigger than or equal to level. $gameActor.actor(x).checkAbilityLevel(“abilityName”, level).Returns true if actor x has ability “abilityName”. $gameActor.actor(x).hasAbility(“abilityName”).These commands are best used in Conditional Branches, since they return either true or false: I want to use the default colours so I just leave those parameters blank. Since I have a low cost for the ability I’ll give it a slow growth: Hence I replace growth with 1. To do this I replace requiredPoints with 1. I need Dean to be able to get this ability up rather quick so I give this ability a cost of 1. For this reason I replace startValue with 0 and maxValue with 30. I want Dean to start with 0 Tenacity and I want him to be able to increase it up to 30. That means I replace “name” with “Tenacity”. Let’s add the Tenacity ability I’ve mentioned above. So I replace the x above with 4, since I want to add an ability to him.
You have to add each ability that you want in the game manually to the actors you want to have this ability. There are no pre-defined abilities or anything of the sort. In the paragraph above, I mentioned that you have to add abilities to your actors. I know this looks extremely overwhelming at first but it loses its scary look if you inspect it close enough. $gameActors.actor(x).addAbility(“name”, startValue, maxValue, requiredPoints, growth, color1, color2)Ĭolor1 and color2 are optional – they will default to text color 10. Now onto the most important part of this plugin: The script commands. There’s one thing that you might wanna change though: The key binding for switching between the Stat and Ability windows. This plugin doesn’t really require any adjustments. You can use these abilities basically anywhere! These are just some examples of usage that come to my mind. You can of course make the values vary for every different class! You could have Tenacity have a bigger effect for Warriors and a smaller effect for mages! For each point in tenacity, their HP increases by another 60. This formula means: Base HP value of 200 and the actor gains 30 HP per level. You use Yanfly’s Class Params? Great, why not make a param scale with an ability level? Your actors could get extra HP for having a high Tenacity ability level.You can make a skill’s damage/healing/absorb scale with ability levels instead of the usual and boring default params.You want to open this magicly sparking magic chest of Magic? You better have a high ability level in Perception then!.It will be your job to integrate abilities into wherever you want them. It’s up to you.Ībilities don’t do anything on their own. Įvery hero can have his own set of abilities or you could have the actors share the same abilities. This plugin will extend the stat distribution plugin with a toggle that allows you to switch between increasing your parameters and Abilities.
Make sure that both plugins are always equally up to date. The Ability Distribution plugin is an addon to my Stat Distribution plugin: It will thus not work on its own.