Sam, There is a small bug with calculating CMD. Line 456 (current live version) doesn't add "attk-CMD-dnd" so essentially any of the Dodge or Deflection bonuses are not being added to CMD. Please let me know if I am wrong or misinterpreted the code there as I am only a fledgling reading/debugging code. Thanks!