Set State resistance via stats?

OverlyEpux

Villager
Member
Joined
Dec 4, 2012
Messages
29
Reaction score
2
First Language
English
Primarily Uses
Is it possible to have a state's resistance calculated by a formula?

In my game, the MAT state doubles as an INT stat, higher MAT = Higher intelligence.
As such, I want characters with higher MAT to have a better chance of resisting confusion than characters with a lower MAT stat.

Conversely I'd also like to be able to be able to use stats to provide a bonus to the apply chance of a state.



Eg:


Ralph's MAT is 20


Slime's MAT is 10

State RES Formula: user.mat * .1


State Boost Formula: user.mat * .3


Ralph gets an added 20% to his state resistance, and the slime gets 30% added to any state application checks involving it as the attacker.


I thought about this after seeing the hell of confusion.  That state is overpowered in vanilla RPG maker, unless you make it incredibly inaccurate.  This way you can have certain actors better suited against certain ailments (Mages less likely to be confused, warriors less likely to be staggered, ect)



This might need to be in plugin requests but I'm unsure, move it if need be mods.
 

TakeHomeTheCup

Veteran
Veteran
Joined
Oct 15, 2013
Messages
244
Reaction score
460
First Language
English
Primarily Uses
No, I doubt it.


The only way to do State resistance is with the features system.


Unless you make a plugin or modify the scripts...
 

Skunk

Melody Master
Veteran
Joined
Mar 2, 2013
Messages
1,069
Reaction score
398
First Language
English/Slavic
Primarily Uses
RMMV
Have you checked out the features in Yanflys states and buffs plugin?
 

OverlyEpux

Villager
Member
Joined
Dec 4, 2012
Messages
29
Reaction score
2
First Language
English
Primarily Uses
Have you checked out the features in Yanflys states and buffs plugin?
Yeah I did.  There's nothing involving state resistance, even in the lunatic functions.
 

Skunk

Melody Master
Veteran
Joined
Mar 2, 2013
Messages
1,069
Reaction score
398
First Language
English/Slavic
Primarily Uses
RMMV
Off to plugin requests you go ;)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top