public Slimer(IMap map, string charfile, Rectangle spawnRect, int id) : base(map, charfile, spawnRect, id) { GivePart(new Legs().GetID()); Body.BodyPart part = new Striker(); GivePart(part.GetID()); _groupID = 5; _XPBonus = 25; followRect = new Rectangle(spawnRect.X - 80, spawnRect.Y - 16, 160, 32); spawnPoint = new Point(spawnRect.X + spawnRect.Width / 2, spawnRect.Y + spawnRect.Height / 2); _objectType = 5000; }
public Slimer(IMap map,Rectangle spawnRect, int id) : base(map,spawnRect, id) { _XPBonus = 25; GivePart(new Legs().GetID()); Logic.Body.AttackPart part = new Striker(); GivePart(part.GetID()); EquipAttack(0, part); _groupID = 5; followRect = new Rectangle(spawnRect.X - 80, spawnRect.Y - 16, 160, 32); spawnPoint = new Point(spawnRect.X + spawnRect.Width / 2, spawnRect.Y + spawnRect.Height / 2); _objectType = 5000; }