title: How to extract multipliers from strings?
body: <p>I'm a fresh python learner and  I came up with a simple game I'd like to try coding. It's pretty simple gameplay-wise, but coding it is harder than I expected it to be.
  Explanation:
  2 players face off with 3 Monsters on each side (kinda like Pokemon but with more RNG)
  These monsters have stats (HP, ATK, SPD) and 6 unique abilities/attacks that they use based on the dice roll you got.
  Now here's where it gets tricky for me.
  For example, Monster A deals 5x ATK damage when you roll a 1.
  I have this monster as an object, which contains a string for each dice roll possible (1-6)
  In this case, Monster A.dice1 would be the string &quot;Deals 5x ATK DMG to enemy&quot;</p>
  <p>Now, how do I extract this multiplier (5x) so that I can multiply Monster A's ATK?
  There are also other abilities that can lower the enemy's ATK for example.</p>
  <p>I'd appreciate the help.</p>