Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -47,7 +47,7 @@ namespace Server.Mobiles
|
|||
|
||||
VirtualArmor = 60;
|
||||
PackNecroReg( 30, 275 );
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
|
|
@ -86,15 +86,15 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls, 2 );
|
||||
}
|
||||
|
||||
public override bool Unprovokable{ get{ return true; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool Unprovokable => true;
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
|
||||
public AncientLich( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an arcane daemon corpse" )]
|
||||
public class ArcaneDaemon : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ConcussionBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ConcussionBlow;
|
||||
|
||||
public override string DefaultName => "an arcane daemon";
|
||||
|
||||
[Constructible]
|
||||
public ArcaneDaemon() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an arcane daemon";
|
||||
Body = 0x310;
|
||||
BaseSoundID = 0x47D;
|
||||
|
||||
|
|
@ -53,7 +51,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average, 2 );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public ArcaneDaemon( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -71,4 +69,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls, 2 );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
|
||||
|
|
@ -76,4 +76,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@ namespace Server.Mobiles
|
|||
{
|
||||
private bool m_Stunning;
|
||||
|
||||
public override string DefaultName => "a betrayer";
|
||||
|
||||
[Constructible]
|
||||
public Betrayer() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a betrayer";
|
||||
Body = 767;
|
||||
|
||||
|
||||
SetStr( 401, 500 );
|
||||
SetDex( 81, 100 );
|
||||
SetInt( 151, 200 );
|
||||
|
|
@ -96,9 +96,9 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems, 1 );
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool BardImmune{ get{ return !Core.AOS; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override bool BardImmune => !Core.AOS;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
|
||||
|
|
@ -185,4 +185,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ghostly corpse" )]
|
||||
public class Bogle : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a bogle";
|
||||
|
||||
[Constructible]
|
||||
public Bogle() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a bogle";
|
||||
Body = 153;
|
||||
BaseSoundID = 0x482;
|
||||
|
||||
|
|
@ -41,8 +42,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public Bogle( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -65,4 +66,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,12 +5,14 @@ using Server.Items;
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a skeletal corpse" )]
|
||||
[TypeAlias("Server.Mobiles.BoneMage")]
|
||||
public class BoneMagi : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a bone mage";
|
||||
|
||||
[Constructible]
|
||||
public BoneMagi() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a bone mage";
|
||||
Body = 148;
|
||||
BaseSoundID = 451;
|
||||
|
||||
|
|
@ -54,15 +56,15 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.LowScrolls );
|
||||
AddLoot( LootPack.Potions );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public BoneMagi( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -80,4 +82,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,11 +57,11 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls, 2 );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override int TreasureMapLevel{ get{ return 4; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public Daemon( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an elder gazer corpse" )]
|
||||
public class ElderGazer : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an elder gazer";
|
||||
|
||||
[Constructible]
|
||||
public ElderGazer () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an elder gazer";
|
||||
Body = 22;
|
||||
BaseSoundID = 377;
|
||||
|
||||
|
|
@ -67,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@ using Server;
|
|||
using Server.Misc;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an evil mage corpse" )]
|
||||
public class EvilMage : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public EvilMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an evil mage corpse" )]
|
||||
public class EvilMage : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public EvilMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "evil mage" );
|
||||
Title = "the evil mage";
|
||||
Body = 124;
|
||||
|
|
@ -51,8 +51,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override int TreasureMapLevel{ get{ return Core.AOS ? 1 : 0; } }
|
||||
|
||||
|
|
@ -72,4 +72,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
using System;
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an evil mage lord corpse" )]
|
||||
public class EvilMageLord : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public EvilMageLord() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an evil mage lord corpse" )]
|
||||
public class EvilMageLord : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public EvilMageLord() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "evil mage lord" );
|
||||
Body = Utility.RandomList( 125, 126 );
|
||||
|
||||
PackItem( new Robe( Utility.RandomMetalHue() ) );
|
||||
PackItem( new WizardsHat( Utility.RandomMetalHue() ) );
|
||||
PackItem( new Robe( Utility.RandomMetalHue() ) );
|
||||
PackItem( new WizardsHat( Utility.RandomMetalHue() ) );
|
||||
|
||||
SetStr( 81, 105 );
|
||||
SetDex( 191, 215 );
|
||||
|
|
@ -57,25 +57,25 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls, 2 );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override int TreasureMapLevel{ get{ return Core.AOS ? 2 : 0; } }
|
||||
|
||||
public EvilMageLord( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public EvilMageLord( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,10 +50,10 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems );
|
||||
}
|
||||
|
||||
public override bool HasBreath{ get{ return true; } } // fire breath enabled
|
||||
public override bool HasBreath => true; // fire breath enabled
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public FireGargoyle( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -71,4 +71,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gargoyle corpse" )]
|
||||
public class Gargoyle : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a gargoyle";
|
||||
|
||||
[Constructible]
|
||||
public Gargoyle() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a gargoyle";
|
||||
Body = 4;
|
||||
BaseSoundID = 372;
|
||||
|
||||
|
|
@ -44,7 +45,7 @@ namespace Server.Mobiles
|
|||
PackItem( new GargoylesPickaxe() );
|
||||
}
|
||||
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gargoyle corpse" )]
|
||||
public class GargoyleDestroyer : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a gargoyle destroyer";
|
||||
|
||||
[Constructible]
|
||||
public GargoyleDestroyer() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "Gargoyle Destroyer";
|
||||
Body = 0x2F3;
|
||||
BaseSoundID = 0x174;
|
||||
|
||||
|
|
@ -55,9 +56,9 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems, 2 );
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return !Core.AOS; } }
|
||||
public override bool BardImmune => !Core.AOS;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void OnDamagedBySpell( Mobile from )
|
||||
{
|
||||
|
|
@ -101,4 +102,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gargoyle corpse" )]
|
||||
public class GargoyleEnforcer : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.WhirlwindAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.WhirlwindAttack;
|
||||
|
||||
public override string DefaultName => "a gargoyle enforcer";
|
||||
|
||||
[Constructible]
|
||||
public GargoyleEnforcer() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "Gargoyle Enforcer";
|
||||
Body = 0x2F2;
|
||||
BaseSoundID = 0x174;
|
||||
|
||||
|
|
@ -50,7 +48,7 @@ namespace Server.Mobiles
|
|||
PackItem( new GargoylesPickaxe() );
|
||||
}
|
||||
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -76,4 +74,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gazer corpse" )]
|
||||
public class Gazer : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a gazer";
|
||||
|
||||
[Constructible]
|
||||
public Gazer () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a gazer";
|
||||
Body = 22;
|
||||
BaseSoundID = 377;
|
||||
|
||||
|
|
@ -69,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
using System;
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a golem controller corpse" )]
|
||||
public class GolemController : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public GolemController() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a golem controller corpse" )]
|
||||
public class GolemController : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public GolemController() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "golem controller" );
|
||||
Title = "the controller";
|
||||
|
||||
|
|
@ -72,24 +72,24 @@ namespace Server.Mobiles
|
|||
AddItem( item );
|
||||
}
|
||||
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ShowFameTitle{ get{ return false; } }
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool ClickTitle => false;
|
||||
public override bool ShowFameTitle => false;
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public GolemController( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public GolemController( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an ice fiend corpse" )]
|
||||
public class IceFiend : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an ice fiend";
|
||||
|
||||
[Constructible]
|
||||
public IceFiend () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ice fiend";
|
||||
Body = 43;
|
||||
BaseSoundID = 357;
|
||||
|
||||
|
|
@ -49,7 +50,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int TreasureMapLevel{ get{ return 4; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public IceFiend( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -67,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an imp corpse" )]
|
||||
public class Imp : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an imp";
|
||||
|
||||
[Constructible]
|
||||
public Imp() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an imp";
|
||||
Body = 74;
|
||||
BaseSoundID = 422;
|
||||
|
||||
|
|
@ -59,7 +60,7 @@ namespace Server.Mobiles
|
|||
public override HideType HideType{ get{ return HideType.Spined; } }
|
||||
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
|
||||
public override PackInstinct PackInstinct{ get{ return PackInstinct.Daemon; } }
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public Imp( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -77,4 +78,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,13 +4,14 @@ using Server.Items;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a liche's corpse" )]
|
||||
[CorpseName( "a lich's corpse" )]
|
||||
public class Lich : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a lich";
|
||||
|
||||
[Constructible]
|
||||
public Lich() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a lich";
|
||||
Body = 24;
|
||||
BaseSoundID = 0x3E9;
|
||||
|
||||
|
|
@ -61,9 +62,9 @@ namespace Server.Mobiles
|
|||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
|
||||
public Lich( Serial serial ) : base( serial )
|
||||
|
|
@ -82,4 +83,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a lich's corpse" )]
|
||||
public class LichLord : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a lich lord";
|
||||
|
||||
[Constructible]
|
||||
public LichLord() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a lich lord";
|
||||
Body = 79;
|
||||
BaseSoundID = 412;
|
||||
|
||||
|
|
@ -60,9 +61,9 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls, 2 );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 4; } }
|
||||
|
||||
public LichLord( Serial serial ) : base( serial )
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override InhumanSpeech SpeechType{ get{ return InhumanSpeech.Orc; } }
|
||||
|
||||
public override string DefaultName => "an orcish mage";
|
||||
|
||||
[Constructible]
|
||||
public OrcishMage () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an orcish mage";
|
||||
Body = 140;
|
||||
BaseSoundID = 0x45A;
|
||||
|
||||
|
|
@ -57,7 +58,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.LowScrolls );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.LowScrolls );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override int Hides{ get{ return 8; } }
|
||||
public override HideType HideType{ get{ return HideType.Spined; } }
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool ShowFameTitle{ get{ return false; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override bool ShowFameTitle => false;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
|
|
@ -287,4 +287,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ghostly corpse" )]
|
||||
public class Shade : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a shade";
|
||||
|
||||
[Constructible]
|
||||
public Shade() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a shade";
|
||||
Body = 26;
|
||||
Hue = 0x4001;
|
||||
BaseSoundID = 0x482;
|
||||
|
|
@ -49,14 +50,14 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public Shade( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a skeletal corpse" )]
|
||||
public class SkeletalMage : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a skeletal mage";
|
||||
|
||||
[Constructible]
|
||||
public SkeletalMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a skeletal mage";
|
||||
Body = 148;
|
||||
BaseSoundID = 451;
|
||||
|
||||
|
|
@ -53,15 +54,15 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.LowScrolls );
|
||||
AddLoot( LootPack.Potions );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public SkeletalMage( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -79,4 +80,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ghostly corpse" )]
|
||||
public class Spectre : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a spectre";
|
||||
|
||||
[Constructible]
|
||||
public Spectre() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a spectre";
|
||||
Body = 26;
|
||||
Hue = 0x4001;
|
||||
BaseSoundID = 0x482;
|
||||
|
|
@ -48,15 +49,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public Spectre( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a succubus corpse" )]
|
||||
public class Succubus : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a succubus";
|
||||
|
||||
[Constructible]
|
||||
public Succubus () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a succubus";
|
||||
Body = 149;
|
||||
BaseSoundID = 0x4B0;
|
||||
|
||||
|
|
@ -117,4 +118,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a titans corpse" )]
|
||||
public class Titan : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a titan";
|
||||
|
||||
[Constructible]
|
||||
public Titan() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a titan";
|
||||
Body = 76;
|
||||
BaseSoundID = 609;
|
||||
|
||||
|
|
@ -53,7 +54,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override int Meat{ get{ return 4; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
|
||||
public Titan( Serial serial ) : base( serial )
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ghostly corpse" )]
|
||||
public class Wraith : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a wraith";
|
||||
|
||||
[Constructible]
|
||||
public Wraith() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a wraith";
|
||||
Body = 26;
|
||||
Hue = 0x4001;
|
||||
BaseSoundID = 0x482;
|
||||
|
|
@ -48,15 +49,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public Wraith( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue