GetCastSkills() public method

public GetCastSkills ( double &min, double &max ) : void
min double
max double
return void
Beispiel #1
0
		public virtual bool CanUse( Spell spell )
		{
			double minSkill, maxSkill;
			spell.GetCastSkills( out minSkill, out maxSkill );

			return spell.Caster.Skills[spell.CastSkill].Value >= minSkill;
		}