public void TestChaosBoltDamageDieAndType() { AllPlayers.Invalidate(); DndGame game = DndGame.Instance; game.GetReadyToPlay(); Character merkin = AllPlayers.GetFromName("Merkin"); game.AddPlayer(merkin); List <PlayerActionShortcut> actionShortcuts = AllActionShortcuts.Get(merkin.playerID, "Chaos Bolt"); Assert.AreEqual(3, actionShortcuts.Count); // This will fail when Merkin levels up. DiceRoll chaosBoltLevel3 = DiceRoll.GetFrom(actionShortcuts[2]); Assert.IsTrue(chaosBoltLevel3.IsMagic); Assert.AreEqual(DiceRollType.ChaosBolt, chaosBoltLevel3.Type); Assert.AreEqual("2d8(),3d6()", chaosBoltLevel3.DamageHealthExtraDice); }