BTW, I'm not sure on how to use the XHP function. For example, let's say that I'm playing PDial, I play only one SoD and I always activate it, in every game, and it's always EM. If I'm going to win without using SoD and without it being an EM with exactly 124 HPs, I'll quit.
This assures that each win is an EM with 124 HPs. What I didn't understand is how to use it in the formula.
Let's say the stats are those:
PDial 1 (always) SoD
WR: 0,55
EMR: 1
TTW: 9
League: Platinum
Can you write me the formula of this (unsimplified)?
XHP is pretty much a judgement call right now unless you're actually tracking average max hp for all wins (EM or otherwise).
XHP starts at 1, and for every two average extra maxhp of your deck, you add 0.01 to XHP. If you are assuming that 100% of the time you will play exactly one SoD, your average max HP would be 124, and so your XHP would be 1.12.
Unsimplified formula for platinum using the information you provided would be:
(333 * 0.55 * 200 * 0.7833 * (1 + (1 * 2.55)) * 1.12 / 9) - (333 * (1-0.55) * 15 / 9) + (333 * 25.6 * 0.55 / 9) + (333 * 1290 / GPS / 9)
For convenience, GPS for platinum would be:
(0.55^-1) + (0.55^-1)^2
So the whole formula would be:
(333 * 0.55 * 200 * 0.7833 * (1 + (1 * 2.55)) * 1.12 / 9) - (333 * (1-0.55) * 15 / 9) + (333 * 25.6 * 0.55 / 9) + (333 * 1290 / ((0.55^-1) + (0.55^-1)^2) / 9)
Please note that the 0.7833 and the 2.55 need to be slightly altered to correct for the discrepancy that Tirear mentioned, but I haven't gotten to do that yet, and it won't have a major impact on the final number.
Additionally, if you're going to play around with results from the formula, my recommendation would be to paste the formula into a spreadsheet (excel, openoffice, google docs, etc), then replace the formula's references to "WR" with references to cell A2 (or whatever), and references to "TTW" with references to cell A3, etc. This lets you easily change the numbers for the various variables around easily to see the results.