Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -10,16 +10,16 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Barracoon : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Greed; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Greed;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( FangOfRactus ) }; } }
|
||||
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[] DecorativeList{ get{ return new Type[] { typeof( SwampTile ), typeof( MonsterStatuette ) }; } }
|
||||
public override Type[] DecorativeList => new Type[] { typeof( SwampTile ), typeof( MonsterStatuette ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.Slime }; } }
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.Slime };
|
||||
|
||||
public override string DefaultName => "Barracoon";
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override bool AutoDispel => true;
|
||||
public override double AutoDispelChance{ get{ return 1.0; } }
|
||||
public override double AutoDispelChance => 1.0;
|
||||
public override bool BardImmune => !Core.SE;
|
||||
public override bool Unprovokable => Core.SE;
|
||||
public override bool Uncalmable => Core.SE;
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class ChaosGuard : BaseShieldGuard
|
||||
{
|
||||
public override int Keyword{ get{ return 0x22; } } // *chaos shield*
|
||||
public override BaseShield Shield{ get{ return new ChaosShield(); } }
|
||||
public override int SignupNumber{ get{ return 1007140; } } // Sign up with a guild of chaos if thou art interested.
|
||||
public override GuildType Type{ get{ return GuildType.Chaos; } }
|
||||
public override int Keyword => 0x22; // *chaos shield*
|
||||
public override BaseShield Shield => new ChaosShield();
|
||||
public override int SignupNumber => 1007140; // Sign up with a guild of chaos if thou art interested.
|
||||
public override GuildType Type => GuildType.Chaos;
|
||||
|
||||
public override bool BardImmune => true;
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ namespace Server.Mobiles
|
|||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 2; } }
|
||||
public override int TreasureMapLevel => 2;
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override bool Unprovokable => true;
|
||||
|
|
|
|||
|
|
@ -203,10 +203,10 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public override int HitsMax{ get{ return m_TrueForm ? 65000 : 30000; } }
|
||||
public override int HitsMax => m_TrueForm ? 65000 : 30000;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public override int ManaMax{ get{ return 5000; } }
|
||||
public override int ManaMax => 5000;
|
||||
|
||||
public Harrower( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ namespace Server.Mobiles
|
|||
private Mobile m_Queen;
|
||||
private bool m_SpawnedQueen;
|
||||
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Enlightenment; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Enlightenment;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( OrcChieftainHelm ) }; } }
|
||||
public override Type[] UniqueList => new Type[] { typeof( OrcChieftainHelm ) };
|
||||
public override Type[] SharedList{ get{ return new Type[] { typeof( RoyalGuardSurvivalKnife ),
|
||||
typeof( DjinnisRing ),
|
||||
typeof( LieutenantOfTheBritannianRoyalGuard ),
|
||||
|
|
@ -24,7 +24,7 @@ namespace Server.Mobiles
|
|||
typeof( Pier ),
|
||||
typeof( DirtPatch )}; } }
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
public override string DefaultName => "Lord Oaks";
|
||||
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Mephitis : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Venom; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Venom;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( Calm ) }; } }
|
||||
public override Type[] SharedList { get { return new Type[] { typeof(OblivionsNeedle), typeof(ANecromancerShroud), typeof(EmbroideredOakLeafCloak), typeof(TheMostKnowledgePerson) }; } }
|
||||
public override Type[] DecorativeList{ get{ return new Type[] { typeof( Web ), typeof( MonsterStatuette ) }; } }
|
||||
public override Type[] UniqueList => new Type[] { typeof( Calm ) };
|
||||
public override Type[] SharedList => new Type[] { typeof(OblivionsNeedle), typeof(ANecromancerShroud), typeof(EmbroideredOakLeafCloak), typeof(TheMostKnowledgePerson) };
|
||||
public override Type[] DecorativeList => new Type[] { typeof( Web ), typeof( MonsterStatuette ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.Spider }; } }
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.Spider };
|
||||
|
||||
public override string DefaultName => "Mephitis";
|
||||
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Neira : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Death; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Death;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( ShroudOfDeciet ) }; } }
|
||||
public override Type[] UniqueList => new Type[] { typeof( ShroudOfDeciet ) };
|
||||
public override Type[] SharedList{ get{ return new Type[] { typeof( ANecromancerShroud ),
|
||||
|
||||
typeof( CaptainJohnsHat ) }; } }
|
||||
public override Type[] DecorativeList{ get{ return new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) }; } }
|
||||
public override Type[] DecorativeList => new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
public override string DefaultName => "Neira";
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ namespace Server.Mobiles
|
|||
private Mobile m_Rider;
|
||||
private VirtualMount m_Mount;
|
||||
|
||||
public Mobile Rider { get { return m_Rider; } }
|
||||
public Mobile Rider => m_Rider;
|
||||
|
||||
public VirtualMountItem( Mobile mob )
|
||||
: base( 0x3EBB )
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class OrderGuard : BaseShieldGuard
|
||||
{
|
||||
public override int Keyword{ get{ return 0x21; } } // *order shield*
|
||||
public override BaseShield Shield{ get{ return new OrderShield(); } }
|
||||
public override int SignupNumber{ get{ return 1007141; } } // Sign up with a guild of order if thou art interested.
|
||||
public override GuildType Type{ get{ return GuildType.Order; } }
|
||||
public override int Keyword => 0x21; // *order shield*
|
||||
public override BaseShield Shield => new OrderShield();
|
||||
public override int SignupNumber => 1007141; // Sign up with a guild of order if thou art interested.
|
||||
public override GuildType Type => GuildType.Order;
|
||||
|
||||
public override bool BardImmune => true;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Rikktor : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Power; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Power;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( CrownOfTalKeesh ) }; } }
|
||||
public override Type[] UniqueList => new Type[] { typeof( CrownOfTalKeesh ) };
|
||||
public override Type[] SharedList{ get{ return new Type[] { typeof( TheMostKnowledgePerson ),
|
||||
typeof( BraveKnightOfTheBritannia ),
|
||||
typeof( LieutenantOfTheBritannianRoyalGuard ) }; } }
|
||||
|
|
@ -64,8 +64,8 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override ScaleType ScaleType{ get{ return ScaleType.All; } }
|
||||
public override int Scales{ get{ return 20; } }
|
||||
public override ScaleType ScaleType => ScaleType.All;
|
||||
public override int Scales => 20;
|
||||
|
||||
public override void OnGaveMeleeAttack( Mobile defender )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Semidar : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Pain; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Pain;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( GladiatorsCollar ) }; } }
|
||||
public override Type[] SharedList { get { return new Type[] { typeof(RoyalGuardSurvivalKnife), typeof(ANecromancerShroud), typeof(LieutenantOfTheBritannianRoyalGuard) }; } }
|
||||
public override Type[] DecorativeList{ get{ return new Type[] { typeof( LavaTile ), typeof( DemonSkull ) }; } }
|
||||
public override Type[] UniqueList => new Type[] { typeof( GladiatorsCollar ) };
|
||||
public override Type[] SharedList => new Type[] { typeof(RoyalGuardSurvivalKnife), typeof(ANecromancerShroud), typeof(LieutenantOfTheBritannianRoyalGuard) };
|
||||
public override Type[] DecorativeList => new Type[] { typeof( LavaTile ), typeof( DemonSkull ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
public override string DefaultName => "Semidar";
|
||||
|
||||
|
|
|
|||
|
|
@ -8,16 +8,16 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Serado : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Power; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Power;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( Pacify ) }; } }
|
||||
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[] DecorativeList{ get{ return new Type[] { typeof( Futon ), typeof( SwampTile ) }; } }
|
||||
public override Type[] DecorativeList => new Type[] { typeof( Futon ), typeof( SwampTile ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.DoubleStrike;
|
||||
|
||||
|
|
@ -68,13 +68,13 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Gems, 6 );
|
||||
}
|
||||
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
public override int TreasureMapLevel => 5;
|
||||
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override double HitPoisonChance{ get{ return 0.8; } }
|
||||
|
||||
public override int Feathers{ get{ return 30; } }
|
||||
public override int Feathers => 30;
|
||||
|
||||
public override bool ShowFameTitle => false;
|
||||
public override bool ClickTitle => false;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace Server.Mobiles
|
|||
public override bool CanFly => true;
|
||||
public override bool Unprovokable => true;
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
public override int TreasureMapLevel => 5;
|
||||
|
||||
public void SpawnPixies( Mobile target )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue