RMMV Formulaic Ex-Param Bonuses?

Frostorm

[]D[][]V[][]D aka "Staf00"
Veteran
Joined
Feb 22, 2016
Messages
1,499
Reaction score
1,093
First Language
English
Primarily Uses
RMMV
So I'm trying to create the following passive skill, but ran into some issues:
Nimble Footwork - (Passive) Dexterity also increases Evasion by 0.2% per point.

The code I came up w/ for the passive state didn't work:
JavaScript:
<Custom Apply Effect>
var dexBonus = user.agi / 500;
user.addEva(dexBonus);
</Custom Apply Effect>
<Custom Remove Effect>
user.minusEva(dexBonus);
</Custom Remove Effect>
The issue isn't the lack of a var for the Remove portion btw (let's focus on Apply 1st lol). Anyways, does anyone have a solution for this? Using Yanfly's plugins of course. Thx in advance everyone. ^.^

Edit: Ok, I just tried the following to no avail...so I'm truly stumped now.
<Custom Apply Effect>
user.addEva(0.1);
</Custom Apply Effect>

Edit2: Lol, I figured it out by thinking outside the box for once. I changed the formula for EVA to this:
(base + plus) * rate + flat + (user.isStateAffected(28) ? (user.luk + user.agi) / 500 : user.luk / 500)
The stateID for the passive is 28, so when a character has that state applied, their AGI is added onto their EVA rate.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Just finished composing a boss battle theme!
Scripted a multi-variable weather system that randomizes wind speed, cloudiness, rain, fogginess, etc, while attempting to realistically account for interactions between them (e.g. wind speed affects fogginess, cloudiness affects rain, etc), the current weather pattern, and the player's biome e.g. swamp, beach, etc. Now I "just" have to tie visuals and sounds to the variables so stuff actually happens...
I'm having a headache balancing the combat using flat defense so I'm gonna use percentual armor, in this pic, Simon has 16 on Defense which means all the incoming damage will be reduced by 16% this will ease my burden a bit.
!Have a nice day everybody¡
SO glad they patched outer worlds for switch! I can finally play it! Weird that other peeps are still having issues. I know it was really chugging on my lite when it first came out.

Forum statistics

Threads
105,555
Messages
1,014,619
Members
137,231
Latest member
anjing_gila
Top