Torrysan

Class System Enthusiast
Member
Joined
Mar 30, 2017
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hey! I'm using NeMV SR to create alternate resources for my classes. Some effects I've already been able to implement, but there's one that eludes me, because it requires a combo with YEP Base Parameters. So here's what I want to do:

For the Sellsword class, there is a tertiary resource called Focus, generated ofc by most offensive and defensive skills. It doesn't do anything interesting on it's own, except provide the player with 2 dump mechanics, one offensive and one defensive: when Focus is high, players can decide what they want to do with it.

The offensive one is Whirlwind and was pretty easy to implement using the attack formula:

a.atk * (0.5+(a.getSR(57)/100))

It does damage based on the value of Focus, then with a note tag I reset focus to 0 to give the illusion that it was "spent". It works.

The problem is the other skill, Battle Prowess. I want it to check for the value of Focus, and then grant the caster a percentage of extra DEF based on the stacks of Focus. So for example, if you cast Prowess with 37 stacks, you'd receive 18% bonus DEF. Issue is, naturally, that my Base Parameters notetag doesn't recognize the NeMV value "a.getSR(57)" and thus can't add a percentage of DEF so it ends up doing nothing. It'll reset the stacks, grant me the rest of the state perks, but not the DEF.

So my hypothesis and question is, is there a way to bridge the 2 plugins together via a variable in-game? say NeMV sets the variable to the stacks of Focus, then Base Parameters uses and resets that variable to apply the DEF percentage. Or maybe there's another way to do it?

I appreciate the help. Alternatives if this is not possible would be to have the skill heal based on stacks through attack formula or just have a set Focus cost instead of a variable one, which would make it less interesting.

Yanfly Base Parameter Control: http://yanfly.moe/2016/03/25/yep-86-base-parameter-control/
NeMV State Resources: https://forums.rpgmakerweb.com/index.php?threads/nemv-state-resources.61070/
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,714
Reaction score
8,498
First Language
German
Primarily Uses
RMMV
[mod]Please give links to the websites of the plugins you want help with, no one can help without checking them in detail[/mod]
 

Torrysan

Class System Enthusiast
Member
Joined
Mar 30, 2017
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
Sorry, fixed >_<
 

Latest Threads

Latest Posts

Latest Profile Posts

LunarFlareStudios wrote on Solar_Flare's profile.
Hey, my name is Lunar Flare Studios, and you're Solar Flare? That's so weird!
How has this place been dead quiet since after I posted about Deltarune? That's the only post that people are reacting to now... will you please read my other statuses?
Another comic with Backstage Malak...
If you want to ask him anything, you can ask on my DeviantArt page! I'm not sure if you're allowed to do it here.
Forum tip of the day ...
If you get a temporary suspension for being a jerk to people who are trying to help you, and arguing with mods and admins, don't go making new accounts. Chances are, if you p**s us off enough to suspend you for a week, we're not going to hesitate giving you a permanent ban when you give us a reason.

Forum statistics

Threads
115,295
Messages
1,088,709
Members
149,934
Latest member
techupdates
Top