suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

About Hit Chance #2422

Closed MagicHope closed 4 months ago

MagicHope commented 4 months ago

If first character have Accuracy = 45, (Set OrcWarrior‘s BaseStats accuracy to 45) Second character have Evasion = 5, (Player's Evasion is 5) Hit chance = 2 * (45 / (45 + 5)) = 1.8 Then second character will receives damage if random result from 0 to 1 <= 1.8

According to the result the second character(Player) should be hit by 100%, but got a lot of MISS...

moepi2k commented 4 months ago

check also the level difference. in gameplayrule.cs you can make ur own formula. by default i checks also for level

MagicHope commented 4 months ago

Thank you...That's the reason..