How magic percentage is calculated (stats involved)

//ads -- adsterra.com -- native banner
?>
I'm playing Shadowrun Returns HK for the first time as magic user. I don't understand how the chance to hit a person (or area of effect) is calculated.
What should I increase in my stats to increase that percentage?
Pictures about "How magic percentage is calculated (stats involved)"



Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Nataliya Vaitkevich, Nataliya Vaitkevich, RODNAE Productions, Artem Beliaikin