Absolute kudos for going through hours of training and tutorials. You are still going to have questions! If you ever learn everything about anything ... tell me all about it!
So, the big question is why you would evaluate one condition as "A = +1 " and another as "B = -1." There aren't a few more conditions you can consider? What about thowing two die plus six with an agility of +7?
Did I make the point clearly? What you do depends on what you want to do and your experince. Your code offers little for us to evaluate your end means. - and your end means are not stated!
What is the "Z Axis?" what are X and Y? what if any, relationship would you like them to have with the user?