QUOTE (lauruns @ Sep 24 2012, 06:44 AM)
I'm looking for an event/script that changes the Hit Ratio of an enemy to a variable. I want the player to be harder to hit when he is wearing light armor. So is there a way to let the value of the Hit Ratio depent on a variable?
Actually, there is a simpler way to do this. While you're making any kind of armor piece, the 'Evasion' value right in the editing options allows your character to evade more attacks. This is useful for creating light armors that allow you to evade more easily.
If you're talking about the actual 'Hit Ratio' of enemy spells and attacks, if you want the lighter armor to reduce the chance that you would get hit, you would need to create a script formula that, for example, 'reduces enemy's hit ratio as your defense decreases'. I'm no expert at scripts, but you should probably ask someone experienced with scripts if you still need some more help.