Slime for the Slime God!
Henzell says...
  1. The ability to hit things and not miss them. For players: see {accuracy[2]} for player accuracy and {accuracy[3]} for monster accuracy. The value used is called mhit, and {test_hit} actually decides if a hit occurs based on that value.
  2. mhit is random2(15 + dex/2 + random2(fighting+1) + random2(weapon skill+1) + weapon enchantment + weapon base accuracy + slaying - 3 if starving - 1d({aevp}) – 1d({asp}) - 5 if vertigo + 3/5/7 for eyes mut) - 6 vs invisible targets - 5 if inaccuracy
  3. monster mhit is random2(1 + 18 + HD*3/2, +HD if the monster has fighter (or archer for ranged weapons), + weapon base accuracy + slaying * 65% against invisible targets). This roll also handles the modifiers in {accuracy[4]} before rolling (i.e. monsters actually get half these modifiers). See: 'https://anydice.com/program/18921'
  4. Everyone gets -5 from amulets of inaccuracy, + 1 + 1d8 against backlit targets (corona, halo, etc.), - 1 – 1d4 against targets in umbra
  5. see {spell_accuracy}
  6. see {test_hit}

Information based on master branch and the great LearnDB.
© Dungeon Crawl Stone Soup, 2010.