Server.Spells.MagerySpell.GetCastSkills C# (CSharp) Method

GetCastSkills() public method

public GetCastSkills ( double &min, double &max ) : void
min double
max double
return void
		public override void GetCastSkills( out double min, out double max )
		{
			int circle = (int)Circle;

			if( Scroll != null )
				circle -= 2;

			double avg = ChanceLength * circle;

			min = avg - ChanceOffset;
			max = avg + ChanceOffset;
		}