public void CanBeUsedAnExtraTimeADayEveryTwoDruidLevelsAfterFourth() { var wildShape = new WildShape(); var donna = CharacterTestTemplates.DruidDonna(); donna.Add(wildShape); donna.SetLevel(6); Assert.Equal(2, wildShape.UsesPerDay); donna.SetLevel(8); Assert.Equal(3, wildShape.UsesPerDay); donna.SetLevel(12); Assert.Equal(5, wildShape.UsesPerDay); donna.SetLevel(13); Assert.Equal(5, wildShape.UsesPerDay); donna.SetLevel(17); Assert.Equal(7, wildShape.UsesPerDay); donna.SetLevel(18); Assert.Equal(8, wildShape.UsesPerDay); Assert.Equal("Wild Shape (8/day)", wildShape.DisplayString()); }
public void CanBeUsedAtWillAtTwentiethDruidLevel() { var wildShape = new WildShape(); var donna = CharacterTestTemplates.DruidDonna(); donna.Add(wildShape); donna.SetLevel(20); Assert.Equal(int.MaxValue, wildShape.UsesPerDay); Assert.Equal("Wild Shape (at will)", wildShape.DisplayString()); }