Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -57,30 +57,15 @@ namespace Server.Mobiles
|
|||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel => 5;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x19D;
|
||||
}
|
||||
public override int GetIdleSound() => 0x19D;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x175;
|
||||
}
|
||||
public override int GetAngerSound() => 0x175;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x108;
|
||||
}
|
||||
public override int GetDeathSound() => 0x108;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0xE2;
|
||||
}
|
||||
public override int GetAttackSound() => 0xE2;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x28B;
|
||||
}
|
||||
public override int GetHurtSound() => 0x28B;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,10 +50,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ConcussionBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ConcussionBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -87,20 +87,11 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x423;
|
||||
}
|
||||
public override int GetDeathSound() => 0x423;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x23B;
|
||||
}
|
||||
public override int GetAttackSound() => 0x23B;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x140;
|
||||
}
|
||||
public override int GetHurtSound() => 0x140;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -54,10 +54,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int Meat => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.WhirlwindAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.WhirlwindAttack;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -45,10 +45,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a chaos daemon";
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,10 +56,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool AlwaysMurderer => true;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
public override int GetAttackSound() => -1;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -45,30 +45,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a horde minion corpse";
|
||||
public override string DefaultName => "a horde minion";
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 338;
|
||||
}
|
||||
public override int GetIdleSound() => 338;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 338;
|
||||
}
|
||||
public override int GetAngerSound() => 338;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 338;
|
||||
}
|
||||
public override int GetDeathSound() => 338;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 406;
|
||||
}
|
||||
public override int GetAttackSound() => 406;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 194;
|
||||
}
|
||||
public override int GetHurtSound() => 194;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -90,20 +90,11 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 1);
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x423;
|
||||
}
|
||||
public override int GetDeathSound() => 0x423;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x23B;
|
||||
}
|
||||
public override int GetAttackSound() => 0x23B;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x140;
|
||||
}
|
||||
public override int GetHurtSound() => 0x140;
|
||||
|
||||
public override void OnGaveMeleeAttack(Mobile defender)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -100,29 +100,17 @@ namespace Server.Mobiles
|
|||
m_Set.Add(killer);
|
||||
}
|
||||
|
||||
public static bool IsInsideKhaldun(Mobile from)
|
||||
{
|
||||
return from?.Region?.IsPartOf("Khaldun") == true;
|
||||
}
|
||||
public static bool IsInsideKhaldun(Mobile from) => from?.Region?.IsPartOf("Khaldun") == true;
|
||||
|
||||
public override void DisplayPaperdollTo(Mobile to)
|
||||
{
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x1BF;
|
||||
}
|
||||
public override int GetIdleSound() => 0x1BF;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x107;
|
||||
}
|
||||
public override int GetAngerSound() => 0x107;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xFD;
|
||||
}
|
||||
public override int GetDeathSound() => 0xFD;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -75,25 +75,13 @@ namespace Server.Mobiles
|
|||
public override bool AlwaysMurderer => true;
|
||||
public override bool Unprovokable => true;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x184;
|
||||
}
|
||||
public override int GetIdleSound() => 0x184;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x286;
|
||||
}
|
||||
public override int GetAngerSound() => 0x286;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x288;
|
||||
}
|
||||
public override int GetDeathSound() => 0x288;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x19F;
|
||||
}
|
||||
public override int GetHurtSound() => 0x19F;
|
||||
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -84,25 +84,13 @@ namespace Server.Mobiles
|
|||
public override bool Unprovokable => true;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x184;
|
||||
}
|
||||
public override int GetIdleSound() => 0x184;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x286;
|
||||
}
|
||||
public override int GetAngerSound() => 0x286;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x288;
|
||||
}
|
||||
public override int GetDeathSound() => 0x288;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x19F;
|
||||
}
|
||||
public override int GetHurtSound() => 0x19F;
|
||||
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,10 +44,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ConcussionBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ConcussionBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,20 +68,11 @@ namespace Server.Mobiles
|
|||
list.RemoveAt(i--);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x107;
|
||||
}
|
||||
public override int GetIdleSound() => 0x107;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x1BF;
|
||||
}
|
||||
public override int GetAngerSound() => 0x1BF;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xFD;
|
||||
}
|
||||
public override int GetDeathSound() => 0xFD;
|
||||
|
||||
public override bool IsEnemy(Mobile m)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,30 +56,15 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool CanRummageCorpses => true;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x37A;
|
||||
}
|
||||
public override int GetIdleSound() => 0x37A;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x379;
|
||||
}
|
||||
public override int GetAngerSound() => 0x379;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x381;
|
||||
}
|
||||
public override int GetDeathSound() => 0x381;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x37F;
|
||||
}
|
||||
public override int GetAttackSound() => 0x37F;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x380;
|
||||
}
|
||||
public override int GetHurtSound() => 0x380;
|
||||
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -60,15 +60,9 @@ namespace Server.Mobiles
|
|||
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x200;
|
||||
}
|
||||
public override int GetIdleSound() => 0x200;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x56;
|
||||
}
|
||||
public override int GetAngerSound() => 0x56;
|
||||
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue