Thx for the infos Regrs !
I just made some test on vanilla.
Reducing the boy's evasion% (7EE1A4) really make enemies hit harder : Video
Reducing the boy's hit% (7EE197) makes his attacks weaker too.
It doesnt work as I thought tho, it doesnt seem to affect the random added power.
I made some stats change tests with a rabite to see how much he would hit depending on how much Hit% he has and how much evade I have
I changed the rabite atk to 50 and the boy's defense to 0 for the tests:
It seems that attacks can sometimes be partially dodged depending on evasion so attacks can deal low or high damage, each of the damage values also have a bit of randomness so the damage values are just the one that poped when I did the test. The high value happens more often if the hit% is high compared to the evasion. The hit% and evade% values are in hex but the damage is in base 10.
Note that the low and high damage are not the range of the damage so if the low damage is 12 and the high is 80 the attack will never deal 40 damage, it will be between 11 and 12 or between 81 and 85.
rabite hit% , Boy Evade% = low damage, high damage
0 , 0 = 0,0 (the boy dodges the attack all the time)
10 , 0 = 82, 84
20 , 0 = 83, 83
40 , 0 = 84, 84
80, 0 = 80, 84
10 , 10 = 12, 84
10 , 20 = 0,0
20, 20 = 25, 80
30, 20 = 38, 84
30, 30 = 38, 84
30, 40 = 38, 84 (the boy sometime dodges)
30, 50 = 38, 84 (the boy dodges most of the time)
40, 40 = 51, 82
50, 40 = 64, 84
80, 40 = 79, 84
FF, 40 = 84, 84
FF, FF = 81, 84
I then tried changing the boy's defense to 20 (or 32 in base 10)
10, 0 = 12, 84
10, 10 = 7, 77
20, 10 = 20, 78
20, 20 = 15, 48(sometimes 71 too?)
20, 30 = 10, 61
80, 30 = 48, 64
Here is what I conclude from this:
-The chance for a strike to hit the high damage is higher if the hit% is higher than the evasion
-The low damage is higher if the hit% is higher (independently of the evasion)
-If the evasion is = to the hit% the victim has a chance to dodge the attack and the higher the evasion compared to the hit% the more chance he has to do so
-The defense is multiplied by the evasion somewhere because when evasion is 0 the defense doesnt affect the damage at all.
-The atk is multiplied by the hit% somewhere because when the hit% is 0 the attack always hit 0 which makes the victim dodge.
-If the hit% or the evasion is higer than 100 (in base 10) it will be considered to be 100.
Its interesting to know that sabers dont actually deal elemental damage, its something I could add since like you said some do nothing else than add a flat damage boost so they are kind bad compared to others. I only did some fast testing but you seem to be right. Its weird that it doesnt tho, the boss of the ice palace keep casting ice-saber on players, If the added damage is flat this means its actually a good thing to have ice weapons against him, unless maybe it casts it at level 0 so that it removes the boost you would have from higher level sabers ? I guess they must have removed it later or forgot about it. Do you know if the special effect of sabers also dont take elemental weakness/resist into acount ? like is there less chance when hitting an ice-resiting enemy with the ice saber to turn it into a snowman ?
Also, the value at 7E0040 doesnt seem to affect the stats, did you mean 7EE040 ? the boy's ram values are between 7EE000 and 7EE1FF so I thought you might have forgot an 'E' but it doesnt seem to work either. Maybe it affects an equipement in particular ?