Aura.Channel.Skills.Life.PotionMaking.CheckTools C# (CSharp) Метод

CheckTools() защищенный Метод

protected CheckTools ( Creature creature, Skill skill, ProductionData productData ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
productData ProductionData
Результат bool
		protected override bool CheckTools(Creature creature, Skill skill, ProductionData productData)
		{
			if (creature.RightHand == null || !creature.RightHand.HasTag("/potion_making/kit/"))
			{
				// Sanity check, the client should normally handle this.
				Send.MsgBox(creature, Localization.Get("You need a Potion Concoction Kit to make potions!"));
				return false;
			}

			return true;
		}