Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -11,10 +11,11 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType => ChampionSkullType.Greed;
public override Type[] UniqueList => new Type[] { typeof( FangOfRactus ) };
public override Type[] SharedList{ get{ return new Type[] { typeof( EmbroideredOakLeafCloak ),
typeof( DjinnisRing ),
typeof( DetectiveBoots ),
typeof( GuantletsOfAnger ) }; } }
public override Type[] SharedList => new Type[] { typeof( EmbroideredOakLeafCloak ),
typeof( DjinnisRing ),
typeof( DetectiveBoots ),
typeof( GuantletsOfAnger ) };
public override Type[] DecorativeList => new Type[] { typeof( SwampTile ), typeof( MonsterStatuette ) };
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.Slime };

View file

@ -29,7 +29,7 @@ namespace Server.Mobiles
public abstract Type[] DecorativeList{ get; }
public abstract MonsterStatuetteType[] StatueTypes{ get; }
public virtual bool NoGoodies{ get{ return false; } }
public virtual bool NoGoodies => false;
public override void Serialize( GenericWriter writer )
{

View file

@ -55,10 +55,7 @@ namespace Server.Mobiles
AddLoot( LootPack.MedScrolls, 2 );
}
public override OppositionGroup OppositionGroup
{
get{ return OppositionGroup.FeyAndUndead; }
}
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
public override int TreasureMapLevel => 2;
public override bool BleedImmune => true;

View file

@ -7,9 +7,9 @@ namespace Server.Mobiles
{
public class Harrower : BaseCreature
{
public Type[] UniqueList{ get{ return new Type[] { typeof( AcidProofRobe ) }; } }
public Type[] SharedList{ get{ return new Type[] { typeof( TheRobeOfBritanniaAri ) }; } }
public Type[] DecorativeList{ get{ return new Type[] { typeof( EvilIdolSkull ), typeof( SkullPole ) }; } }
public Type[] UniqueList => new Type[] { typeof( AcidProofRobe ) };
public Type[] SharedList => new Type[] { typeof( TheRobeOfBritanniaAri ) };
public Type[] DecorativeList => new Type[] { typeof( EvilIdolSkull ), typeof( SkullPole ) };
private bool m_TrueForm;
private Item m_GateItem;
@ -49,7 +49,7 @@ namespace Server.Mobiles
private static ArrayList m_Instances = new ArrayList();
public static ArrayList Instances{ get{ return m_Instances; } }
public static ArrayList Instances => m_Instances;
public static Harrower Spawn( Point3D platLoc, Map platMap )
{
@ -67,13 +67,7 @@ namespace Server.Mobiles
return harrower;
}
public static bool CanSpawn
{
get
{
return ( m_Instances.Count == 0 );
}
}
public static bool CanSpawn => ( m_Instances.Count == 0 );
public override string DefaultName => "the harrower";

View file

@ -13,14 +13,8 @@ namespace Server.Mobiles
[CommandProperty( AccessLevel.GameMaster )]
public Mobile Harrower
{
get
{
return m_Harrower;
}
set
{
m_Harrower = value;
}
get => m_Harrower;
set => m_Harrower = value;
}
public override string DefaultName => "tentacles of the harrower";

View file

@ -12,16 +12,17 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType => ChampionSkullType.Enlightenment;
public override Type[] UniqueList => new Type[] { typeof( OrcChieftainHelm ) };
public override Type[] SharedList{ get{ return new Type[] { typeof( RoyalGuardSurvivalKnife ),
typeof( DjinnisRing ),
typeof( LieutenantOfTheBritannianRoyalGuard ),
typeof( SamaritanRobe ),
typeof( DetectiveBoots ),
typeof( TheMostKnowledgePerson ) }; } }
public override Type[] DecorativeList{ get{ return new Type[] { typeof( WaterTile ),
typeof( WindSpirit ),
typeof( Pier ),
typeof( DirtPatch )}; } }
public override Type[] SharedList => new Type[] { typeof( RoyalGuardSurvivalKnife ),
typeof( DjinnisRing ),
typeof( LieutenantOfTheBritannianRoyalGuard ),
typeof( SamaritanRobe ),
typeof( DetectiveBoots ),
typeof( TheMostKnowledgePerson ) };
public override Type[] DecorativeList => new Type[] { typeof( WaterTile ),
typeof( WindSpirit ),
typeof( Pier ),
typeof( DirtPatch )};
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
@ -73,10 +74,7 @@ namespace Server.Mobiles
public override bool BardImmune => !Core.SE;
public override bool Unprovokable => Core.SE;
public override bool Uncalmable => Core.SE;
public override OppositionGroup OppositionGroup
{
get{ return OppositionGroup.FeyAndUndead; }
}
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
public override Poison PoisonImmune => Poison.Deadly;

View file

@ -9,9 +9,10 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType => ChampionSkullType.Death;
public override Type[] UniqueList => new Type[] { typeof( ShroudOfDeciet ) };
public override Type[] SharedList{ get{ return new Type[] { typeof( ANecromancerShroud ),
public override Type[] SharedList => new Type[] { typeof( ANecromancerShroud ),
typeof( CaptainJohnsHat ) };
typeof( CaptainJohnsHat ) }; } }
public override Type[] DecorativeList => new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) };
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
@ -127,7 +128,7 @@ namespace Server.Mobiles
public Mobile Rider
{
get { return m_Item.Rider; }
get => m_Item.Rider;
set { }
}
@ -159,10 +160,7 @@ namespace Server.Mobiles
m_Mount = new VirtualMount( this );
}
public IMount Mount
{
get { return m_Mount; }
}
public IMount Mount => m_Mount;
public VirtualMountItem( Serial serial )
: base( serial )

View file

@ -10,15 +10,16 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType => ChampionSkullType.Power;
public override Type[] UniqueList => new Type[] { typeof( CrownOfTalKeesh ) };
public override Type[] SharedList{ get{ return new Type[] { typeof( TheMostKnowledgePerson ),
typeof( BraveKnightOfTheBritannia ),
typeof( LieutenantOfTheBritannianRoyalGuard ) }; } }
public override Type[] DecorativeList{ get{ return new Type[] { typeof( LavaTile ),
typeof( MonsterStatuette ),
typeof( MonsterStatuette ) }; } }
public override Type[] SharedList => new Type[] { typeof( TheMostKnowledgePerson ),
typeof( BraveKnightOfTheBritannia ),
typeof( LieutenantOfTheBritannianRoyalGuard ) };
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.OphidianArchMage,
MonsterStatuetteType.OphidianWarrior }; } }
public override Type[] DecorativeList => new Type[] { typeof( LavaTile ),
typeof( MonsterStatuette ),
typeof( MonsterStatuette ) };
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.OphidianArchMage,
MonsterStatuetteType.OphidianWarrior };
public override string DefaultName => "Rikktor";

View file

@ -10,10 +10,11 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType => ChampionSkullType.Power;
public override Type[] UniqueList => new Type[] { typeof( Pacify ) };
public override Type[] SharedList{ get{ return new Type[] { typeof( BraveKnightOfTheBritannia ),
typeof( DetectiveBoots ),
typeof( EmbroideredOakLeafCloak ),
typeof( LieutenantOfTheBritannianRoyalGuard ) }; } }
public override Type[] SharedList => new Type[] { typeof( BraveKnightOfTheBritannia ),
typeof( DetectiveBoots ),
typeof( EmbroideredOakLeafCloak ),
typeof( LieutenantOfTheBritannianRoyalGuard ) };
public override Type[] DecorativeList => new Type[] { typeof( Futon ), typeof( SwampTile ) };
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
@ -71,7 +72,7 @@ namespace Server.Mobiles
public override Poison HitPoison => Poison.Lethal;
public override Poison PoisonImmune => Poison.Lethal;
public override double HitPoisonChance{ get{ return 0.8; } }
public override double HitPoisonChance => 0.8;
public override int Feathers => 30;

View file

@ -45,10 +45,7 @@ namespace Server.Mobiles
AddLoot( LootPack.UltraRich, 2 );
}
public override OppositionGroup OppositionGroup
{
get{ return OppositionGroup.FeyAndUndead; }
}
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
public override bool CanFly => true;
public override bool Unprovokable => true;