public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); m_Type = (ShadowlordType)reader.ReadInt(); }
public Shadowlord() : base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4) { m_Instances.Add(this); m_Type = (ShadowlordType)Utility.Random(3); Name = m_Type.ToString(); Body = 146; BaseSoundID = 0x4B0; SetStr(981, 1078); SetDex(1003, 1114); SetInt(1098, 1245); SetHits(50000, 55000); SetStam(1003, 1114); SetDamage(35, 41); SetDamageType(ResistanceType.Physical, 20); SetDamageType(ResistanceType.Fire, 20); SetDamageType(ResistanceType.Cold, 20); SetDamageType(ResistanceType.Poison, 20); SetDamageType(ResistanceType.Energy, 20); SetResistance(ResistanceType.Physical, 70, 80); SetResistance(ResistanceType.Fire, 70, 80); SetResistance(ResistanceType.Cold, 70, 80); SetResistance(ResistanceType.Poison, 70, 80); SetResistance(ResistanceType.Energy, 70, 80); SetSkill(SkillName.EvalInt, 140.0); SetSkill(SkillName.Magery, 120.0); SetSkill(SkillName.Meditation, 140.0); SetSkill(SkillName.MagicResist, 110.2, 120.0); SetSkill(SkillName.Tactics, 110.1, 115.0); SetSkill(SkillName.Wrestling, 110.1, 115.0); SetSkill(SkillName.Necromancy, 120.0); SetSkill(SkillName.SpiritSpeak, 120.0); SetSkill(SkillName.Anatomy, 10.0, 20.0); Fame = 24000; Karma = -24000; VirtualArmor = 20; Hue = 902; Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this); SelfDeleteTimer.Start(); SetSpecialAbility(SpecialAbility.LifeDrain); }
public Shadowlord() : base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4) { m_Instances.Add(this); this.m_Type = (ShadowlordType)Utility.Random(3); this.Name = this.m_Type.ToString(); this.Body = 146; this.BaseSoundID = 0x4B0; this.SetStr(900, 960); this.SetDex(1000, 1030); this.SetInt(1100, 1200); this.SetHits(30000); this.SetStam(1000, 1050); this.SetDamage(35, 41); this.SetDamageType(ResistanceType.Physical, 20); this.SetDamageType(ResistanceType.Fire, 20); this.SetDamageType(ResistanceType.Cold, 20); this.SetDamageType(ResistanceType.Poison, 20); this.SetDamageType(ResistanceType.Energy, 20); this.SetResistance(ResistanceType.Physical, 70, 80); this.SetResistance(ResistanceType.Fire, 70, 80); this.SetResistance(ResistanceType.Cold, 70, 80); this.SetResistance(ResistanceType.Poison, 70, 80); this.SetResistance(ResistanceType.Energy, 70, 80); this.SetSkill(SkillName.EvalInt, 140.0); this.SetSkill(SkillName.Magery, 120.0); this.SetSkill(SkillName.Meditation, 140.0); this.SetSkill(SkillName.MagicResist, 110.2, 120.0); this.SetSkill(SkillName.Tactics, 110.1, 115.0); this.SetSkill(SkillName.Wrestling, 110.1, 115.0); this.SetSkill(SkillName.Necromancy, 120.0); this.Fame = 24000; this.Karma = -24000; this.VirtualArmor = 20; this.Hue = 902; Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this); SelfDeleteTimer.Start(); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 0: { this.m_Type = (ShadowlordType)reader.ReadInt(); break; } } Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this); SelfDeleteTimer.Start(); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 1: { Wisps = reader.ReadStrongMobileList <DarkWisp>(); goto case 0; } case 0: { m_Type = (ShadowlordType)reader.ReadInt(); break; } } Timer SelfDeleteTimer = new InternalSelfDeleteTimer(this); SelfDeleteTimer.Start(); }