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
|
|
@ -7,17 +7,15 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an abysmal horror corpse" )]
|
||||
public class AbysmalHorror : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.WhirlwindAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.WhirlwindAttack;
|
||||
|
||||
public override bool IgnoreYoungProtection { get { return Core.ML; } }
|
||||
|
||||
public override string DefaultName => "an abysmal horror";
|
||||
|
||||
[Constructible]
|
||||
public AbysmalHorror() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an abysmal horror";
|
||||
Body = 312;
|
||||
BaseSoundID = 0x451;
|
||||
|
||||
|
|
@ -64,10 +62,10 @@ namespace Server.Mobiles
|
|||
DemonKnight.DistributeArtifact( this );
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return !Core.SE; } }
|
||||
public override bool Unprovokable{ get{ return Core.SE; } }
|
||||
public override bool BardImmune => !Core.SE;
|
||||
public override bool Unprovokable => Core.SE;
|
||||
public override bool AreaPeaceImmune { get { return Core.SE; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
public AbysmalHorror( Serial serial ) : base( serial )
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a bone demon corpse" )]
|
||||
public class BoneDemon : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a bone demon";
|
||||
|
||||
[Constructible]
|
||||
public BoneDemon() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a bone demon";
|
||||
Body = 308;
|
||||
BaseSoundID = 0x48D;
|
||||
|
||||
|
|
@ -53,7 +54,7 @@ namespace Server.Mobiles
|
|||
public override bool BardImmune { get { return !Core.SE; } }
|
||||
public override bool Unprovokable { get { return Core.SE; } }
|
||||
public override bool AreaPeaceImmune { get { return Core.SE; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
public BoneDemon( Serial serial ) : base( serial )
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a crystal elemental corpse" )]
|
||||
public class CrystalElemental : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override string DefaultName => "a crystal elemental";
|
||||
|
||||
[Constructible]
|
||||
public CrystalElemental() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a crystal elemental";
|
||||
Body = 300;
|
||||
BaseSoundID = 278;
|
||||
|
||||
|
|
@ -55,8 +53,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
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 override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
public CrystalElemental( Serial serial ) : base( serial )
|
||||
|
|
@ -75,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,12 +63,12 @@ namespace Server.Mobiles
|
|||
DemonKnight.DistributeArtifact( this );
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return !Core.SE; } }
|
||||
public override bool Unprovokable{ get{ return Core.SE; } }
|
||||
public override bool BardImmune => !Core.SE;
|
||||
public override bool Unprovokable => Core.SE;
|
||||
public override bool AreaPeaceImmune { get { return Core.SE; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Lethal; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -91,4 +91,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 0xE0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,50 +9,51 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a demon knight corpse" )]
|
||||
public class DemonKnight : BaseCreature
|
||||
{
|
||||
public override bool IgnoreYoungProtection { get { return Core.ML; } }
|
||||
public override bool IgnoreYoungProtection => Core.ML;
|
||||
|
||||
public static Type[] ArtifactRarity10 { get { return m_ArtifactRarity10; } }
|
||||
public static Type[] ArtifactRarity11 { get { return m_ArtifactRarity11; } }
|
||||
private static Type[] m_ArtifactRarity10 = new Type[]
|
||||
{
|
||||
typeof( LegacyOfTheDreadLord ),
|
||||
typeof( TheTaskmaster )
|
||||
};
|
||||
public static Type[] ArtifactRarity10 => m_ArtifactRarity10;
|
||||
public static Type[] ArtifactRarity11 => m_ArtifactRarity11;
|
||||
|
||||
private static Type[] m_ArtifactRarity11 = new Type[]
|
||||
{
|
||||
typeof( TheDragonSlayer ),
|
||||
typeof( ArmorOfFortune ),
|
||||
typeof( GauntletsOfNobility ),
|
||||
typeof( HelmOfInsight ),
|
||||
typeof( HolyKnightsBreastplate ),
|
||||
typeof( JackalsCollar ),
|
||||
typeof( LeggingsOfBane ),
|
||||
typeof( MidnightBracers ),
|
||||
typeof( OrnateCrownOfTheHarrower ),
|
||||
typeof( ShadowDancerLeggings ),
|
||||
typeof( TunicOfFire ),
|
||||
typeof( VoiceOfTheFallenKing ),
|
||||
typeof( BraceletOfHealth ),
|
||||
typeof( OrnamentOfTheMagician ),
|
||||
typeof( RingOfTheElements ),
|
||||
typeof( RingOfTheVile ),
|
||||
typeof( Aegis ),
|
||||
typeof( ArcaneShield ),
|
||||
typeof( AxeOfTheHeavens ),
|
||||
typeof( BladeOfInsanity ),
|
||||
typeof( BoneCrusher ),
|
||||
typeof( BreathOfTheDead ),
|
||||
typeof( Frostbringer ),
|
||||
typeof( SerpentsFang ),
|
||||
typeof( StaffOfTheMagi ),
|
||||
typeof( TheBeserkersMaul ),
|
||||
typeof( TheDryadBow ),
|
||||
typeof( DivineCountenance ),
|
||||
typeof( HatOfTheMagi ),
|
||||
typeof( HuntersHeaddress ),
|
||||
typeof( SpiritOfTheTotem )
|
||||
};
|
||||
private static Type[] m_ArtifactRarity10 =
|
||||
{
|
||||
typeof( LegacyOfTheDreadLord ),
|
||||
typeof( TheTaskmaster )
|
||||
};
|
||||
|
||||
private static Type[] m_ArtifactRarity11 =
|
||||
{
|
||||
typeof( TheDragonSlayer ),
|
||||
typeof( ArmorOfFortune ),
|
||||
typeof( GauntletsOfNobility ),
|
||||
typeof( HelmOfInsight ),
|
||||
typeof( HolyKnightsBreastplate ),
|
||||
typeof( JackalsCollar ),
|
||||
typeof( LeggingsOfBane ),
|
||||
typeof( MidnightBracers ),
|
||||
typeof( OrnateCrownOfTheHarrower ),
|
||||
typeof( ShadowDancerLeggings ),
|
||||
typeof( TunicOfFire ),
|
||||
typeof( VoiceOfTheFallenKing ),
|
||||
typeof( BraceletOfHealth ),
|
||||
typeof( OrnamentOfTheMagician ),
|
||||
typeof( RingOfTheElements ),
|
||||
typeof( RingOfTheVile ),
|
||||
typeof( Aegis ),
|
||||
typeof( ArcaneShield ),
|
||||
typeof( AxeOfTheHeavens ),
|
||||
typeof( BladeOfInsanity ),
|
||||
typeof( BoneCrusher ),
|
||||
typeof( BreathOfTheDead ),
|
||||
typeof( Frostbringer ),
|
||||
typeof( SerpentsFang ),
|
||||
typeof( StaffOfTheMagi ),
|
||||
typeof( TheBeserkersMaul ),
|
||||
typeof( TheDryadBow ),
|
||||
typeof( DivineCountenance ),
|
||||
typeof( HatOfTheMagi ),
|
||||
typeof( HuntersHeaddress ),
|
||||
typeof( SpiritOfTheTotem )
|
||||
};
|
||||
|
||||
public static Item CreateRandomArtifact()
|
||||
{
|
||||
|
|
@ -214,10 +215,10 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.HighScrolls, Utility.RandomMinMax( 6, 60 ) );
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return !Core.SE; } }
|
||||
public override bool Unprovokable{ get{ return Core.SE; } }
|
||||
public override bool BardImmune => !Core.SE;
|
||||
public override bool Unprovokable => Core.SE;
|
||||
public override bool AreaPeaceImmune { get { return Core.SE; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -264,11 +265,12 @@ namespace Server.Mobiles
|
|||
continue;
|
||||
}
|
||||
|
||||
UnholyBone bone = new UnholyBone();
|
||||
|
||||
bone.Hue = 0;
|
||||
bone.Name = "unholy bones";
|
||||
bone.ItemID = Utility.Random( 0xECA, 9 );
|
||||
UnholyBone bone = new UnholyBone
|
||||
{
|
||||
Hue = 0,
|
||||
Name = "unholy bones",
|
||||
ItemID = Utility.Random(0xECA, 9),
|
||||
};
|
||||
|
||||
bone.MoveToWorld( new Point3D( x, y, z ), map );
|
||||
}
|
||||
|
|
@ -290,4 +292,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a devourer of souls corpse" )]
|
||||
public class Devourer : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a devourer of souls";
|
||||
|
||||
[Constructible]
|
||||
public Devourer() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a devourer of souls";
|
||||
Body = 303;
|
||||
BaseSoundID = 357;
|
||||
|
||||
|
|
@ -52,7 +53,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.FilthyRich, 2 );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override int Meat{ get{ return 3; } }
|
||||
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a flesh golem corpse" )]
|
||||
public class FleshGolem : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override string DefaultName => "a flesh golem";
|
||||
|
||||
[Constructible]
|
||||
public FleshGolem() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a flesh golem";
|
||||
Body = 304;
|
||||
BaseSoundID = 684;
|
||||
|
||||
|
|
@ -50,7 +48,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
public FleshGolem( Serial serial ) : base( serial )
|
||||
|
|
@ -69,4 +67,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,17 +7,15 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a fleshrenderer corpse" )]
|
||||
public class FleshRenderer : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override bool IgnoreYoungProtection { get { return Core.ML; } }
|
||||
|
||||
public override string DefaultName => "a fleshrenderer";
|
||||
|
||||
[Constructible]
|
||||
public FleshRenderer() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a fleshrenderer";
|
||||
Body = 315;
|
||||
|
||||
SetStr( 401, 460 );
|
||||
|
|
@ -62,11 +60,11 @@ namespace Server.Mobiles
|
|||
DemonKnight.DistributeArtifact( this );
|
||||
}
|
||||
|
||||
public override bool AutoDispel{ get{ return true; } }
|
||||
public override bool AutoDispel => true;
|
||||
public override bool BardImmune { get { return !Core.SE; } }
|
||||
public override bool Unprovokable { get { return Core.SE; } }
|
||||
public override bool AreaPeaceImmune { get { return Core.SE; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -114,4 +112,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gibberling corpse" )]
|
||||
public class Gibberling : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override string DefaultName => "a gibberling";
|
||||
|
||||
[Constructible]
|
||||
public Gibberling() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a gibberling";
|
||||
Body = 307;
|
||||
BaseSoundID = 422;
|
||||
|
||||
|
|
@ -70,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gore fiend corpse" )]
|
||||
public class GoreFiend : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a gore fiend";
|
||||
|
||||
[Constructible]
|
||||
public GoreFiend() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a gore fiend";
|
||||
Body = 305;
|
||||
BaseSoundID = 224;
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ namespace Server.Mobiles
|
|||
return 1218;
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public GoreFiend( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -69,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,7 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an impaler corpse" )]
|
||||
public class Impaler : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.BleedAttack;
|
||||
|
||||
public override bool IgnoreYoungProtection { get { return Core.ML; } }
|
||||
|
||||
|
|
@ -63,12 +60,12 @@ namespace Server.Mobiles
|
|||
DemonKnight.DistributeArtifact( this );
|
||||
}
|
||||
|
||||
public override bool AutoDispel{ get{ return true; } }
|
||||
public override bool BardImmune{ get{ return !Core.SE; } }
|
||||
public override bool Unprovokable{ get{ return Core.SE; } }
|
||||
public override bool AutoDispel => true;
|
||||
public override bool BardImmune => !Core.SE;
|
||||
public override bool Unprovokable => Core.SE;
|
||||
public override bool AreaPeaceImmune { get { return Core.SE; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison HitPoison{ get{ return (0.8 >= Utility.RandomDouble() ? Poison.Greater : Poison.Deadly); } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => (0.8 >= Utility.RandomDouble() ? Poison.Greater : Poison.Deadly);
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -91,4 +88,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 0x2A7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a maggoty corpse" )] // TODO: Corpse name?
|
||||
public class MoundOfMaggots : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a mound of maggots";
|
||||
|
||||
[Constructible]
|
||||
public MoundOfMaggots() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a mound of maggots";
|
||||
Body = 319;
|
||||
BaseSoundID = 898;
|
||||
|
||||
|
|
@ -43,7 +44,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -63,4 +64,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a patchwork skeletal corpse" )]
|
||||
public class PatchworkSkeleton : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override string DefaultName => "a patchwork skeleton";
|
||||
|
||||
[Constructible]
|
||||
public PatchworkSkeleton() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a patchwork skeleton";
|
||||
Body = 309;
|
||||
BaseSoundID = 0x48D;
|
||||
|
||||
|
|
@ -51,8 +49,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 override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -72,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ravager corpse" )]
|
||||
public class Ravager : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.CrushingBlow;
|
||||
|
||||
public override string DefaultName => "a ravager";
|
||||
|
||||
[Constructible]
|
||||
public Ravager() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a ravager";
|
||||
Body = 314;
|
||||
BaseSoundID = 357;
|
||||
|
||||
|
|
@ -66,4 +64,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,14 +16,15 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override Mobile ConstantFocus{ get{ return m_Target; } }
|
||||
public override bool NoHouseRestrictions{ get{ return true; } }
|
||||
public override bool NoHouseRestrictions => true;
|
||||
|
||||
public override double DispelDifficulty{ get{ return 80.0; } }
|
||||
public override double DispelFocus{ get{ return 20.0; } }
|
||||
|
||||
public override string DefaultName => "a revenant";
|
||||
|
||||
public Revenant( Mobile caster, Mobile target, TimeSpan duration ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.18, 0.36 )
|
||||
{
|
||||
Name = "a revenant";
|
||||
Body = 400;
|
||||
Hue = 1;
|
||||
// TODO: Sound values?
|
||||
|
|
@ -78,11 +79,11 @@ namespace Server.Mobiles
|
|||
AddItem( weapon );
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BardImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override bool BardImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
@ -180,4 +181,4 @@ namespace Server.Mobiles
|
|||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,7 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a shadow knight corpse" )]
|
||||
public class ShadowKnight : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.ConcussionBlow : WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.ConcussionBlow : WeaponAbility.CrushingBlow;
|
||||
|
||||
public override bool IgnoreYoungProtection { get { return Core.ML; } }
|
||||
|
||||
|
|
@ -167,10 +164,10 @@ namespace Server.Mobiles
|
|||
base.OnThink();
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return !Core.SE; } }
|
||||
public override bool Unprovokable{ get{ return Core.SE; } }
|
||||
public override bool AreaPeaceImmune{ get{ return Core.SE; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool BardImmune => !Core.SE;
|
||||
public override bool Unprovokable => Core.SE;
|
||||
public override bool AreaPeaceImmune => Core.SE;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
|
|
@ -193,4 +190,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a skittering hopper corpse" )]
|
||||
public class SkitteringHopper : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a skittering hopper";
|
||||
|
||||
[Constructible]
|
||||
public SkitteringHopper() : base( AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a skittering hopper";
|
||||
Body = 302;
|
||||
BaseSoundID = 959;
|
||||
|
||||
|
|
@ -65,4 +66,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a treefellow corpse" )]
|
||||
public class Treefellow : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override string DefaultName => "a treefellow";
|
||||
|
||||
[Constructible]
|
||||
public Treefellow() : base( AIType.AI_Melee, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a treefellow";
|
||||
Body = 301;
|
||||
|
||||
SetStr( 196, 220 );
|
||||
|
|
@ -64,7 +62,7 @@ namespace Server.Mobiles
|
|||
return 672;
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -90,4 +88,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a vampire bat corpse" )]
|
||||
public class VampireBat : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a vampire bat";
|
||||
|
||||
[Constructible]
|
||||
public VampireBat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a vampire bat";
|
||||
Body = 317;
|
||||
BaseSoundID = 0x270;
|
||||
|
||||
|
|
@ -67,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a wailing banshee corpse" )]
|
||||
public class WailingBanshee : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.MortalStrike;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
||||
|
||||
public override string DefaultName => "a wailing banshee";
|
||||
|
||||
[Constructible]
|
||||
public WailingBanshee() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a wailing banshee";
|
||||
Body = 310;
|
||||
BaseSoundID = 0x482;
|
||||
|
||||
|
|
@ -52,7 +50,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public WailingBanshee( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -70,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a wanderer of the void corpse" )]
|
||||
public class WandererOfTheVoid : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a wanderer of the void";
|
||||
|
||||
[Constructible]
|
||||
public WandererOfTheVoid() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a wanderer of the void";
|
||||
Body = 316;
|
||||
BaseSoundID = 377;
|
||||
|
||||
|
|
@ -50,8 +51,8 @@ namespace Server.Mobiles
|
|||
PackItem( new TreasureMap( 3, Map.Trammel ) );
|
||||
}
|
||||
|
||||
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 override int TreasureMapLevel{ get{ return Core.AOS ? 4 : 1; } }
|
||||
|
||||
public override void GenerateLoot()
|
||||
|
|
@ -75,4 +76,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an ant lion corpse" )]
|
||||
public class AntLion : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an ant lion";
|
||||
|
||||
[Constructible]
|
||||
public AntLion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ant lion";
|
||||
Body = 787;
|
||||
BaseSoundID = 1006;
|
||||
|
||||
|
|
@ -110,4 +111,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a solen infiltrator corpse" )] // TODO: Corpse name?
|
||||
public class BlackSolenInfiltratorQueen : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a black solen infiltrator";
|
||||
|
||||
[Constructible]
|
||||
public BlackSolenInfiltratorQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a black solen infiltrator";
|
||||
Body = 807;
|
||||
BaseSoundID = 959;
|
||||
Hue = 0x453;
|
||||
|
|
@ -108,4 +109,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a solen infiltrator corpse" )]
|
||||
public class BlackSolenInfiltratorWarrior : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a black solen infiltrator";
|
||||
|
||||
[Constructible]
|
||||
public BlackSolenInfiltratorWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a black solen infiltrator";
|
||||
Body = 806;
|
||||
BaseSoundID = 959;
|
||||
Hue = 0x453;
|
||||
|
|
@ -44,7 +45,7 @@ namespace Server.Mobiles
|
|||
|
||||
SolenHelper.PackPicnicBasket( this );
|
||||
|
||||
PackItem( new ZoogiFungus( ( 0.05 > Utility.RandomDouble() )? 13 : 3 ) );
|
||||
PackItem( new ZoogiFungus( ( 0.05 > Utility.RandomDouble() )? 13 : 3 ) );
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
|
|
@ -109,4 +110,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
private bool m_BurstSac;
|
||||
public bool BurstSac{ get{ return m_BurstSac; } }
|
||||
|
||||
public override string DefaultName => "a black solen queen";
|
||||
|
||||
[Constructible]
|
||||
public BlackSolenQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a black solen queen";
|
||||
Body = 807;
|
||||
BaseSoundID = 959;
|
||||
Hue = 0x453;
|
||||
|
|
@ -144,7 +145,7 @@ namespace Server.Mobiles
|
|||
m_BurstSac = reader.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
private bool m_BurstSac;
|
||||
public bool BurstSac{ get{ return m_BurstSac; } }
|
||||
|
||||
public override string DefaultName => "a black solen warrior";
|
||||
|
||||
[Constructible]
|
||||
public BlackSolenWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a black solen warrior";
|
||||
Body = 806;
|
||||
BaseSoundID = 959;
|
||||
Hue = 0x453;
|
||||
|
|
@ -145,7 +146,7 @@ namespace Server.Mobiles
|
|||
m_BurstSac = reader.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a solen worker corpse" )]
|
||||
public class BlackSolenWorker : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a black solen worker";
|
||||
|
||||
[Constructible]
|
||||
public BlackSolenWorker() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a black solen worker";
|
||||
Body = 805;
|
||||
BaseSoundID = 959;
|
||||
Hue = 0x453;
|
||||
|
|
@ -109,4 +110,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a solen infiltrator corpse" )] // TODO: Corpse name?
|
||||
public class RedSolenInfiltratorQueen : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a red solen infiltrator";
|
||||
|
||||
[Constructible]
|
||||
public RedSolenInfiltratorQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a red solen infiltrator";
|
||||
Body = 783;
|
||||
BaseSoundID = 959;
|
||||
|
||||
|
|
@ -107,4 +108,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a solen infiltrator corpse" )]
|
||||
public class RedSolenInfiltratorWarrior : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a red solen infiltrator";
|
||||
|
||||
[Constructible]
|
||||
public RedSolenInfiltratorWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a red solen infiltrator";
|
||||
Body = 782;
|
||||
BaseSoundID = 959;
|
||||
|
||||
|
|
@ -44,7 +45,7 @@ namespace Server.Mobiles
|
|||
SolenHelper.PackPicnicBasket( this );
|
||||
|
||||
PackItem( new ZoogiFungus( ( 0.05 < Utility.RandomDouble() )? 3 : 13 ) );
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
|
|
@ -109,4 +110,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
private bool m_BurstSac;
|
||||
public bool BurstSac{ get{ return m_BurstSac; } }
|
||||
|
||||
public override string DefaultName => "a red solen queen";
|
||||
|
||||
[Constructible]
|
||||
public RedSolenQueen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a red solen queen";
|
||||
Body = 783;
|
||||
BaseSoundID = 959;
|
||||
|
||||
|
|
@ -144,7 +145,7 @@ namespace Server.Mobiles
|
|||
m_BurstSac = reader.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
private bool m_BurstSac;
|
||||
public bool BurstSac{ get{ return m_BurstSac; } }
|
||||
|
||||
public override string DefaultName => "a red solen warrior";
|
||||
|
||||
[Constructible]
|
||||
public RedSolenWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a red solen warrior";
|
||||
Body = 782;
|
||||
BaseSoundID = 959;
|
||||
|
||||
|
|
@ -144,7 +145,7 @@ namespace Server.Mobiles
|
|||
m_BurstSac = reader.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a solen worker corpse" )]
|
||||
public class RedSolenWorker : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a red solen worker";
|
||||
|
||||
[Constructible]
|
||||
public RedSolenWorker() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a red solen worker";
|
||||
Body = 781;
|
||||
BaseSoundID = 959;
|
||||
|
||||
|
|
@ -108,4 +109,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a dread spider corpse" )]
|
||||
public class DreadSpider : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a dread spider";
|
||||
|
||||
[Constructible]
|
||||
public DreadSpider () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a dread spider";
|
||||
Body = 11;
|
||||
BaseSoundID = 1170;
|
||||
|
||||
|
|
@ -51,8 +52,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.FilthyRich );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Lethal; } }
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
|
||||
public DreadSpider( Serial serial ) : base( serial )
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 1170;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan avenger corpse" )]
|
||||
public class TerathanAvenger : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan avenger";
|
||||
|
||||
[Constructible]
|
||||
public TerathanAvenger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan avenger";
|
||||
Body = 152;
|
||||
BaseSoundID = 0x24D;
|
||||
|
||||
|
|
@ -50,8 +51,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich, 2 );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
public override int Meat{ get{ return 2; } }
|
||||
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan matriarch corpse" )]
|
||||
public class TerathanMatriarch : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan matriarch";
|
||||
|
||||
[Constructible]
|
||||
public TerathanMatriarch() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan matriarch";
|
||||
Body = 72;
|
||||
BaseSoundID = 599;
|
||||
|
||||
|
|
@ -74,4 +75,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a frost spider corpse" )]
|
||||
public class FrostSpider : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a frost spider";
|
||||
|
||||
[Constructible]
|
||||
public FrostSpider() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a frost spider";
|
||||
Body = 20;
|
||||
BaseSoundID = 0x388;
|
||||
|
||||
|
|
@ -38,7 +39,7 @@ namespace Server.Mobiles
|
|||
Fame = 775;
|
||||
Karma = -775;
|
||||
|
||||
VirtualArmor = 28;
|
||||
VirtualArmor = 28;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
|
|
@ -75,4 +76,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 0x388;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a giant black widow spider corpse" )] // stupid corpse name
|
||||
public class GiantBlackWidow : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a giant black wide";
|
||||
|
||||
[Constructible]
|
||||
public GiantBlackWidow() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a giant black widow";
|
||||
Body = 0x9D;
|
||||
BaseSoundID = 0x388; // TODO: validate
|
||||
|
||||
|
|
@ -53,8 +54,8 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
|
||||
public GiantBlackWidow( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a giant spider corpse" )]
|
||||
public class GiantSpider : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a giant spider";
|
||||
|
||||
[Constructible]
|
||||
public GiantSpider() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a giant spider";
|
||||
Body = 28;
|
||||
BaseSoundID = 0x388;
|
||||
|
||||
|
|
@ -53,8 +54,8 @@ namespace Server.Mobiles
|
|||
|
||||
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
|
||||
public override PackInstinct PackInstinct{ get{ return PackInstinct.Arachnid; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override Poison HitPoison => Poison.Regular;
|
||||
|
||||
public GiantSpider( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan drone corpse" )]
|
||||
public class TerathanDrone : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan drone";
|
||||
|
||||
[Constructible]
|
||||
public TerathanDrone() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan drone";
|
||||
Body = 71;
|
||||
BaseSoundID = 594;
|
||||
|
||||
|
|
@ -41,7 +42,7 @@ namespace Server.Mobiles
|
|||
Karma = -2000;
|
||||
|
||||
VirtualArmor = 24;
|
||||
|
||||
|
||||
PackItem( new SpidersSilk( 2 ) );
|
||||
}
|
||||
|
||||
|
|
@ -77,4 +78,4 @@ namespace Server.Mobiles
|
|||
BaseSoundID = 594;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a terathan warrior corpse" )]
|
||||
public class TerathanWarrior : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a terathan warrior";
|
||||
|
||||
[Constructible]
|
||||
public TerathanWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a terathan warrior";
|
||||
Body = 70;
|
||||
BaseSoundID = 589;
|
||||
|
||||
|
|
@ -75,4 +76,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an acid elemental corpse" )]
|
||||
public class AcidElemental : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an acid elemental";
|
||||
|
||||
[Constructible]
|
||||
public AcidElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an acid elemental";
|
||||
Body = 0x9E;
|
||||
BaseSoundID = 278;
|
||||
|
||||
|
|
@ -52,8 +53,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Lethal; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override double HitPoisonChance{ get{ return 0.6; } }
|
||||
|
||||
public override int TreasureMapLevel{ get{ return Core.AOS ? 2 : 3; } }
|
||||
|
|
@ -84,4 +85,4 @@ namespace Server.Mobiles
|
|||
Hue = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@ namespace Server.Mobiles
|
|||
public override double DispelDifficulty{ get{ return 117.5; } }
|
||||
public override double DispelFocus{ get{ return 45.0; } }
|
||||
|
||||
public override string DefaultName => "an air elemental";
|
||||
|
||||
[Constructible]
|
||||
public AirElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an air elemental";
|
||||
Body = 13;
|
||||
Hue = 0x4001;
|
||||
BaseSoundID = 655;
|
||||
|
|
@ -57,7 +58,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override int TreasureMapLevel{ get{ return 2; } }
|
||||
|
||||
public AirElemental( Serial serial ) : base( serial )
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a blood elemental corpse" )]
|
||||
public class BloodElemental : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a blood elemental";
|
||||
|
||||
[Constructible]
|
||||
public BloodElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a blood elemental";
|
||||
Body = 159;
|
||||
BaseSoundID = 278;
|
||||
|
||||
|
|
@ -69,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an efreet corpse" )]
|
||||
public class Efreet : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an efreet";
|
||||
|
||||
[Constructible]
|
||||
public Efreet () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an efreet";
|
||||
Body = 131;
|
||||
BaseSoundID = 768;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@ namespace Server.Mobiles
|
|||
public override double DispelDifficulty{ get{ return 117.5; } }
|
||||
public override double DispelFocus{ get{ return 45.0; } }
|
||||
|
||||
public override string DefaultName => "a fire elemental";
|
||||
|
||||
[Constructible]
|
||||
public FireElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a fire elemental";
|
||||
Body = 15;
|
||||
BaseSoundID = 838;
|
||||
|
||||
|
|
@ -58,7 +59,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override int TreasureMapLevel{ get{ return 2; } }
|
||||
|
||||
public FireElemental( Serial serial ) : base( serial )
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an ice elemental corpse" )]
|
||||
public class IceElemental : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an ice elemental";
|
||||
|
||||
[Constructible]
|
||||
public IceElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ice elemental";
|
||||
Body = 161;
|
||||
BaseSoundID = 268;
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average, 2 );
|
||||
AddLoot( LootPack.Gems, 2 );
|
||||
}
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public IceElemental( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -69,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a poison elementals corpse" )]
|
||||
public class PoisonElemental : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a poison elemental";
|
||||
|
||||
[Constructible]
|
||||
public PoisonElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a poison elemental";
|
||||
Body = 162;
|
||||
BaseSoundID = 263;
|
||||
|
||||
|
|
@ -55,10 +56,10 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.MedScrolls );
|
||||
}
|
||||
|
||||
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 override Poison HitPoison{ get{ return Poison.Lethal; } }
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override double HitPoisonChance{ get{ return 0.75; } }
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
|
|
@ -79,4 +80,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@ namespace Server.Mobiles
|
|||
public override double DispelDifficulty{ get{ return 117.5; } }
|
||||
public override double DispelFocus{ get{ return 45.0; } }
|
||||
|
||||
public override string DefaultName => "a water elemental";
|
||||
|
||||
[Constructible]
|
||||
public WaterElemental () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a water elemental";
|
||||
Body = 16;
|
||||
BaseSoundID = 278;
|
||||
|
||||
|
|
@ -56,7 +57,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Potions );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override int TreasureMapLevel{ get{ return 2; } }
|
||||
|
||||
public WaterElemental( Serial serial ) : base( serial )
|
||||
|
|
@ -75,4 +76,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
public override double DispelDifficulty{ get{ return 117.5; } }
|
||||
public override double DispelFocus{ get{ return 45.0; } }
|
||||
|
||||
public override string DefaultName => "an earth elemental";
|
||||
|
||||
[Constructible]
|
||||
public EarthElemental() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an earth elemental";
|
||||
Body = 14;
|
||||
BaseSoundID = 268;
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ namespace Server.Mobiles
|
|||
|
||||
PackItem( new FertileDirt( Utility.RandomMinMax( 1, 4 ) ) );
|
||||
PackItem( new MandrakeRoot() );
|
||||
|
||||
|
||||
Item ore = new IronOre( 5 );
|
||||
ore.ItemID = 0x19B7;
|
||||
PackItem( ore );
|
||||
|
|
@ -59,7 +60,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override int TreasureMapLevel{ get{ return 1; } }
|
||||
|
||||
public EarthElemental( Serial serial ) : base( serial )
|
||||
|
|
@ -78,4 +79,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a snow elemental corpse" )]
|
||||
public class SnowElemental : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a snow elemental";
|
||||
|
||||
[Constructible]
|
||||
public SnowElemental() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a snow elemental";
|
||||
Body = 163;
|
||||
BaseSoundID = 263;
|
||||
|
||||
|
|
@ -50,7 +51,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override int TreasureMapLevel{ get{ return Utility.RandomList( 2, 3 ); } }
|
||||
|
||||
|
|
@ -70,4 +71,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,10 +9,11 @@ namespace Server.Mobiles
|
|||
[TypeAlias( "Server.Mobiles.ArticOgreLord" )]
|
||||
public class ArcticOgreLord : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an arctic ogre lord";
|
||||
|
||||
[Constructible]
|
||||
public ArcticOgreLord() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an arctic ogre lord";
|
||||
Body = 135;
|
||||
BaseSoundID = 427;
|
||||
|
||||
|
|
@ -50,7 +51,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
|
||||
public ArcticOgreLord( Serial serial ) : base( serial )
|
||||
|
|
@ -69,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a skeletal corpse" )]
|
||||
public class BoneKnight : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a bone knight";
|
||||
|
||||
[Constructible]
|
||||
public BoneKnight() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a bone knight";
|
||||
Body = 57;
|
||||
BaseSoundID = 451;
|
||||
|
||||
|
|
@ -62,7 +63,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public BoneKnight( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -85,4 +86,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Brigand : BaseCreature
|
||||
{
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
|
||||
[Constructible]
|
||||
public Brigand() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
|
|
@ -78,7 +78,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public Brigand( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -98,4 +98,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,15 +8,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a chaos daemon corpse" )]
|
||||
public class ChaosDaemon : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
|
||||
|
||||
public override string DefaultName => "a chaos daemon";
|
||||
|
||||
[Constructible]
|
||||
public ChaosDaemon() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a chaos daemon";
|
||||
Body = 792;
|
||||
BaseSoundID = 0x3E9;
|
||||
|
||||
|
|
@ -69,4 +67,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an inhuman corpse" )]
|
||||
public class Cursed : BaseCreature
|
||||
{
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ShowFameTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
public override bool ShowFameTitle => false;
|
||||
|
||||
[Constructible]
|
||||
public Cursed() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
|
|
@ -62,7 +62,7 @@ namespace Server.Mobiles
|
|||
//AddLoot( LootPack.Miscellaneous );
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public Cursed( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -82,4 +82,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a cyclopean corpse" )]
|
||||
public class Cyclops : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a cyclopean warrior";
|
||||
|
||||
[Constructible]
|
||||
public Cyclops() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a cyclopean warrior";
|
||||
Body = 75;
|
||||
BaseSoundID = 604;
|
||||
|
||||
|
|
@ -67,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a doppleganger corpse" )]
|
||||
public class Doppleganger : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a doppleganger";
|
||||
|
||||
[Constructible]
|
||||
public Doppleganger() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a doppleganger";
|
||||
Body = 0x309;
|
||||
BaseSoundID = 0x451;
|
||||
|
||||
|
|
@ -61,4 +62,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Mobiles
|
|||
// TODO: Needs some Spellweaving abilities
|
||||
public class ElfBrigand : BaseCreature
|
||||
{
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
|
||||
[Constructible]
|
||||
public ElfBrigand() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
|
|
@ -91,7 +91,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public ElfBrigand( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an enslaved gargoyle corpse" )]
|
||||
public class EnslavedGargoyle : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an enslaved gargoyle";
|
||||
|
||||
[Constructible]
|
||||
public EnslavedGargoyle() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an enslaved gargoyle";
|
||||
Body = 0x2F1;
|
||||
BaseSoundID = 0x174;
|
||||
|
||||
|
|
@ -65,4 +66,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an ettins corpse" )]
|
||||
public class Ettin : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an ettin";
|
||||
|
||||
[Constructible]
|
||||
public Ettin() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ettin";
|
||||
Body = 18;
|
||||
BaseSoundID = 367;
|
||||
|
||||
|
|
@ -48,7 +49,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Potions );
|
||||
}
|
||||
|
||||
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 4; } }
|
||||
|
||||
|
|
@ -68,4 +69,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.ContextMenus;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.ContextMenus;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Executioner : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Executioner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
SpeechHue = Utility.RandomDyedHue();
|
||||
Title = "the executioner";
|
||||
Hue = Utility.RandomSkinHue();
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Executioner : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Executioner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
SpeechHue = Utility.RandomDyedHue();
|
||||
Title = "the executioner";
|
||||
Hue = Utility.RandomSkinHue();
|
||||
|
||||
if ( this.Female = Utility.RandomBool() )
|
||||
{
|
||||
this.Body = 0x191;
|
||||
this.Name = NameList.RandomName( "female" );
|
||||
AddItem( new Skirt( Utility.RandomRedHue() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Body = 0x190;
|
||||
this.Name = NameList.RandomName( "male" );
|
||||
AddItem( new ShortPants( Utility.RandomRedHue() ) );
|
||||
}
|
||||
if ( this.Female = Utility.RandomBool() )
|
||||
{
|
||||
this.Body = 0x191;
|
||||
this.Name = NameList.RandomName( "female" );
|
||||
AddItem( new Skirt( Utility.RandomRedHue() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Body = 0x190;
|
||||
this.Name = NameList.RandomName( "male" );
|
||||
AddItem( new ShortPants( Utility.RandomRedHue() ) );
|
||||
}
|
||||
|
||||
SetStr( 386, 400 );
|
||||
SetDex( 151, 165 );
|
||||
|
|
@ -57,8 +57,8 @@ namespace Server.Mobiles
|
|||
|
||||
VirtualArmor = 40;
|
||||
|
||||
AddItem( new ThighBoots( Utility.RandomRedHue() ) );
|
||||
AddItem( new Surcoat( Utility.RandomRedHue() ) );
|
||||
AddItem( new ThighBoots( Utility.RandomRedHue() ) );
|
||||
AddItem( new Surcoat( Utility.RandomRedHue() ) );
|
||||
AddItem( new ExecutionersAxe());
|
||||
|
||||
Utility.AssignRandomHair( this );
|
||||
|
|
@ -70,24 +70,24 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public Executioner( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public Executioner( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a frost troll corpse" )]
|
||||
public class FrostTroll : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a frost troll";
|
||||
|
||||
[Constructible]
|
||||
public FrostTroll() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a frost troll";
|
||||
Body = 55;
|
||||
BaseSoundID = 461;
|
||||
|
||||
|
|
@ -68,4 +69,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gazer larva corpse" )]
|
||||
public class GazerLarva : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a gazer larva";
|
||||
|
||||
[Constructible]
|
||||
public GazerLarva () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a gazer larva";
|
||||
Body = 778;
|
||||
BaseSoundID = 377;
|
||||
|
||||
|
|
@ -61,4 +62,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ghostly corpse" )]
|
||||
public class Ghoul : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a ghoul";
|
||||
|
||||
[Constructible]
|
||||
public Ghoul() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a ghoul";
|
||||
Body = 153;
|
||||
BaseSoundID = 0x482;
|
||||
|
||||
|
|
@ -48,8 +49,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public Ghoul( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -72,4 +73,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a mongbat corpse" )]
|
||||
public class GreaterMongbat : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a greater mongbat";
|
||||
|
||||
[Constructible]
|
||||
public GreaterMongbat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a greater mongbat";
|
||||
Body = 39;
|
||||
BaseSoundID = 422;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a headless corpse" )]
|
||||
public class HeadlessOne : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a headless one";
|
||||
|
||||
[Constructible]
|
||||
public HeadlessOne() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a headless one";
|
||||
Body = 31;
|
||||
Hue = Utility.RandomSkinHue() & 0x7FFF;
|
||||
BaseSoundID = 0x39D;
|
||||
|
|
@ -44,7 +45,7 @@ namespace Server.Mobiles
|
|||
// TODO: body parts
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
|
||||
public HeadlessOne( Serial serial ) : base( serial )
|
||||
|
|
@ -63,4 +64,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a horde minion corpse" )]
|
||||
public class HordeMinion : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a horde minion";
|
||||
|
||||
[Constructible]
|
||||
public HordeMinion () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a horde minion";
|
||||
Body = 776;
|
||||
BaseSoundID = 357;
|
||||
|
||||
|
|
@ -84,4 +85,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
private bool m_Stunning;
|
||||
|
||||
public override string DefaultName => "a blackthorn juggernaut";
|
||||
|
||||
[Constructible]
|
||||
public Juggernaut() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.3, 0.6 )
|
||||
{
|
||||
Name = "a blackthorn juggernaut";
|
||||
Body = 768;
|
||||
|
||||
|
||||
|
|
@ -92,10 +93,10 @@ namespace Server.Mobiles
|
|||
return 0x140;
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool BardImmune{ get{ return !Core.AOS; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override bool BardImmune => !Core.AOS;
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
|
||||
|
|
@ -155,4 +156,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
EventSink.PlayerDeath += new PlayerDeathEventHandler( EventSink_PlayerDeath );
|
||||
}
|
||||
|
||||
|
||||
public static void EventSink_PlayerDeath( PlayerDeathEventArgs e )
|
||||
{
|
||||
Mobile m = e.Mobile;
|
||||
|
|
@ -56,18 +56,19 @@ namespace Server.Mobiles
|
|||
private Mobile m_Target;
|
||||
private DateTime m_ExpireTime;
|
||||
|
||||
public override bool DeleteCorpseOnDeath{ get{ return true; } }
|
||||
public override bool DeleteCorpseOnDeath => true;
|
||||
|
||||
public override void DisplayPaperdollTo( Mobile to )
|
||||
{
|
||||
}
|
||||
|
||||
public override Mobile ConstantFocus{ get{ return m_Target; } }
|
||||
public override bool AlwaysAttackable{ get{ return true; } }
|
||||
public override bool AlwaysAttackable => true;
|
||||
|
||||
public override string DefaultName => "a revenant";
|
||||
|
||||
public KhaldunRevenant( Mobile target ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.18, 0.36 )
|
||||
{
|
||||
Name = "a revenant";
|
||||
Body = 0x3CA;
|
||||
Hue = 0x41CE;
|
||||
|
||||
|
|
@ -124,8 +125,8 @@ namespace Server.Mobiles
|
|||
return 0xFD;
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool BardImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
@ -178,4 +179,4 @@ namespace Server.Mobiles
|
|||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,14 +9,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class KhaldunSummoner : BaseCreature
|
||||
{
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ShowFameTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
public override bool ShowFameTitle => false;
|
||||
|
||||
public override string DefaultName => "Zealot of Khaldun";
|
||||
|
||||
[Constructible]
|
||||
public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 0x190;
|
||||
Name = "Zealot of Khaldun";
|
||||
Title = "the Summoner";
|
||||
|
||||
SetStr( 351, 400 );
|
||||
|
|
@ -92,8 +93,8 @@ namespace Server.Mobiles
|
|||
return 0x19F;
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool Unprovokable{ get{ return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override bool Unprovokable => true;
|
||||
|
||||
public KhaldunSummoner( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -141,4 +142,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,14 +9,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class KhaldunZealot : BaseCreature
|
||||
{
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ShowFameTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
public override bool ShowFameTitle => false;
|
||||
|
||||
public override string DefaultName => "Zealot of Khaldun";
|
||||
|
||||
[Constructible]
|
||||
public KhaldunZealot(): base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 0x190;
|
||||
Name = "Zealot of Khaldun";
|
||||
Title = "the Knight";
|
||||
Hue = 0;
|
||||
|
||||
|
|
@ -100,9 +101,9 @@ namespace Server.Mobiles
|
|||
return 0x19F;
|
||||
}
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
public override bool Unprovokable{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override bool Unprovokable => true;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public KhaldunZealot( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -150,4 +151,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue