new curved map for hit chances
This commit is contained in:
1 parent
7728a800d9
commit
69457d5f7e
2 files changed
+4
-3
No files matched your search
@@ -1519,7 +1519,8 @@ public enum CombatManager {
|
||||
//if(roll >= 95)//always 5% chance to hit
|
||||
// return true;
|
||||
|
||||
return PlayerCombatStats.getHitChance(ATR,DEF) >= roll;
|
||||
float chance = PlayerCombatStats.getHitChance(ATR,DEF);
|
||||
return chance >= roll;
|
||||
}
|
||||
|
||||
public static boolean specialCaseHitRoll(int powerID){
|
||||
|
||||
Reference in new issue
Block a user