Is it possible to have the accuracy of magical attacks affected by the "HIT" param? It's too much trouble to explain, but using the "MEV" param to affect magical accuracy would cause a bug within my project, so I would like to find a way to use the "HIT" param instead. Is this at all possible?
Magical attacks and the "HIT" param?
General DiscussionYou could use Yanfly's Extra Paramters and configure it to your liking.
After looking at the script, I don't think that would work, but if somebody can tell me otherwise, please do.
Yanfly's script is for modifying how each param is calculated, but it doesn't modify how the game checks for hit and miss.
Basically, what you'd want is to modify the methods item_hit and item_eva of Game_Battler so that it always returns the physical hit chance (for item_hit) and physical eva (for item_eva). That way every miss and evade (because the game only calculates miss and evade, it doesn't calculate hit) will be calculated like physical skills.
Or just make them physical type, in case you're not using MDR anyways. Since the physical and magic part are only used AFAIK for miss/evade calculations and for PDR and MDR.
Basically, what you'd want is to modify the methods item_hit and item_eva of Game_Battler so that it always returns the physical hit chance (for item_hit) and physical eva (for item_eva). That way every miss and evade (because the game only calculates miss and evade, it doesn't calculate hit) will be calculated like physical skills.
Or just make them physical type, in case you're not using MDR anyways. Since the physical and magic part are only used AFAIK for miss/evade calculations and for PDR and MDR.
Making magical attacks use the physical hit type is actually a really simple fix that I would have never thought of. Thank you.
Yeah, as long as ur not going to use MDR then it's a great fix. 🙂
Original thread: https://forums.rpgmakerweb.com/threads/magical-attacks-and-the-hit-param.41932/