Make CheckHitChance much more live like

This should be fairly close to live-like.

Based on client decompiling, Torven's write up and parses and more parses.

It will probably break your server.
This commit is contained in:
Michael Cook (mackal)
2016-12-25 21:11:10 -05:00
parent 1d19bd11d0
commit f5827174ee
5 changed files with 124 additions and 156 deletions
+2 -2
View File
@@ -111,8 +111,8 @@ struct NPCType
uint8 mount_color; //only used by horse class
float attack_speed; //%+- on attack delay of the mob.
uint8 attack_delay; //delay between attacks in 10ths of a second
int accuracy_rating; //10 = 1% accuracy
int avoidance_rating; //10 = 1% avoidance
int accuracy_rating; // flat bonus before mods
int avoidance_rating; // flat bonus before mods
bool findable; //can be found with find command
bool trackable;
int16 slow_mitigation;