public TheMasterInstructor(SorcerersPlateController controller) : base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4) { m_Instances.Add(this); m_Controller = controller; this.Name = "Anshu"; this.Title = "The Master Instructor"; this.Body = 0x4e; this.BaseSoundID = 412; this.Hue = 1284; this.SetStr(216, 305); this.SetDex(96, 115); this.SetInt(966, 1045); this.SetHits(700, 800); this.SetDamage(15, 27); this.SetDamageType(ResistanceType.Physical, 20); this.SetDamageType(ResistanceType.Cold, 40); this.SetDamageType(ResistanceType.Energy, 40); this.SetResistance(ResistanceType.Physical, 55, 65); this.SetResistance(ResistanceType.Fire, 30, 40); this.SetResistance(ResistanceType.Cold, 50, 60); this.SetResistance(ResistanceType.Poison, 50, 60); this.SetResistance(ResistanceType.Energy, 50, 60); this.SetSkill(SkillName.EvalInt, 120.1, 130.0); this.SetSkill(SkillName.Magery, 120.1, 130.0); this.SetSkill(SkillName.Meditation, 100.1, 101.0); this.SetSkill(SkillName.Poisoning, 100.1, 101.0); this.SetSkill(SkillName.MagicResist, 175.2, 200.0); this.SetSkill(SkillName.Tactics, 90.1, 100.0); this.SetSkill(SkillName.Wrestling, 75.1, 100.0); this.SetSkill(SkillName.Necromancy, 120.0); this.SetSkill(SkillName.SpiritSpeak, 120.0); this.SetSkill(SkillName.DetectHidden, 100.0); this.Fame = 23000; this.Karma = -23000; this.VirtualArmor = 60; this.PackNecroReg(30, 275); Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this); SelfDeleteTimer.Start(); }
public static TheMasterInstructor Spawn(Point3D platLoc, Map platMap, SorcerersPlateController controller) { if (m_Instances.Count > 0) { return(null); } TheMasterInstructor creature = new TheMasterInstructor(controller); creature.Home = platLoc; creature.RangeHome = 4; creature.MoveToWorld(platLoc, platMap); return(creature); }