this.Owner = owner;
if (this.Owner != null)
{
this._currentRelation = Hero.MainHero.GetRelation(this.Owner.OwnerHero);
}
this._maximumIndexCanBeRecruit = HeroHelper.MaximumIndexHeroCanRecruitFromHero(Hero.MainHero, this.Owner.OwnerHero, -101);
for (int i = -100; i < 100; i++)
{
if (index < HeroHelper.MaximumIndexHeroCanRecruitFromHero(Hero.MainHero, this.Owner.OwnerHero, i))
{
this._requiredRelation = i;
break;
}
}