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

@ -47,7 +47,7 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.4 )
if (Utility.RandomDouble() < 0.4)
c.DropItem( new ScatteredCrystals() );
}
*/
@ -79,4 +79,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -53,10 +53,10 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.75 )
if (Utility.RandomDouble() < 0.75)
c.DropItem( new CrystallineFragments() );
if ( Utility.RandomDouble() < 0.07 )
if (Utility.RandomDouble() < 0.07)
c.DropItem( new PiecesOfCrystal() );
}
*/
@ -68,7 +68,7 @@ namespace Server.Mobiles
{
AddLoot(LootPack.FilthyRich, 4);
// TODO: uncomment once added
//AddLoot( LootPack.Parrot );
// AddLoot( LootPack.Parrot );
AddLoot(LootPack.Gems);
}
@ -95,35 +95,35 @@ namespace Server.Mobiles
switch (Utility.Random(3))
{
case 0:
{
Say(1042156); // I can grant life, and I can sap it as easily.
PlaySound(0x1E6);
{
Say(1042156); // I can grant life, and I can sap it as easily.
PlaySound(0x1E6);
toDrain = Utility.RandomMinMax(3, 6);
Hits += toDrain;
m.Hits -= toDrain;
break;
}
toDrain = Utility.RandomMinMax(3, 6);
Hits += toDrain;
m.Hits -= toDrain;
break;
}
case 1:
{
Say(1042157); // You'll go nowhere, unless I deem it should be so.
PlaySound(0x1DF);
{
Say(1042157); // You'll go nowhere, unless I deem it should be so.
PlaySound(0x1DF);
toDrain = Utility.RandomMinMax(10, 25);
Stam += toDrain;
m.Stam -= toDrain;
break;
}
toDrain = Utility.RandomMinMax(10, 25);
Stam += toDrain;
m.Stam -= toDrain;
break;
}
case 2:
{
Say(1042155); // Your power is mine to use as I will.
PlaySound(0x1F8);
{
Say(1042155); // Your power is mine to use as I will.
PlaySound(0x1F8);
toDrain = Utility.RandomMinMax(15, 25);
Mana += toDrain;
m.Mana -= toDrain;
break;
}
toDrain = Utility.RandomMinMax(15, 25);
Mana += toDrain;
m.Mana -= toDrain;
break;
}
}
}
@ -151,4 +151,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -32,13 +32,13 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.05 )
if (Utility.RandomDouble() < 0.05)
c.DropItem( new CrushedCrystals() );
if ( Utility.RandomDouble() < 0.1 )
if (Utility.RandomDouble() < 0.1)
c.DropItem( new IcyHeart() );
if ( Utility.RandomDouble() < 0.1 )
if (Utility.RandomDouble() < 0.1)
c.DropItem( new LuckyDagger() );
}
*/
@ -65,4 +65,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -51,7 +51,7 @@ namespace Server.Mobiles
{
AddLoot(LootPack.FilthyRich, 2);
// TODO: uncomment once added
//AddLoot( LootPack.Parrot );
// AddLoot( LootPack.Parrot );
}
/*
@ -60,10 +60,10 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.75 )
if (Utility.RandomDouble() < 0.75)
c.DropItem( new CrystallineFragments() );
if ( Utility.RandomDouble() < 0.06 )
if (Utility.RandomDouble() < 0.06)
c.DropItem( new JaggedCrystals() );
}
*/
@ -86,4 +86,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -85,7 +85,7 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.4 )
if (Utility.RandomDouble() < 0.4)
c.DropItem( new ProtectorsEssence() );
}
*/
@ -104,4 +104,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}

View file

@ -47,10 +47,10 @@ namespace Server.Mobiles
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.6 )
if (Utility.RandomDouble() < 0.6)
c.DropItem( new BrokenCrystals() );
if ( Utility.RandomDouble() < 0.1 )
if (Utility.RandomDouble() < 0.1)
c.DropItem( new ParrotItem() );
}
*/
@ -67,7 +67,7 @@ namespace Server.Mobiles
{
AddLoot(LootPack.UltraRich, 2);
// TODO: uncomment once added
//AddLoot( LootPack.Parrot );
// AddLoot( LootPack.Parrot );
}
public override void Serialize(IGenericWriter writer)
@ -84,4 +84,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}