I can see the way to make a state that causes whomever has the state to DO more critical hits, but I don't see a way to make them easier to critically hit. I'm trying to make a couple states, chill and freeze, where whomever has the state will take more critical hits when attacked.
MZ - State Causes Enemy To Take More Critical Hits?
RPG Maker MZ SupportI believe you can just add the trait to lower critical evasion by x% to the state.
So for your freeze state, lower their critical evasion by 200% or something.
I'm gonna be honest though. I now RPG Maker has some weird rules and stuff so idk exactly how it interacts with crit chance.
Like lowering crit evasion by 200%, does that mean you will be 200% more like to be critted? Or does that increase the attackers crit chance by that amount? So if the attacker had 5% crit and the defender was frozen with -200% crit evasion. Does that make the attackers crit chance effectively 10% to crit? Dunno. Someone may know more about how exactly crit evasion works.
EDIT: Found this thread: https://forums.rpgmakerweb.com/index.php?threads/negative-critical-evasions-effect.88362/
So for your freeze state, lower their critical evasion by 200% or something.
I'm gonna be honest though. I now RPG Maker has some weird rules and stuff so idk exactly how it interacts with crit chance.
Like lowering crit evasion by 200%, does that mean you will be 200% more like to be critted? Or does that increase the attackers crit chance by that amount? So if the attacker had 5% crit and the defender was frozen with -200% crit evasion. Does that make the attackers crit chance effectively 10% to crit? Dunno. Someone may know more about how exactly crit evasion works.
EDIT: Found this thread: https://forums.rpgmakerweb.com/index.php?threads/negative-critical-evasions-effect.88362/
Code:
Game_Action.prototype.itemCri = function(target) {
return this.item().damage.critical ? this.subject().cri * (1 - target.cev) : 0;
};
Thanks! I didn't think to do a negative number for crit evasion and wasn't really sure how crit evasion even worked. For some reason, this part of RM is confusing me over and over and there isn't a lot of documentation that really explains it that well (that I've found anyway).
Having negative critical evasion will mean that if a crit is aimed at that actor, the actor is more likely to be hit with it.
However, I read your query as meaning that you would like the actor with the state to be faced with a more frequent occurance of crits, which isn't the same thing. That would need a different approach (and I have no idea what). If my reading is wrong, then ignore this. If it is right, then I think you will need to go back to the drawing board because negative crit evasion won't give you what you want.
However, I read your query as meaning that you would like the actor with the state to be faced with a more frequent occurance of crits, which isn't the same thing. That would need a different approach (and I have no idea what). If my reading is wrong, then ignore this. If it is right, then I think you will need to go back to the drawing board because negative crit evasion won't give you what you want.
then this should help:
RPG Maker VXA/MV/MZ Damage Flow
An infographic to teach people how the damage/recovery is calculated in vxace! This infographic is made by @Archeia and @rhyme. Thank you to these people for helping me figure out the EXACT flow and formulas :D Recommended that you open this image in another tab or click on it over here if...
forums.rpgmakerweb.com
I'm confused by what you're saying here. How is it not the same thing?
You seem to be saying that critical evasion makes the attack more/less likely to hit if it is a critical, but that's not correct - making an attack critical happens after it's established to be a hit. That's what regular evasion prevents, not critical.
Presuming an attack hits (rolling first against the attacker's hit and then the defender's eva), this is the function for determining a critical:
Code:
this.item().damage.critical ? this.subject().cri * (1 - target.cev) : 0;
That resulting number then has a random value from 0 to non-inclusive 1 compared at it, and rolling under is a critical.
So an attacker with a 4% cri (.04) compared to an enemy with 0 cev is:
.04 * (1-0) = .04
so, just as we expect, that 4% chance to crit stands. If you give the enemy a negative cev, say -2%, then (1- -.02) is the same as (1+.02):
.04 * (1+.02) = .0408
As you can see, a very slightly higher chance for it to successfully become a critical.
@ATT_Turan You're quite right. I shouldn't post after a sleepless night. It's never a pretty sight.
Sleeplessness lowers your critical evasion by 50%. It's forgivable.
Thanks @Andar that infographics is super helpful for explaining all kinds of things I've been wondering about!
Thanks everyone for the great replies. My game is going to be status effect heavy, so this is all important info. Elemental damage, for instance, all has status effects associated with it, and the different classes are also geared towards certain status effects (like defensive skills for sword & shield "knights" or extra turns for light sword "fencers").
Thanks everyone for the great replies. My game is going to be status effect heavy, so this is all important info. Elemental damage, for instance, all has status effects associated with it, and the different classes are also geared towards certain status effects (like defensive skills for sword & shield "knights" or extra turns for light sword "fencers").
Original thread: https://forums.rpgmakerweb.com/threads/mz-state-causes-enemy-to-take-more-critical-hits.158197/