For some reason I cant get it to post attack in console, I tried it with scripts and it shows but nothing attack based spams in console, I did however get it in the log file and as follows
level 1 noob vs level 1 mob
Code:
[03-17-2016 :: 20:50:09] [Attack] CheckHitChance(Qpiddle) attacked by a_sylvan_bat001
[03-17-2016 :: 20:50:09] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:50:09] [Attack] Chance to hit after level diff calc 95.00
[03-17-2016 :: 20:50:09] [Attack] Chance to hit after Agility calc 93.75
[03-17-2016 :: 20:50:09] [Attack] Chance to hit after weapon falloff calc (defense) 93.75
[03-17-2016 :: 20:50:09] [Attack] Chance to hit 93.75 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:50:09] [Attack] 3 FINAL calculated chance to hit is: 93.75
[03-17-2016 :: 20:50:09] [Attack] Final hit chance: 93.75%. Hit roll 37.97
[03-17-2016 :: 20:50:12] [Attack] CheckHitChance(Qpiddle) attacked by a_sylvan_bat001
[03-17-2016 :: 20:50:12] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:50:12] [Attack] Chance to hit after level diff calc 95.00
[03-17-2016 :: 20:50:12] [Attack] Chance to hit after Agility calc 93.75
[03-17-2016 :: 20:50:12] [Attack] Chance to hit after weapon falloff calc (defense) 93.75
[03-17-2016 :: 20:50:12] [Attack] Chance to hit 93.75 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:50:12] [Attack] 3 FINAL calculated chance to hit is: 93.75
[03-17-2016 :: 20:50:12] [Attack] Final hit chance: 93.75%. Hit roll 82.21
[03-17-2016 :: 20:50:15] [Attack] CheckHitChance(Qpiddle) attacked by a_sylvan_bat001
[03-17-2016 :: 20:50:15] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:50:15] [Attack] Chance to hit after level diff calc 95.00
[03-17-2016 :: 20:50:15] [Attack] Chance to hit after Agility calc 93.75
[03-17-2016 :: 20:50:15] [Attack] Chance to hit after weapon falloff calc (defense) 93.75
[03-17-2016 :: 20:50:15] [Attack] Chance to hit 93.75 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:50:15] [Attack] 3 FINAL calculated chance to hit is: 93.75
[03-17-2016 :: 20:50:15] [Attack] Final hit chance: 93.75%. Hit roll 51.40
[03-17-2016 :: 20:50:18] [Attack] CheckHitChance(Qpiddle) attacked by a_sylvan_bat001
[03-17-2016 :: 20:50:18] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:50:18] [Attack] Chance to hit after level diff calc 95.00
[03-17-2016 :: 20:50:18] [Attack] Chance to hit after Agility calc 93.75
[03-17-2016 :: 20:50:18] [Attack] Chance to hit after weapon falloff calc (defense) 93.75
[03-17-2016 :: 20:50:18] [Attack] Chance to hit 93.75 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:50:18] [Attack] 3 FINAL calculated chance to hit is: 93.75
[03-17-2016 :: 20:50:18] [Attack] Final hit chance: 93.75%. Hit roll 7.85
Level 24 Velious era twink vs level 20 Unrest Mummy
Code:
[03-17-2016 :: 20:43:06] [Attack] CheckHitChance(Dangah) attacked by a_lurking_mummy000
[03-17-2016 :: 20:43:06] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after level diff calc 92.22
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after Agility calc 90.87
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after weapon falloff calc (defense) 91.53
[03-17-2016 :: 20:43:06] [Attack] Chance to hit 91.53 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:43:06] [Attack] 3 FINAL calculated chance to hit is: 91.53
[03-17-2016 :: 20:43:06] [Attack] Final hit chance: 91.53%. Hit roll 0.45
[03-17-2016 :: 20:43:06] [Attack] CheckHitChance(Dangah) attacked by a_lurking_mummy000
[03-17-2016 :: 20:43:06] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after level diff calc 92.22
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after Agility calc 90.87
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after weapon falloff calc (defense) 91.53
[03-17-2016 :: 20:43:06] [Attack] Chance to hit 91.53 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:43:06] [Attack] 3 FINAL calculated chance to hit is: 91.53
[03-17-2016 :: 20:43:06] [Attack] Final hit chance: 91.53%. Hit roll 78.36
[03-17-2016 :: 20:43:06] [Attack] CheckHitChance(Dangah) attacked by a_lurking_mummy000
[03-17-2016 :: 20:43:06] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after level diff calc 92.22
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after Agility calc 90.87
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after weapon falloff calc (defense) 91.53
[03-17-2016 :: 20:43:06] [Attack] Chance to hit 91.53 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:43:06] [Attack] 3 FINAL calculated chance to hit is: 91.53
[03-17-2016 :: 20:43:06] [Attack] Final hit chance: 91.53%. Hit roll 30.88
[03-17-2016 :: 20:43:06] [Attack] CheckHitChance(Dangah) attacked by a_lurking_mummy000
[03-17-2016 :: 20:43:06] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after level diff calc 92.22
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after Agility calc 90.87
[03-17-2016 :: 20:43:06] [Attack] Chance to hit after weapon falloff calc (defense) 91.53
[03-17-2016 :: 20:43:06] [Attack] Chance to hit 91.53 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:43:06] [Attack] 3 FINAL calculated chance to hit is: 91.53
[03-17-2016 :: 20:43:06] [Attack] Final hit chance: 91.53%. Hit roll 57.74
[03-17-2016 :: 20:43:09] [Attack] CheckHitChance(Dangah) attacked by a_lurking_mummy000
[03-17-2016 :: 20:43:09] [Attack] Chance to hit before level diff calc 95.00
[03-17-2016 :: 20:43:09] [Attack] Chance to hit after level diff calc 92.22
[03-17-2016 :: 20:43:09] [Attack] Chance to hit after Agility calc 90.87
[03-17-2016 :: 20:43:09] [Attack] Chance to hit after weapon falloff calc (defense) 91.53
[03-17-2016 :: 20:43:09] [Attack] Chance to hit 91.53 after accuracy calc 0.00 and avoidance calc 0.00
[03-17-2016 :: 20:43:09] [Attack] 3 FINAL calculated chance to hit is: 91.53
[03-17-2016 :: 20:43:09] [Attack] Final hit chance: 91.53%. Hit roll 26.30
Both situations have super high hit rates. With level 1s starting out and getting pegged every single swing, it makes it extremely difficult. And if the 24 didn't have a fungi tunic regen they would barely survive. 90% hit rate sounds like it would be correct but the way it portrays in game vs world item/stat balance it hurts very bad.
EDIT : So the question being, if I wanted to decrease the Hit chance for mobs, would I change the 10.0f float to a higher value?
Code:
if(attacker->IsNPC())
hitBonus += (attacker->CastToNPC()->GetAccuracyRating() / 10.0f); //Modifier from database