Was looking through your code and think I spotted a bug? The third test here should be for intelligence not dex right? from line 7361 in v1.3....
Separate names with a comma.