public AbilityFactory() { // AbilityBootstrapper.ComposeParts(this); this.defaultSkillComposer = new DefaultSkillComposer(); Logging.Write()(LogLevel.Info, "AbilityFactory Initialized"); }
public void OnLoad() { this.defaultSkillComposer = this.SkillComposers.FirstOrDefault(x => x.Metadata.OwnerClassId == ClassId.CBaseEntity).Value; this.unitComposer = this.UnitHeroComposers.FirstOrDefault(x => x.Metadata.HeroIds.Contains(uint.MaxValue)).Value; }