Morizel

Veteran
Veteran
Joined
Sep 28, 2018
Messages
112
Reaction score
8
First Language
Russian
Primarily Uses
RMMV
How to make the character’s parameter (for example, ATK) increase the chance of removing the state? And is it possible?
I just got idea of skill where actor's stat increases chance to remove state.
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
973
Reaction score
434
First Language
english
Primarily Uses
RMMV
know how could do that in damage formula
Math.randomInt(Range)+Base < a.atk ? a.removeState(X); Formula
generate random number between Base and (Range+Base)
if stat higher then RNG remove state X
replace Formula with 0 or another damage formula

this check will run completely separate from any Effects to remove states
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm gonna put my project on pause for a tiny bit so I can explore the engine outside of it... Winging it can only get you so far LMFAO
Have seen some of my favorite people here posting and helping others with questions today -- love to see it!
Haven't been on here actively in awhile, project is going strong my biggest issue is the STORY, i'm refining the plot and learning so much i decided to take a writers class to improve even more but the programming and functionality of the game is stepping up nicely!
Hi everyone! Here's what I'm working on today! It's one of the dorms on campus. I know I said I wouldn't use assets but I reused a few things from the cafeteria hehe.
FCuxBOMXMAICK5e
I added a little squish effect when characters change direction to try and make things a bit more lively. Though it's a bit hard to see on the fast moving guys.
2f4fiuy.gif

Forum statistics

Threads
116,125
Messages
1,095,972
Members
151,537
Latest member
Anrirck
Top