Ejemplo n.º 1
0
 static void Prefix(Hero hero)
 {
     if (IsInScope(hero))
     {
         if (hero.Age < MoreSpouseSetting.Instance.SettingData.ChildrenFastGrowtStopGrowUpAge &&
             MoreSpouseSetting.Instance.SettingData.ChildrenFastGrowthEnable)
         {
             ChildrenGrowthOperation.FastGrowth(hero);
         }
     }
 }
 static void Prefix()
 {
     foreach (Hero current in Hero.All.ToList <Hero>())
     {
         if (IsInScope(current))
         {
             if (current.Age < MoreSpouseSetting.Instance.SettingData.ChildrenFastGrowtStopGrowUpAge &&
                 MoreSpouseSetting.Instance.SettingData.ChildrenFastGrowthEnable)
             {
                 ChildrenGrowthOperation.FastGrowth(current);
             }
         }
     }
 }