Using this plugin, could I have a stat called dexterity affect accuracy?
First you create a nparam with name dex and full name dexterity and adjust it the way you want.
Then go to XParam0 Base and place as example: this.dex / 100
This depends on the way you want to do this.
You can override how atk param is calculated by placing a formula in BParam2 Base Eval.
this.dex
Or you can use dexterity in skill damage formulas.
a.akt / 2 + a.dex / 2 - b.def / 3
As I say in first post, latest version (1.05a) can be found in my blog.
There is a big change from previous with the use of rmmv new plugin type parameters and more customization to bparams.
If you want to do it on version 1.04b you can redefine atk by creating a pparam with this name and removing BParam2 Name value.
Hi.I need a little clarification.
What I'm trying to do is have it so that when an actor levels up, they gain specific increases to their stats based on their current class.
I'm using Yanfly's Class Change plugin and have each class set up so that that they give specific Plus values to the custom stats and then I passed the custom stat names to Yanfly's Base Param Control so I can see the changes reflected in the menu.
That all works perfectly.
Now I just need to be able to set specific permanent increases to each actor's stats.
I found this notetag:
<CUSTOM NPARAM BASE NPARAM>
value = 2;
value += 25;
</CUSTOM NPARAM BASE>
And I tested using this in one of my actors:
<CUSTOM NPARAM BASE c_str>
value = base;
if (this._level === 2 && this._dataClass === 1) {
value = base + 1;
}
else if (this._level === 3 && this._dataClass === 1) {
value = base + 2;
}
</CUSTOM NPARAM BASE>
But it doesn't seem to be working at all.
I can only assume I'm doing something wrong, but I'm not sure what.
Thanks a lot. That helps quite a bit. 🙂
PS- one more quick question. Can I reference NParams in another plugin directly?
Actually I mean if I'm writing a plugin myself.
I'd like to just type something like this in my plugin:
i = Math.floor(this.c_vit/4);
Would that work?