Incrising damage when target is affected by custom state

grouga

Warper
Member
Joined
Mar 1, 2020
Messages
2
Reaction score
0
First Language
Portuguese
Primarily Uses
RMMV
Hi guys, I don't even know if this is the place to go for this, but I'm trying to do this for a very long time, and my english is not that good.

So the problem is, I can't figure out how to incrise the damage on a skill when the target is inflicted by another state.

I came to this formula for now:
if (b.isStateAffected(11) + 100) + 100 + a.mat * 2 - b.mdf * 2

Any other formulas gave the damage a big round 0, so I guess I can call it a progress, maybe?

I can't seen to figure out how to incrise the damage if the conditional damage is fullfilled.

Thanks for the help anyway :)
 

grouga

Warper
Member
Joined
Mar 1, 2020
Messages
2
Reaction score
0
First Language
Portuguese
Primarily Uses
RMMV
Solved it...

This is the formula I came up with:

if (b.isStateAffected(11)) {200 + a.mat * 2 - b.mdf * 2} else {100 + a.mat * 2 - b.mdf * 2}
 

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top