//if ((Followers + pet.ControlSlots) <= FollowersMax)
// {
pet.SetControlMaster(this);
if (pet.Summoned)
{
pet.SummonMaster = this;
}
pet.ControlTarget = this;
pet.ControlOrder = OrderType.Follow;
pet.MoveToWorld(Location, Map);
pet.IsStabled = false;
pet.StabledBy = null;
pet.Loyalty = BaseCreature.MaxLoyalty; // Wonderfully Happy
if (Stabled.Contains(pet))
{
Stabled.Remove(pet);
}
// }
/* else
{
SendLocalizedMessage(1049612, pet.Name); // ~1_NAME~ remained in the stables because you have too many followers.
}
*/
else if (from.Followers + creature.ControlSlots > from.FollowersMax)
{
from.SendLocalizedMessage(1049611); // You have too many followers to tame that creature.
}
if (m.Followers + ControlSlots > m.FollowersMax)
{
m.SendLocalizedMessage(1049607); // You have too many followers to control that creature. return false;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.