/// <summary> /// Creates a new mob of the given level /// </summary> /// <param name="level">The level multipler of the mob</param> private Mob(MobLevel level) : base() { Level = level; LevelEffect = Effect.NewMultiplier(MobLevelModifier.Map(level)); ModifiedPools.CopyTo(CurrentPools); }
/// <summary> /// Constructor /// </summary> public EntityAnimate() : base() { State = EntityState.Active; _equipment.EntityAdded += HandleItemEquipped; _equipment.EntityRemoved += HandleItemUnequipped; EntityDied += HandleDeath; ModifiedPools.CopyTo(CurrentPools); }
/// <summary> /// Default constructor /// </summary> public Mob() : base() { LevelEffect = Effect.NewMultiplier(MobLevelModifier.Map(MobLevel.Fair)); ModifiedPools.CopyTo(CurrentPools); }