Custom State Help! State Rate questions (MV)

Summary of thread:

I was confused as to why applying a state that added a 999% chance to being poisoned didn't seem to be doing anything.

What we learned:
State Rates work as follows:

Skill with 50% State Rate Poison at a Target with 100% State Rate Poison = 50% Poison chance.
Skill with 50% State Rate Poison at a Target with 200% State Rate Poison = 100% Poison chance.
Skill with 50% State Rate Poison at a Target with 50% State Rate Poison = 25% Poison chance.

And don't forget that "Hit Type" is important too!
If your Skill has a Hit Type of "Certain Hit" then it will always be the Skill's Poison Rate (50% in our examples), and won't factor in the Target's Poison State Rate at all.

So make sure your Poison Skills are Physical or Magical Hits!

And that's basically what you can learn from this thread. Hope it helps any other future readers!

- - - - - - - --


Original Post:

Hello!

I'm trying to make a State called "ill" that makes the person affected by it almost guaranteed to be poisoned should someone then try to use a poison attack on them.

So ill itself doesn't do anything poisony, it just makes it so you're much more likely to be poisoned if someone tries to poison you while you're ill.

The only thing under "Traits" for custom states I can see that might work is "State Rate" but I think that only affects the ill person's ability to poison OTHERS right?

Or am I wrong and that's exactly what I want?
State Resist also exists, but that's a flat immunity and can't be used to debuff resistances to specificed states.

Any comments that can help me understand this are appreciated!
Even if it turns out I can't make this state 🙁
Actually, State Rate works exactly like you want to.

If you do "State Rate Poison 150%", all poison effects on that character are 50% more likely to occur.

e.g. 50% chance becomes 75%.
Actually, State Rate works exactly like you want to.

If you do "State Rate Poison 150%", all poison effects on that character are 50% more likely to occur.

e.g. 50% chance becomes 75%.
Thank you!

I was trying to test it in test battles but I was using 0% poison rate skill then 110% poison state rate and it wasn't working lol.

So, if I am to understand:
50% poison rate skill + 100% ill state's poison state rate = 50% still?
50% poison rate skill + 200% ill state's poison state rate = 100% right?

Thanks again for the help!
So, if I am to understand:
50% poison rate skill + 100% ill state's poison state rate = 50% still?
50% poison rate skill + 200% ill state's poison state rate = 100% right?

Thanks again for the help!

Yes, that is correct.
Yes, that is correct.
Gah!

Okay, so right now I'm doing this:

Skill: ill = applies ill state 100%
State: ill = poison State Rate +1000%
Skill: poison = applies poison state 10%

This should equate to Poison has 10% chance to hit, but when the target is "ill" it has 100% chance to hit. Right?

But for some reason it's not working like this, it's applying the ill state but Poison is still missing/having no effect all the time.
I've tried inflicting the "ill" State on myself to see if it's boosting the ability to inflict the state rather than the likelihood of the State being inflicted on you but...

Well that's not doing anything either?!
So I must have built the Custom State wrong I think.
But I can't for the life of me see how!

----
Here's what it is:
Name: Ill | Icon: 170
Restriction: None | Priority: 50
[SV] Motion: Normal | [SV] Overlay: None

Removal Conditions:
Yes to Remove at Battle End | No to Remove by Restriction
Auto-removal Timing: Turn End
Duration in Turns: 2 ~ 5
Remove by Damage: No
Remove by Walking: No

Traits: State Rate Poison * 999%
----

There is no significant LUK disparity, the Actor has 14 Luck and the Enemy has 10.
There are no resistances in the Enemy's Traits or the Actor's Traits.

So why is it that:
Poison on its own hits 10% of the time.
Character is "Ill"
Poison still misses 90% of the time.

What am I doing wrong here?
A breakdown of State Rate interactions using Poison as an example:

1.
If the Enemy doesn't have any Poison State Rate assigned then:
Enemy essentially has a a Poison State Rate of 100% automatically assigned.
So:
A Poison Skill with a 10% State Rate for Poison has a 10% chance to assign Poison, correct?

And when the Enemy has an "illness" Custom State that adds Poison Rate of 1000%, then Skill Poison (10%) will hit with a 100% success rate, correct?

Or does assigning a Poison State Rate in another, different, Custom State instead increase the affected Enemy's ability to
inflict Poison on YOU?
--


2. If Enemy has a Poison State Rate of 25% then:
A Poison Skill with 10% State Rate for Poison has a 2.5% chance to assign Poison, correct?

And when the Enemy has an "illness" Custom State that adds a poison rate of 1000%, then Skill Poison (10%) will hit with a
25% success rate, correct?


-=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=-

And that's how the Three State Rates (on Actor/Enemy, on Skill, on other States) interact?

Because I'm trying to make it so the Poison Skill only inflicts poison 10% of the time, but if the target is affected by the "illness" state already, then the Poison Skill will inflict poison 100% of the time.

But for the life of me I can't figure out why this isn't working, is the Switch version of RPG Maker just broken? Or am I missing some logic gap and the above is all wrong?

Any help is appreciated!
Why on Earth did you start a new thread when you're already asking the exact same questions (and getting answers) here?

Also, note that these forums only support the PC versions of RPG Maker, so if there's something that works differently (or is bugged) in the Switch version, this is not the correct place to get help or report it.

And when the Enemy has an "illness" Custom State that adds Poison Rate of 1000%, then Skill Poison (10%) will hit with a 100% success rate, correct?
Unless things actually are quite different on the Switch version, this is incorrect. State Rate Traits are multiplicative, not additive. Edit: Never mind, I see lower down that you're talking about it correctly, it was your use of the word "adds" that confused me.
Why on Earth did you start a new thread when you're already asking the exact same questions (and getting answers) here?

Also, note that these forums only support the PC versions of RPG Maker, so if there's something that works differently (or is bugged) in the Switch version, this is not the correct place to get help or report it.
I tend to overtalk about things and scare people away. I was worried I was doing that in the previous thread as it was sort of a descending into madness spiral/logging every detail affair.

And that might make it hard for anyone with the actual knowledge to help to help me (if they can't really see what I'm trying to get help on).

So I figured I'd make one that summed up every detail succinctly in the first post and leave it at that.

As for bugs, that was just a stray thought and it was not my attempt to be reporting a bug but rather just me spitballing possible explanations for why this thing I'm trying to do isn't working.

I assume it's actually just a logic gap and I'm getting something wrong, but I can't see what it is!
Hence the help request!
As you were already told in the previous thread, state rate only affects your chances of having a state inflicted on you.

The only thing that affects your chance of inflicting a state, as an attacker, is whether you actually have the Attack State Trait added.
As you were already told in the previous thread, state rate only affects your chances of having a state inflicted on you.

The only thing that affects your chance of inflicting a state, as an attacker, is whether you actually have the Attack State Trait added.
So, my examples with custom states should work in theory then?

Maybe I should start a new, separate, project, to test this out in a clean environment or something. I have no idea why this isn't working lol, thanks for the help then!
It works in the clean environment!
Alright, thanks all for the confirming the logic is sound.
Now I just need to find out why it's not working in my main game (current theory: because of how I add the skills, maybe that event hasn't updated the updated skill effects? Time to find out!)
Strange, then let's move to another possible issue.

Does the skill that actually applies the poison have the "Hit Type" Certain Hit?

If so, that might be the issue.
I'm not 100% sure, but if I remember correctly, Certain Hit skills ignore any state Rate penalties and bonuses, meaning it will always be 10% chance no matter what.
Strange, then let's move to another possible issue.

Does the skill that actually applies the poison have the "Hit Type" Certain Hit?

If so, that might be the issue.
I'm not 100% sure, but if I remember correctly, Certain Hit skills ignore any state Rate penalties and bonuses, meaning it will always be 10% chance no matter what.

You beautiful internet stranger you!
That looks to have solved it (unless I've just gotten very lucky in my past three tests)!

This was driving me batty!
I was looking at so many other things as the possible cause lol.

Thank you for making these past three hours not pointless! 😀
(And also thanks for confirming the % stuff too!)
Summary (now that these threads have been merged lol):

So it turns out the logic is all sound, the events are working as intended, the cause was *drum roll* ... the Hit Type of the skill used to inflict Poison!

Certain Hit ignores State Rate resistances and just uses the Skill's assigned percentages instead.
Magical Attack does take into account the State Rate resistances however!

So I just needed to change the skill from Certain Hit to Magical Attack.
Oof, feelsbad that I couldn't figure this one out on my own, but thank you all very much for all the help!
Moderator note: I have merged your two identical threads together. Please do not make multiple threads for the same question

@Mods, this has caused some duplicate posts in this thread.

Original thread: https://forums.rpgmakerweb.com/threads/custom-state-help-state-rate-questions-mv.151617/