Aura.Channel.Skills.Skill.CheckMaster C# (CSharp) Method

CheckMaster() private method

Enables master title if skill is on r1 and fully trained.
private CheckMaster ( ) : void
return void
		private void CheckMaster()
		{
			// Skip if not R1 or already has the master title.
			if (this.Info.Rank != SkillRank.R1 || _creature.Titles.IsUsable(this.Data.MasterTitle))
				return;

			// Give master title if all conditions were met. (met == 0)
			if (this.IsFullyTrained)
				_creature.Titles.Enable(this.Data.MasterTitle);
		}