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
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,15 +6,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a moloch corpse" )]
|
||||
public class Moloch : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ConcussionBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ConcussionBlow;
|
||||
|
||||
public override string DefaultName => "a moloch";
|
||||
|
||||
[Constructible]
|
||||
public Moloch() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a moloch";
|
||||
Body = 0x311;
|
||||
BaseSoundID = 0x300;
|
||||
|
||||
|
|
@ -47,7 +45,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public Moloch( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -65,4 +63,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a mongbat corpse" )]
|
||||
public class Mongbat : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a mongbat";
|
||||
|
||||
[Constructible]
|
||||
public Mongbat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a mongbat";
|
||||
Body = 39;
|
||||
BaseSoundID = 422;
|
||||
|
||||
|
|
@ -42,7 +43,7 @@ namespace Server.Mobiles
|
|||
MinTameSkill = -18.9;
|
||||
}
|
||||
|
||||
public override bool CanFly { get { return true; } }
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -68,4 +69,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a mummy corpse" )]
|
||||
public class Mummy : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a mummy";
|
||||
|
||||
[Constructible]
|
||||
public Mummy() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.4, 0.8 )
|
||||
{
|
||||
Name = "a mummy";
|
||||
Body = 154;
|
||||
BaseSoundID = 471;
|
||||
|
||||
|
|
@ -55,8 +56,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Potions );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lesser; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lesser;
|
||||
|
||||
public Mummy( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -79,4 +80,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an ogre corpse" )]
|
||||
public class Ogre : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an ogre";
|
||||
|
||||
[Constructible]
|
||||
public Ogre () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ogre";
|
||||
Body = 1;
|
||||
BaseSoundID = 427;
|
||||
|
||||
|
|
@ -50,7 +51,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 2; } }
|
||||
|
||||
|
|
@ -70,4 +71,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,11 @@ namespace Server.Mobiles
|
|||
public override Faction FactionAllegiance { get { return Minax.Instance; } }
|
||||
public override Ethics.Ethic EthicAllegiance { get { return Ethics.Ethic.Evil; } }
|
||||
|
||||
public override string DefaultName => "an ogre lord";
|
||||
|
||||
[Constructible]
|
||||
public OgreLord () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ogre lord";
|
||||
Body = 83;
|
||||
BaseSoundID = 427;
|
||||
|
||||
|
|
@ -52,8 +53,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich, 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 3; } }
|
||||
public override int Meat{ get{ return 2; } }
|
||||
|
||||
|
|
@ -73,4 +74,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
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; } }
|
||||
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override InhumanSpeech SpeechType{ get{ return InhumanSpeech.Orc; } }
|
||||
|
||||
public override string DefaultName => "an orc bomber";
|
||||
|
||||
[Constructible]
|
||||
public OrcBomber() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 182;
|
||||
|
||||
Name = "an orc bomber";
|
||||
BaseSoundID = 0x45A;
|
||||
|
||||
SetStr( 147, 215 );
|
||||
|
|
@ -62,7 +62,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an orcish corpse" )]
|
||||
public class OrcBrute : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "an orc brute";
|
||||
|
||||
[Constructible]
|
||||
public OrcBrute() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 189;
|
||||
|
||||
Name = "an orc brute";
|
||||
BaseSoundID = 0x45A;
|
||||
|
||||
SetStr( 767, 945 );
|
||||
|
|
@ -61,8 +61,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich );
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return !Core.AOS; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override bool BardImmune => !Core.AOS;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int Meat{ get{ return 2; } }
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
|
|
@ -93,8 +93,8 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool AutoDispel{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override bool AutoDispel => true;
|
||||
|
||||
public override void OnDamagedBySpell( Mobile caster )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager, 2 );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Meat{ get{ return 1; } }
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
|
|
@ -120,4 +120,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override InhumanSpeech SpeechType{ get{ return InhumanSpeech.Orc; } }
|
||||
|
||||
public override string DefaultName => "an orcish lord";
|
||||
|
||||
[Constructible]
|
||||
public OrcishLord() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an orcish lord";
|
||||
Body = 138;
|
||||
BaseSoundID = 0x45A;
|
||||
|
||||
|
|
@ -67,7 +68,7 @@ namespace Server.Mobiles
|
|||
// TODO: evil orc helm
|
||||
}
|
||||
|
||||
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; } }
|
||||
|
||||
|
|
@ -115,4 +116,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ namespace Server.Mobiles
|
|||
// TODO: weapon, misc
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Hides{ get{ return 8; } }
|
||||
public override HideType HideType{ get{ return HideType.Spined; } }
|
||||
|
||||
|
|
@ -70,4 +70,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Rich );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Hides{ get{ return 8; } }
|
||||
public override HideType HideType{ get{ return HideType.Spined; } }
|
||||
|
||||
|
|
|
|||
|
|
@ -12,10 +12,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a ghostly corpse" )]
|
||||
public class RestlessSoul : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a restless soul";
|
||||
|
||||
[Constructible]
|
||||
public RestlessSoul() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.4, 0.8 )
|
||||
{
|
||||
Name = "restless soul";
|
||||
Body = 0x3CA;
|
||||
Hue = 0x453;
|
||||
|
||||
|
|
@ -51,8 +52,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Poor );
|
||||
}
|
||||
|
||||
public override bool AlwaysAttackable{ get{ return true; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool AlwaysAttackable => true;
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override void DisplayPaperdollTo(Mobile to)
|
||||
{
|
||||
|
|
@ -117,4 +118,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a rotting corpse" )]
|
||||
public class RottingCorpse : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a rotting corpse";
|
||||
|
||||
[Constructible]
|
||||
public RottingCorpse() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a rotting corpse";
|
||||
Body = 155;
|
||||
BaseSoundID = 471;
|
||||
|
||||
|
|
@ -51,9 +52,9 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.FilthyRich, 2 );
|
||||
}
|
||||
|
||||
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 5; } }
|
||||
|
||||
public RottingCorpse( Serial serial ) : base( serial )
|
||||
|
|
@ -77,4 +78,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,8 +59,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
|
||||
{
|
||||
|
|
@ -115,4 +115,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,8 +56,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
|
||||
{
|
||||
|
|
@ -125,4 +125,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,14 +6,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class ShadowFiend : BaseCreature
|
||||
{
|
||||
public override bool DeleteCorpseOnDeath{ get{ return true; } }
|
||||
public override bool DeleteCorpseOnDeath => true;
|
||||
|
||||
private UnhideTimer m_Timer;
|
||||
|
||||
public override string DefaultName => "a shadow fiend";
|
||||
|
||||
[Constructible]
|
||||
public ShadowFiend() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a shadow fiend";
|
||||
Body = 0xA8;
|
||||
|
||||
// this to allow shadow fiend to loot from corpses
|
||||
|
|
@ -75,7 +76,7 @@ namespace Server.Mobiles
|
|||
return 0x380;
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool CanRummageCorpses => true;
|
||||
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
|
|
@ -141,4 +142,4 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a skeletal corpse" )]
|
||||
public class SkeletalKnight : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a skeletal knight";
|
||||
|
||||
[Constructible]
|
||||
public SkeletalKnight() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a skeletal knight";
|
||||
Body = 147;
|
||||
BaseSoundID = 451;
|
||||
|
||||
|
|
@ -61,7 +62,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public SkeletalKnight( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -84,4 +85,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a skeletal corpse" )]
|
||||
public class Skeleton : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a skeleton";
|
||||
|
||||
[Constructible]
|
||||
public Skeleton() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a skeleton";
|
||||
Body = Utility.RandomList( 50, 56 );
|
||||
BaseSoundID = 0x48D;
|
||||
|
||||
|
|
@ -55,8 +56,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Poor );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lesser; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lesser;
|
||||
|
||||
public Skeleton( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,19 +1,20 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
|
||||
public class SpectralArmour : BaseCreature
|
||||
{
|
||||
public override bool DeleteCorpseOnDeath{ get{ return true; } }
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
|
||||
[Constructible]
|
||||
public SpectralArmour() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 637;
|
||||
Hue = 0x8026;
|
||||
Name = "spectral armour";
|
||||
public class SpectralArmour : BaseCreature
|
||||
{
|
||||
public override bool DeleteCorpseOnDeath => true;
|
||||
|
||||
public override string DefaultName => "a spectral armour";
|
||||
|
||||
[Constructible]
|
||||
public SpectralArmour() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 637;
|
||||
Hue = 0x8026;
|
||||
|
||||
Buckler buckler = new Buckler();
|
||||
ChainCoif coif = new ChainCoif();
|
||||
|
|
@ -27,8 +28,8 @@ namespace Server.Mobiles
|
|||
AddItem( coif );
|
||||
AddItem( gloves );
|
||||
|
||||
SetStr( 101, 110 );
|
||||
SetDex( 101, 110 );
|
||||
SetStr( 101, 110 );
|
||||
SetDex( 101, 110 );
|
||||
SetInt( 101, 110 );
|
||||
|
||||
SetHits( 178, 201 );
|
||||
|
|
@ -45,13 +46,13 @@ namespace Server.Mobiles
|
|||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Energy, 20, 30 );
|
||||
|
||||
SetSkill( SkillName.Wrestling, 75.1, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 90.1, 100.0 );
|
||||
SetSkill( SkillName.MagicResist, 90.1, 100 );
|
||||
SetSkill( SkillName.Wrestling, 75.1, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 90.1, 100.0 );
|
||||
SetSkill( SkillName.MagicResist, 90.1, 100 );
|
||||
|
||||
VirtualArmor = 40;
|
||||
Fame = 7000;
|
||||
Karma = -7000;
|
||||
VirtualArmor = 40;
|
||||
Fame = 7000;
|
||||
Karma = -7000;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
|
|
@ -76,22 +77,22 @@ namespace Server.Mobiles
|
|||
return true;
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public SpectralArmour( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public SpectralArmour( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a gargoyle corpse" )]
|
||||
public class StoneGargoyle : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a stone gargoyle";
|
||||
|
||||
[Constructible]
|
||||
public StoneGargoyle() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a stone gargoyle";
|
||||
Body = 67;
|
||||
BaseSoundID = 0x174;
|
||||
|
||||
|
|
@ -71,4 +72,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a mongbat corpse" )]
|
||||
public class StrongMongbat : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a mongbat";
|
||||
|
||||
[Constructible]
|
||||
public StrongMongbat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a mongbat";
|
||||
Body = 39;
|
||||
BaseSoundID = 422;
|
||||
|
||||
|
|
@ -67,4 +68,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a troll corpse" )]
|
||||
public class Troll : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a troll";
|
||||
|
||||
[Constructible]
|
||||
public Troll () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a troll";
|
||||
Body = Utility.RandomList( 53, 54 );
|
||||
BaseSoundID = 461;
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
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 2; } }
|
||||
|
||||
|
|
@ -66,4 +67,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a rotting corpse" )]
|
||||
public class Zombie : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a zombie";
|
||||
|
||||
[Constructible]
|
||||
public Zombie() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a zombie";
|
||||
Body = 3;
|
||||
BaseSoundID = 471;
|
||||
|
||||
|
|
@ -58,8 +59,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 Zombie( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -82,4 +83,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue