Sat Feb 3 00:35:22 2024 by phil |
Hi guys, trying to find out how to display the correct probabilities of a modified risk roll. I was trying to test out different combinations of amount of dice being the highest. Would this be a correct statement? \ Risk roll a:=4d6;b:=3d6; count {(max a)>(max b),(min largest 3 a)>(min largest 2 b), (min largest 2 a)>(min b)} |
Mon Feb 5 13:53:49 2024 by Torben |
It is a correct Troll expression, but I don't think it does what you want it to. In Risk, you compare the highest attacker die to the highest defender die, the second highest to the second highest, and so on, until one side runs out of dice. Your subexpression (min largest 3 a)>(min largest 2 b) does not compare the second-highest to the second highest, but the third-highest to the second-highest, and the third part is no better. What you want is probablycount {(max a)>(max b),(max least 3 a)>(max least 2 b), (max least 2 a)>(min b)} . |