Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -5,8 +5,7 @@ namespace Server.Mobiles
public class CuSidhe : BaseMount
{
[Constructible]
public CuSidhe(string name = null) :
base(name, 277, 0x3E91, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
public CuSidhe(string name = null) : base(name, 277, 0x3E91, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
{
double chance = Utility.RandomDouble() * 23301;
@ -41,8 +40,8 @@ namespace Server.Mobiles
SetSkill(SkillName.Anatomy, 65.5, 69.4);
SetSkill(SkillName.Healing, 72.2, 98.9);
Fame = 5000; //Guessing here
Karma = 5000; //Guessing here
Fame = 5000; // Guessing here
Karma = 5000; // Guessing here
Tamable = true;
ControlSlots = 4;
@ -51,8 +50,8 @@ namespace Server.Mobiles
if (Utility.RandomDouble() < 0.2)
PackItem(new TreasureMap(5, Map.Trammel));
//if ( Utility.RandomDouble() < 0.1 )
//PackItem( new ParrotItem() );
// if (Utility.RandomDouble() < 0.1)
// PackItem( new ParrotItem() );
PackGold(500, 800);

View file

@ -5,7 +5,7 @@ namespace Server.Mobiles
{
public class Ferret : BaseCreature
{
private static string[] m_Vocabulary =
private static readonly string[] m_Vocabulary =
{
"dook",
"dook dook",
@ -77,11 +77,11 @@ namespace Server.Mobiles
Say(m_Vocabulary[Utility.Random(m_Vocabulary.Length)]);
if (to != null && Utility.RandomBool())
Timer.DelayCall(TimeSpan.FromSeconds(Utility.RandomMinMax(5, 8)), delegate { to.Talk(); });
Timer.DelayCall(TimeSpan.FromSeconds(Utility.RandomMinMax(5, 8)), to.Talk);
m_CanTalk = false;
Timer.DelayCall(TimeSpan.FromSeconds(Utility.RandomMinMax(20, 30)), delegate { m_CanTalk = true; });
Timer.DelayCall(TimeSpan.FromSeconds(Utility.RandomMinMax(20, 30)), () => { m_CanTalk = true; });
}
}
@ -101,4 +101,4 @@ namespace Server.Mobiles
m_CanTalk = true;
}
}
}
}

View file

@ -30,8 +30,8 @@ namespace Server.Mobiles
SetSkill(SkillName.MagicResist, 32.8, 54.6);
SetSkill(SkillName.Anatomy, 0, 0);
Fame = 10000; //Guessing here
Karma = 10000; //Guessing here
Fame = 10000; // Guessing here
Karma = 10000; // Guessing here
VirtualArmor = 24;