Is there a script that adds % chance to resist a state? I don't want to use complete immunity, cause that reduces options in combat or against bosses (cringe)
Like maybe an enemy has a 20% chance to resist a state, another one might have a -35% chance to resist it making it happen more often
thank you in advance
Isn't that what State Rate is for? Affecting how likely some State is to apply to the given holder of the trait.
will that affect the chance of the actor/enemy applying the state though? like if they have a chance to resist a state they apply?
and enemy with "state rate: poison 80%" translates to them having a 20% chance to resist poison.
raising it over 100% makes them more likely to be effected by the state.
element rate works the same way, under 100% = resistance, over 100% = weakness.
(always look at if the parameter is a + sign or a * sign because that makes all the difference in learning what they do)
an actor with a weapon that has the trait "attack state: poison 20%" while using a skill with
"effects: normal attack 100%" means they have a '20% * target state rate' chance to apply poison.
base engine, Luck has an extremely minor effect on state rates. this effect can be increased or removed with plugins that allow you to change the formula for "luck effect"
(i always remove luck effect because i dont like the hidden math when it comes to state rate i only want database numbers)
attack state rate * skill effect rate * target state rate = chance to apply.
attack state 60% * skill effect "normal attack" 150% = 90% * target state rate 80% = 72% chance to apply state (+/- 0.5% from luck difference)
a skill that only has "effect: poison x%" doesnt get a bonus from attack state.
attack state only applies to skills with effect: normal attack %
if using a skill that has normal attack % and its own state % will roll twice for chance to apply. ie:
attack state: poison 40% * effect: normal attack 100% * target state rate 50% = 20%
effect: poison 50% * target state rate 50% = 25%
2 chances to apply the same state but obviously states dont stack if they both happened to proc.
for insta kill immunity never use state resist, only use state rate 0%.
KO state resist will make them immortal even when at 0HP.
KO state rate 0% they will still die from 0HP but be immune to KO attack/skill state apply chance.