Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -76,30 +76,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Rich);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x218;
|
||||
}
|
||||
public override int GetIdleSound() => 0x218;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x26C;
|
||||
}
|
||||
public override int GetAngerSound() => 0x26C;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x211;
|
||||
}
|
||||
public override int GetDeathSound() => 0x211;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x232;
|
||||
}
|
||||
public override int GetAttackSound() => 0x232;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x140;
|
||||
}
|
||||
public override int GetHurtSound() => 0x140;
|
||||
|
||||
public override void AlterMeleeDamageFrom(Mobile from, ref int damage)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,30 +66,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Rich);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0xFD;
|
||||
}
|
||||
public override int GetIdleSound() => 0xFD;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x26C;
|
||||
}
|
||||
public override int GetAngerSound() => 0x26C;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x211;
|
||||
}
|
||||
public override int GetDeathSound() => 0x211;
|
||||
|
||||
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 AlterMeleeDamageFrom(Mobile from, ref int damage)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -155,25 +155,13 @@ namespace Server.Mobiles
|
|||
public override bool AlwaysMurderer => true;
|
||||
public override bool ShowFameTitle => false;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2CE;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2CE;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x2CC;
|
||||
}
|
||||
public override int GetDeathSound() => 0x2CC;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2D1;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x2C8;
|
||||
}
|
||||
public override int GetAttackSound() => 0x2C8;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -192,25 +192,13 @@ namespace Server.Mobiles
|
|||
public override bool AlwaysMurderer => true;
|
||||
public override bool ShowFameTitle => false;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2CE;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2CE;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x2CC;
|
||||
}
|
||||
public override int GetDeathSound() => 0x2CC;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2D1;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x2C8;
|
||||
}
|
||||
public override int GetAttackSound() => 0x2C8;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -90,25 +90,13 @@ namespace Server.Mobiles
|
|||
base.OnDamage(amount, from, willKill);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x262;
|
||||
}
|
||||
public override int GetIdleSound() => 0x262;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x263;
|
||||
}
|
||||
public override int GetAngerSound() => 0x263;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1D0;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1D0;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x28D;
|
||||
}
|
||||
public override int GetDeathSound() => 0x28D;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -85,25 +85,13 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.MedScrolls, 2);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x1AC;
|
||||
}
|
||||
public override int GetIdleSound() => 0x1AC;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x1CD;
|
||||
}
|
||||
public override int GetAngerSound() => 0x1CD;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1D0;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1D0;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x28D;
|
||||
}
|
||||
public override int GetDeathSound() => 0x28D;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,25 +61,13 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 1);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x1AC;
|
||||
}
|
||||
public override int GetIdleSound() => 0x1AC;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x1CD;
|
||||
}
|
||||
public override int GetAngerSound() => 0x1CD;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1D0;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1D0;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x28D;
|
||||
}
|
||||
public override int GetDeathSound() => 0x28D;
|
||||
|
||||
public override void OnGaveMeleeAttack(Mobile defender)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class EnragedRabbit : BaseEnraged
|
||||
{
|
||||
public EnragedRabbit(Mobile summoner) : base(summoner)
|
||||
{
|
||||
Body = 0xcd;
|
||||
}
|
||||
public EnragedRabbit(Mobile summoner) : base(summoner) => Body = 0xcd;
|
||||
|
||||
public EnragedRabbit(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -16,20 +13,11 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a hare corpse";
|
||||
public override string DefaultName => "a rabbit";
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0xC9;
|
||||
}
|
||||
public override int GetAttackSound() => 0xC9;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0xCA;
|
||||
}
|
||||
public override int GetHurtSound() => 0xCA;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xCB;
|
||||
}
|
||||
public override int GetDeathSound() => 0xCB;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -46,10 +34,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class EnragedHart : BaseEnraged
|
||||
{
|
||||
public EnragedHart(Mobile summoner) : base(summoner)
|
||||
{
|
||||
Body = 0xea;
|
||||
}
|
||||
public EnragedHart(Mobile summoner) : base(summoner) => Body = 0xea;
|
||||
|
||||
public EnragedHart(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -58,20 +43,11 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a deer corpse";
|
||||
public override string DefaultName => "a great hart";
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x82;
|
||||
}
|
||||
public override int GetAttackSound() => 0x82;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x83;
|
||||
}
|
||||
public override int GetHurtSound() => 0x83;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x84;
|
||||
}
|
||||
public override int GetDeathSound() => 0x84;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -88,10 +64,7 @@ namespace Server.Mobiles
|
|||
|
||||
public class EnragedHind : BaseEnraged
|
||||
{
|
||||
public EnragedHind(Mobile summoner) : base(summoner)
|
||||
{
|
||||
Body = 0xed;
|
||||
}
|
||||
public EnragedHind(Mobile summoner) : base(summoner) => Body = 0xed;
|
||||
|
||||
public EnragedHind(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -100,20 +73,11 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a deer corpse";
|
||||
public override string DefaultName => "a hind";
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x82;
|
||||
}
|
||||
public override int GetAttackSound() => 0x82;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x83;
|
||||
}
|
||||
public override int GetHurtSound() => 0x83;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x84;
|
||||
}
|
||||
public override int GetDeathSound() => 0x84;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -107,20 +107,11 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Meager);
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x14D;
|
||||
}
|
||||
public override int GetHurtSound() => 0x14D;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x314;
|
||||
}
|
||||
public override int GetDeathSound() => 0x314;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x75;
|
||||
}
|
||||
public override int GetAttackSound() => 0x75;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,20 +66,11 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.HighScrolls, 2);
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x167;
|
||||
}
|
||||
public override int GetHurtSound() => 0x167;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xBC;
|
||||
}
|
||||
public override int GetDeathSound() => 0xBC;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x28B;
|
||||
}
|
||||
public override int GetAttackSound() => 0x28B;
|
||||
|
||||
private void DoAreaLeech()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,20 +68,11 @@ namespace Server.Mobiles
|
|||
// TODO: Daemon bone ...
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x14D;
|
||||
}
|
||||
public override int GetHurtSound() => 0x14D;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x314;
|
||||
}
|
||||
public override int GetDeathSound() => 0x314;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x75;
|
||||
}
|
||||
public override int GetAttackSound() => 0x75;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
@ -157,10 +148,7 @@ namespace Server.Mobiles
|
|||
base.OnThink();
|
||||
}
|
||||
|
||||
public static bool UnderEffect(Mobile m)
|
||||
{
|
||||
return m_Table.ContainsKey(m);
|
||||
}
|
||||
public static bool UnderEffect(Mobile m) => m_Table.ContainsKey(m);
|
||||
|
||||
public static void StopEffect(Mobile m, bool message)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,15 +65,9 @@ namespace Server.Mobiles
|
|||
base.OnDamage(amount, from, willKill);
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x156;
|
||||
}
|
||||
public override int GetHurtSound() => 0x156;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x15C;
|
||||
}
|
||||
public override int GetDeathSound() => 0x15C;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue