Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -56,10 +56,7 @@ namespace Server.Mobiles
|
|||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.WhirlwindAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.WhirlwindAttack;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,10 +52,7 @@ namespace Server.Mobiles
|
|||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -194,10 +194,7 @@ namespace Server.Mobiles
|
|||
return chance;
|
||||
}
|
||||
|
||||
public static bool CheckArtifactChance(Mobile boss)
|
||||
{
|
||||
return GetArtifactChance(boss) > Utility.Random(100000);
|
||||
}
|
||||
public static bool CheckArtifactChance(Mobile boss) => GetArtifactChance(boss) > Utility.Random(100000);
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -47,10 +47,7 @@ namespace Server.Mobiles
|
|||
public override bool BleedImmune => true;
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -56,10 +56,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -74,30 +71,15 @@ namespace Server.Mobiles
|
|||
DemonKnight.DistributeArtifact(this);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x34C;
|
||||
}
|
||||
public override int GetAttackSound() => 0x34C;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x354;
|
||||
}
|
||||
public override int GetHurtSound() => 0x354;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x34C;
|
||||
}
|
||||
public override int GetAngerSound() => 0x34C;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x34C;
|
||||
}
|
||||
public override int GetIdleSound() => 0x34C;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x354;
|
||||
}
|
||||
public override int GetDeathSound() => 0x354;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -49,10 +49,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Average);
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 1218;
|
||||
}
|
||||
public override int GetDeathSound() => 1218;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,10 +57,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.MortalStrike : WeaponAbility.BleedAttack;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,10 +50,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,10 +44,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a ravager";
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.Dismount : WeaponAbility.CrushingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,10 +65,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return Utility.RandomBool() ? WeaponAbility.ConcussionBlow : WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => Utility.RandomBool() ? WeaponAbility.ConcussionBlow : WeaponAbility.CrushingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -83,25 +80,13 @@ namespace Server.Mobiles
|
|||
DemonKnight.DistributeArtifact(this);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2CE;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2CE;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x2C1;
|
||||
}
|
||||
public override int GetDeathSound() => 0x2C1;
|
||||
|
||||
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 OnCombatantChange()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -47,25 +47,13 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 443;
|
||||
}
|
||||
public override int GetIdleSound() => 443;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 31;
|
||||
}
|
||||
public override int GetDeathSound() => 31;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 672;
|
||||
}
|
||||
public override int GetAttackSound() => 672;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -47,10 +47,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Poor);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x29B;
|
||||
}
|
||||
public override int GetIdleSound() => 0x29B;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.MortalStrike;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,30 +76,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "an ant lion corpse";
|
||||
public override string DefaultName => "an ant lion";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x5A;
|
||||
}
|
||||
public override int GetAngerSound() => 0x5A;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x5A;
|
||||
}
|
||||
public override int GetIdleSound() => 0x5A;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x164;
|
||||
}
|
||||
public override int GetAttackSound() => 0x164;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x187;
|
||||
}
|
||||
public override int GetHurtSound() => 0x187;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x1BA;
|
||||
}
|
||||
public override int GetDeathSound() => 0x1BA;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -49,30 +49,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a solen infiltrator corpse";
|
||||
public override string DefaultName => "a black solen infiltrator";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetAngerSound() => 0x259;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetIdleSound() => 0x259;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x195;
|
||||
}
|
||||
public override int GetAttackSound() => 0x195;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x250;
|
||||
}
|
||||
public override int GetHurtSound() => 0x250;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x25B;
|
||||
}
|
||||
public override int GetDeathSound() => 0x25B;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -49,30 +49,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a solen infiltrator corpse";
|
||||
public override string DefaultName => "a black solen infiltrator";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetAngerSound() => 0xB5;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetIdleSound() => 0xB5;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x289;
|
||||
}
|
||||
public override int GetAttackSound() => 0x289;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0xBC;
|
||||
}
|
||||
public override int GetHurtSound() => 0xBC;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xE4;
|
||||
}
|
||||
public override int GetDeathSound() => 0xE4;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -55,30 +55,15 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a black solen queen";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetAngerSound() => 0x259;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetIdleSound() => 0x259;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x195;
|
||||
}
|
||||
public override int GetAttackSound() => 0x195;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x250;
|
||||
}
|
||||
public override int GetHurtSound() => 0x250;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x25B;
|
||||
}
|
||||
public override int GetDeathSound() => 0x25B;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -55,30 +55,15 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a black solen warrior";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetAngerSound() => 0xB5;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetIdleSound() => 0xB5;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x289;
|
||||
}
|
||||
public override int GetAttackSound() => 0x289;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0xBC;
|
||||
}
|
||||
public override int GetHurtSound() => 0xBC;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xE4;
|
||||
}
|
||||
public override int GetDeathSound() => 0xE4;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,30 +50,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a solen worker corpse";
|
||||
public override string DefaultName => "a black solen worker";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x269;
|
||||
}
|
||||
public override int GetAngerSound() => 0x269;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x269;
|
||||
}
|
||||
public override int GetIdleSound() => 0x269;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x186;
|
||||
}
|
||||
public override int GetAttackSound() => 0x186;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1BE;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1BE;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x8E;
|
||||
}
|
||||
public override int GetDeathSound() => 0x8E;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,30 +48,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a solen infiltrator corpse";
|
||||
public override string DefaultName => "a red solen infiltrator";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetAngerSound() => 0x259;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetIdleSound() => 0x259;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x195;
|
||||
}
|
||||
public override int GetAttackSound() => 0x195;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x250;
|
||||
}
|
||||
public override int GetHurtSound() => 0x250;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x25B;
|
||||
}
|
||||
public override int GetDeathSound() => 0x25B;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,30 +48,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a solen infiltrator corpse";
|
||||
public override string DefaultName => "a red solen infiltrator";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetAngerSound() => 0xB5;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetIdleSound() => 0xB5;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x289;
|
||||
}
|
||||
public override int GetAttackSound() => 0x289;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0xBC;
|
||||
}
|
||||
public override int GetHurtSound() => 0xBC;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xE4;
|
||||
}
|
||||
public override int GetDeathSound() => 0xE4;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -54,30 +54,15 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a red solen queen";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetAngerSound() => 0x259;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x259;
|
||||
}
|
||||
public override int GetIdleSound() => 0x259;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x195;
|
||||
}
|
||||
public override int GetAttackSound() => 0x195;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x250;
|
||||
}
|
||||
public override int GetHurtSound() => 0x250;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x25B;
|
||||
}
|
||||
public override int GetDeathSound() => 0x25B;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,30 +53,15 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a red solen warrior";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetAngerSound() => 0xB5;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0xB5;
|
||||
}
|
||||
public override int GetIdleSound() => 0xB5;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x289;
|
||||
}
|
||||
public override int GetAttackSound() => 0x289;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0xBC;
|
||||
}
|
||||
public override int GetHurtSound() => 0xBC;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0xE4;
|
||||
}
|
||||
public override int GetDeathSound() => 0xE4;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -49,30 +49,15 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a solen worker corpse";
|
||||
public override string DefaultName => "a red solen worker";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x269;
|
||||
}
|
||||
public override int GetAngerSound() => 0x269;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x269;
|
||||
}
|
||||
public override int GetIdleSound() => 0x269;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x186;
|
||||
}
|
||||
public override int GetAttackSound() => 0x186;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1BE;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1BE;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x8E;
|
||||
}
|
||||
public override int GetDeathSound() => 0x8E;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -99,35 +99,17 @@ namespace Server.Mobiles
|
|||
base.OnDoubleClick(from);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x577;
|
||||
}
|
||||
public override int GetIdleSound() => 0x577;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x576;
|
||||
}
|
||||
public override int GetAttackSound() => 0x576;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x578;
|
||||
}
|
||||
public override int GetAngerSound() => 0x578;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x576;
|
||||
}
|
||||
public override int GetHurtSound() => 0x576;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x579;
|
||||
}
|
||||
public override int GetDeathSound() => 0x579;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,10 +66,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,10 +70,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -66,10 +66,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.WhirlwindAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.WhirlwindAttack;
|
||||
|
||||
public override void OnDeath(Container c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,10 +61,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.MortalStrike;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
||||
|
||||
public override void OnDeath(Container c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -51,10 +51,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.FilthyRich, 4);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ArmorIgnore;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ArmorIgnore;
|
||||
|
||||
public override void OnDeath(Container c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,30 +52,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.FilthyRich);
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x56d;
|
||||
}
|
||||
public override int GetAngerSound() => 0x56d;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x56b;
|
||||
}
|
||||
public override int GetIdleSound() => 0x56b;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x56c;
|
||||
}
|
||||
public override int GetAttackSound() => 0x56c;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x56c;
|
||||
}
|
||||
public override int GetHurtSound() => 0x56c;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x56e;
|
||||
}
|
||||
public override int GetDeathSound() => 0x56e;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,30 +68,15 @@ namespace Server.Mobiles
|
|||
* Acid last 10 seconds
|
||||
*/
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x581;
|
||||
}
|
||||
public override int GetAngerSound() => 0x581;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x582;
|
||||
}
|
||||
public override int GetIdleSound() => 0x582;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x580;
|
||||
}
|
||||
public override int GetAttackSound() => 0x580;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x583;
|
||||
}
|
||||
public override int GetHurtSound() => 0x583;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x584;
|
||||
}
|
||||
public override int GetDeathSound() => 0x584;
|
||||
|
||||
public override void OnDamage(int amount, Mobile from, bool willKill)
|
||||
{
|
||||
|
|
@ -101,15 +86,9 @@ namespace Server.Mobiles
|
|||
base.OnDamage(amount, from, willKill);
|
||||
}
|
||||
|
||||
private int RandomPoint(int mid)
|
||||
{
|
||||
return mid + Utility.RandomMinMax(-2, 2);
|
||||
}
|
||||
private int RandomPoint(int mid) => mid + Utility.RandomMinMax(-2, 2);
|
||||
|
||||
public virtual Point3D GetSpawnPosition(int range)
|
||||
{
|
||||
return GetSpawnPosition(Location, Map, range);
|
||||
}
|
||||
public virtual Point3D GetSpawnPosition(int range) => GetSpawnPosition(Location, Map, range);
|
||||
|
||||
public virtual Point3D GetSpawnPosition(Point3D from, Map map, int range)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -114,11 +114,9 @@ namespace Server.Mobiles
|
|||
PlaySound(0x1D3);
|
||||
}
|
||||
|
||||
public bool IsValidTarget(PlayerMobile m)
|
||||
{
|
||||
return m?.PeacedUntil < DateTime.UtcNow && !m.Hidden && m.AccessLevel == AccessLevel.Player &&
|
||||
CanBeHarmful(m);
|
||||
}
|
||||
public bool IsValidTarget(PlayerMobile m) =>
|
||||
m?.PeacedUntil < DateTime.UtcNow && !m.Hidden && m.AccessLevel == AccessLevel.Player &&
|
||||
CanBeHarmful(m);
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -59,10 +59,7 @@ namespace Server.Mobiles
|
|||
return 0x0;
|
||||
}*/
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x233;
|
||||
}
|
||||
public override int GetAttackSound() => 0x233;
|
||||
|
||||
// TODO: Proper OnDeath Effect
|
||||
|
||||
|
|
|
|||
|
|
@ -48,25 +48,13 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool BleedImmune => true;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 443;
|
||||
}
|
||||
public override int GetIdleSound() => 443;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 31;
|
||||
}
|
||||
public override int GetDeathSound() => 31;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 672;
|
||||
}
|
||||
public override int GetAttackSound() => 672;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a minotaur";
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -59,30 +56,15 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
// Using Tormented Minotaur sounds - Need to veryfy
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x597;
|
||||
}
|
||||
public override int GetAngerSound() => 0x597;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x596;
|
||||
}
|
||||
public override int GetIdleSound() => 0x596;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x599;
|
||||
}
|
||||
public override int GetAttackSound() => 0x599;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x59a;
|
||||
}
|
||||
public override int GetHurtSound() => 0x59a;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x59c;
|
||||
}
|
||||
public override int GetDeathSound() => 0x59c;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a minotaur captain";
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -59,30 +56,15 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
// Using Tormented Minotaur sounds - Need to veryfy
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x597;
|
||||
}
|
||||
public override int GetAngerSound() => 0x597;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x596;
|
||||
}
|
||||
public override int GetIdleSound() => 0x596;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x599;
|
||||
}
|
||||
public override int GetAttackSound() => 0x599;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x59a;
|
||||
}
|
||||
public override int GetHurtSound() => 0x59a;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x59c;
|
||||
}
|
||||
public override int GetDeathSound() => 0x59c;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,10 +48,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override string DefaultName => "a minotaur scout";
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
@ -59,30 +56,15 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
// Using Tormented Minotaur sounds - Need to veryfy
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x597;
|
||||
}
|
||||
public override int GetAngerSound() => 0x597;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x596;
|
||||
}
|
||||
public override int GetIdleSound() => 0x596;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x599;
|
||||
}
|
||||
public override int GetAttackSound() => 0x599;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x59a;
|
||||
}
|
||||
public override int GetHurtSound() => 0x59a;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x59c;
|
||||
}
|
||||
public override int GetDeathSound() => 0x59c;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -45,40 +45,22 @@ namespace Server.Mobiles
|
|||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override int TreasureMapLevel => 3;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.FilthyRich, 10);
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x596;
|
||||
}
|
||||
public override int GetDeathSound() => 0x596;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x597;
|
||||
}
|
||||
public override int GetAttackSound() => 0x597;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x598;
|
||||
}
|
||||
public override int GetIdleSound() => 0x598;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x599;
|
||||
}
|
||||
public override int GetAngerSound() => 0x599;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x59A;
|
||||
}
|
||||
public override int GetHurtSound() => 0x59A;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -91,10 +91,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 4);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.MortalStrike;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -74,10 +74,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 8);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,10 +57,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.AosUltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -55,10 +55,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 2);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -127,30 +127,15 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x2F6;
|
||||
}
|
||||
public override int GetAttackSound() => 0x2F6;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x2F7;
|
||||
}
|
||||
public override int GetDeathSound() => 0x2F7;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x2F8;
|
||||
}
|
||||
public override int GetAngerSound() => 0x2F8;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2F9;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2F9;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2FA;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2FA;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,15 +68,9 @@ namespace Server.Mobiles
|
|||
}
|
||||
*/
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x15;
|
||||
}
|
||||
public override int GetAngerSound() => 0x15;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x28;
|
||||
}
|
||||
public override int GetAttackSound() => 0x28;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -189,30 +189,15 @@ namespace Server.Mobiles
|
|||
base.OnDamage(amount, from, willKill);
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x581;
|
||||
}
|
||||
public override int GetAngerSound() => 0x581;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x582;
|
||||
}
|
||||
public override int GetIdleSound() => 0x582;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x580;
|
||||
}
|
||||
public override int GetAttackSound() => 0x580;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x583;
|
||||
}
|
||||
public override int GetHurtSound() => 0x583;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x584;
|
||||
}
|
||||
public override int GetDeathSound() => 0x584;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -247,10 +232,7 @@ namespace Server.Mobiles
|
|||
from.Send(SpeedControl.Disable);
|
||||
}
|
||||
|
||||
public static bool UnderCacophonicAttack(Mobile from)
|
||||
{
|
||||
return m_Table.Contains(from);
|
||||
}
|
||||
public static bool UnderCacophonicAttack(Mobile from) => m_Table.Contains(from);
|
||||
|
||||
public virtual void DropOoze()
|
||||
{
|
||||
|
|
@ -282,15 +264,9 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
private int RandomPoint(int mid)
|
||||
{
|
||||
return mid + Utility.RandomMinMax(-2, 2);
|
||||
}
|
||||
private int RandomPoint(int mid) => mid + Utility.RandomMinMax(-2, 2);
|
||||
|
||||
public virtual Point3D GetSpawnPosition(int range)
|
||||
{
|
||||
return GetSpawnPosition(Location, Map, range);
|
||||
}
|
||||
public virtual Point3D GetSpawnPosition(int range) => GetSpawnPosition(Location, Map, range);
|
||||
|
||||
public virtual Point3D GetSpawnPosition(Point3D from, Map map, int range)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -84,10 +84,7 @@ namespace Server.Mobiles
|
|||
public override bool Unprovokable => true;
|
||||
public override bool Uncalmable => true;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public virtual void PackResources(int amount)
|
||||
{
|
||||
|
|
@ -158,30 +155,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.AosSuperBoss, 5); // Need to verify
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x597;
|
||||
}
|
||||
public override int GetAngerSound() => 0x597;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x596;
|
||||
}
|
||||
public override int GetIdleSound() => 0x596;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x599;
|
||||
}
|
||||
public override int GetAttackSound() => 0x599;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x59a;
|
||||
}
|
||||
public override int GetHurtSound() => 0x59a;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x59c;
|
||||
}
|
||||
public override int GetDeathSound() => 0x59c;
|
||||
|
||||
public override void OnGaveMeleeAttack(Mobile defender)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -110,30 +110,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.AosRich, 3);
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x46E;
|
||||
}
|
||||
public override int GetAngerSound() => 0x46E;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x470;
|
||||
}
|
||||
public override int GetIdleSound() => 0x470;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x46D;
|
||||
}
|
||||
public override int GetAttackSound() => 0x46D;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x471;
|
||||
}
|
||||
public override int GetHurtSound() => 0x471;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x46F;
|
||||
}
|
||||
public override int GetDeathSound() => 0x46F;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,10 +70,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 2);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.BleedAttack;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,10 +76,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 2);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ArmorIgnore;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ArmorIgnore;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,10 +61,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,10 +53,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 2);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ParalyzingBlow;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -75,10 +75,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.MortalStrike;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -79,20 +79,11 @@ namespace Server.Mobiles
|
|||
Timer.DelayCall(TimeSpan.FromSeconds(5.0), Delete);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -83,30 +83,15 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x2F8;
|
||||
}
|
||||
public override int GetAngerSound() => 0x2F8;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2F8;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2F8;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return Utility.Random(0x2F5, 2);
|
||||
}
|
||||
public override int GetAttackSound() => Utility.Random(0x2F5, 2);
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2F9;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2F9;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x2F7;
|
||||
}
|
||||
public override int GetDeathSound() => 0x2F7;
|
||||
|
||||
public override void OnGaveMeleeAttack(Mobile defender)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,111 +1,99 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class AnimatedWeapon : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public AnimatedWeapon(Mobile caster, int level)
|
||||
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.3, 0.6)
|
||||
{
|
||||
Body = 692;
|
||||
|
||||
SetStr(10 + level);
|
||||
SetDex(10 + level);
|
||||
SetInt(10);
|
||||
|
||||
SetHits(20 + level * 3 / 2);
|
||||
SetStam(10 + level);
|
||||
SetMana(0);
|
||||
|
||||
if (level >= 120)
|
||||
SetDamage(14, 18);
|
||||
else if (level >= 105)
|
||||
SetDamage(13, 17);
|
||||
else if (level >= 90)
|
||||
SetDamage(12, 15);
|
||||
else if (level >= 75)
|
||||
SetDamage(11, 14);
|
||||
else if (level >= 60)
|
||||
SetDamage(10, 12);
|
||||
else if (level >= 45)
|
||||
SetDamage(9, 11);
|
||||
else if (level >= 30)
|
||||
SetDamage(8, 9);
|
||||
else
|
||||
SetDamage(7, 8);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 60);
|
||||
SetDamageType(ResistanceType.Poison, 20);
|
||||
SetDamageType(ResistanceType.Energy, 20);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 40, 50);
|
||||
SetResistance(ResistanceType.Fire, 30, 40);
|
||||
SetResistance(ResistanceType.Cold, 30, 40);
|
||||
SetResistance(ResistanceType.Poison, 100);
|
||||
SetResistance(ResistanceType.Energy, 20, 30);
|
||||
|
||||
SetSkill(SkillName.MagicResist, level);
|
||||
SetSkill(SkillName.Wrestling, level);
|
||||
SetSkill(SkillName.Anatomy, caster.Skills.Anatomy.Value / 2);
|
||||
SetSkill(SkillName.Tactics, caster.Skills.Tactics.Value / 2);
|
||||
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
|
||||
ControlSlots = 4;
|
||||
}
|
||||
|
||||
public AnimatedWeapon(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "an animated weapon corpse";
|
||||
public override bool DeleteCorpseOnDeath => true;
|
||||
public override bool IsHouseSummonable => true;
|
||||
|
||||
public override double DispelDifficulty => 0.0;
|
||||
public override double DispelFocus => 20.0;
|
||||
|
||||
public override string DefaultName => "an animated weapon";
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override double GetFightModeRanking(Mobile m, FightMode acqType, bool bPlayerOnly)
|
||||
{
|
||||
return m.Str / Math.Max(GetDistanceToSqrt(m), 1.0);
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x23A;
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x3B8;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x23A;
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
/*int version = */
|
||||
reader.ReadInt();
|
||||
}
|
||||
}
|
||||
using System;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class AnimatedWeapon : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public AnimatedWeapon(Mobile caster, int level)
|
||||
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.3, 0.6)
|
||||
{
|
||||
Body = 692;
|
||||
|
||||
SetStr(10 + level);
|
||||
SetDex(10 + level);
|
||||
SetInt(10);
|
||||
|
||||
SetHits(20 + level * 3 / 2);
|
||||
SetStam(10 + level);
|
||||
SetMana(0);
|
||||
|
||||
if (level >= 120)
|
||||
SetDamage(14, 18);
|
||||
else if (level >= 105)
|
||||
SetDamage(13, 17);
|
||||
else if (level >= 90)
|
||||
SetDamage(12, 15);
|
||||
else if (level >= 75)
|
||||
SetDamage(11, 14);
|
||||
else if (level >= 60)
|
||||
SetDamage(10, 12);
|
||||
else if (level >= 45)
|
||||
SetDamage(9, 11);
|
||||
else if (level >= 30)
|
||||
SetDamage(8, 9);
|
||||
else
|
||||
SetDamage(7, 8);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 60);
|
||||
SetDamageType(ResistanceType.Poison, 20);
|
||||
SetDamageType(ResistanceType.Energy, 20);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 40, 50);
|
||||
SetResistance(ResistanceType.Fire, 30, 40);
|
||||
SetResistance(ResistanceType.Cold, 30, 40);
|
||||
SetResistance(ResistanceType.Poison, 100);
|
||||
SetResistance(ResistanceType.Energy, 20, 30);
|
||||
|
||||
SetSkill(SkillName.MagicResist, level);
|
||||
SetSkill(SkillName.Wrestling, level);
|
||||
SetSkill(SkillName.Anatomy, caster.Skills.Anatomy.Value / 2);
|
||||
SetSkill(SkillName.Tactics, caster.Skills.Tactics.Value / 2);
|
||||
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
|
||||
ControlSlots = 4;
|
||||
}
|
||||
|
||||
public AnimatedWeapon(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "an animated weapon corpse";
|
||||
public override bool DeleteCorpseOnDeath => true;
|
||||
public override bool IsHouseSummonable => true;
|
||||
|
||||
public override double DispelDifficulty => 0.0;
|
||||
public override double DispelFocus => 20.0;
|
||||
|
||||
public override string DefaultName => "an animated weapon";
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override double GetFightModeRanking(Mobile m, FightMode acqType, bool bPlayerOnly) => m.Str / Math.Max(GetDistanceToSqrt(m), 1.0);
|
||||
|
||||
public override int GetAngerSound() => 0x23A;
|
||||
|
||||
public override int GetAttackSound() => 0x3B8;
|
||||
|
||||
public override int GetHurtSound() => 0x23A;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
/*int version = */
|
||||
reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -59,25 +59,13 @@ namespace Server.Mobiles
|
|||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override double GetFightModeRanking(Mobile m, FightMode acqType, bool bPlayerOnly)
|
||||
{
|
||||
return (m.Str + m.Skills.Tactics.Value) / Math.Max(GetDistanceToSqrt(m), 1.0);
|
||||
}
|
||||
public override double GetFightModeRanking(Mobile m, FightMode acqType, bool bPlayerOnly) => (m.Str + m.Skills.Tactics.Value) / Math.Max(GetDistanceToSqrt(m), 1.0);
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x23A;
|
||||
}
|
||||
public override int GetAngerSound() => 0x23A;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x3B8;
|
||||
}
|
||||
public override int GetAttackSound() => 0x3B8;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x23A;
|
||||
}
|
||||
public override int GetHurtSound() => 0x23A;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -69,20 +69,11 @@ namespace Server.Mobiles
|
|||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override double GetFightModeRanking(Mobile m, FightMode acqType, bool bPlayerOnly)
|
||||
{
|
||||
return (m.Int + m.Skills.Magery.Value) / Math.Max(GetDistanceToSqrt(m), 1.0);
|
||||
}
|
||||
public override double GetFightModeRanking(Mobile m, FightMode acqType, bool bPlayerOnly) => (m.Int + m.Skills.Magery.Value) / Math.Max(GetDistanceToSqrt(m), 1.0);
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x15;
|
||||
}
|
||||
public override int GetAngerSound() => 0x15;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x28;
|
||||
}
|
||||
public override int GetAttackSound() => 0x28;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -118,10 +118,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 541;
|
||||
}
|
||||
public override int GetAngerSound() => 541;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
|
|
@ -139,10 +136,7 @@ namespace Server.Mobiles
|
|||
return base.GetDeathSound();
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 562;
|
||||
}
|
||||
public override int GetAttackSound() => 562;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -149,25 +149,13 @@ namespace Server.Mobiles
|
|||
base.OnGotMeleeAttack(attacker);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x1BF;
|
||||
}
|
||||
public override int GetIdleSound() => 0x1BF;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x1C0;
|
||||
}
|
||||
public override int GetAttackSound() => 0x1C0;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1C1;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1C1;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x1C2;
|
||||
}
|
||||
public override int GetDeathSound() => 0x1C2;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -164,40 +164,19 @@ namespace Server.Mobiles
|
|||
Backpack.SendRemovePacket();
|
||||
}
|
||||
|
||||
public override bool CheckNonlocalLift(Mobile from, Item item)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public override bool CheckNonlocalLift(Mobile from, Item item) => true;
|
||||
|
||||
public override bool CheckNonlocalDrop(Mobile from, Item item, Item target)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public override bool CheckNonlocalDrop(Mobile from, Item item, Item target) => true;
|
||||
|
||||
public override bool IsSnoop(Mobile from)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool IsSnoop(Mobile from) => false;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x1BF;
|
||||
}
|
||||
public override int GetIdleSound() => 0x1BF;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x1C0;
|
||||
}
|
||||
public override int GetAttackSound() => 0x1C0;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x1C1;
|
||||
}
|
||||
public override int GetHurtSound() => 0x1C1;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x1C2;
|
||||
}
|
||||
public override int GetDeathSound() => 0x1C2;
|
||||
|
||||
public virtual void OnParalyzed(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -51,10 +51,7 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Average);
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 353;
|
||||
}
|
||||
public override int GetAngerSound() => 353;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -64,15 +64,9 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 5);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2D3;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2D3;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2D1;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,30 +68,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 2);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2C4;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2C4;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x2C0;
|
||||
}
|
||||
public override int GetAttackSound() => 0x2C0;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x2C1;
|
||||
}
|
||||
public override int GetDeathSound() => 0x2C1;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x2C4;
|
||||
}
|
||||
public override int GetAngerSound() => 0x2C4;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2C3;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2C3;
|
||||
|
||||
public override void OnGotMeleeAttack(Mobile attacker)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,15 +65,9 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 5);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2D5;
|
||||
}
|
||||
public override int GetIdleSound() => 0x2D5;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
public override int GetHurtSound() => 0x2D1;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,30 +52,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Meager, 2);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
public override int GetAttackSound() => 916;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
public override int GetAngerSound() => 916;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 917;
|
||||
}
|
||||
public override int GetDeathSound() => 917;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 919;
|
||||
}
|
||||
public override int GetHurtSound() => 919;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 918;
|
||||
}
|
||||
public override int GetIdleSound() => 918;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,30 +53,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.Gems, 2);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
public override int GetAttackSound() => 916;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
public override int GetAngerSound() => 916;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 917;
|
||||
}
|
||||
public override int GetDeathSound() => 917;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 919;
|
||||
}
|
||||
public override int GetHurtSound() => 919;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 918;
|
||||
}
|
||||
public override int GetIdleSound() => 918;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,30 +65,15 @@ namespace Server.Mobiles
|
|||
AddLoot(LootPack.MedScrolls);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 713;
|
||||
}
|
||||
public override int GetAttackSound() => 713;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 718;
|
||||
}
|
||||
public override int GetAngerSound() => 718;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 716;
|
||||
}
|
||||
public override int GetDeathSound() => 716;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 721;
|
||||
}
|
||||
public override int GetHurtSound() => 721;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 725;
|
||||
}
|
||||
public override int GetIdleSound() => 725;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -114,30 +114,15 @@ namespace Server.Mobiles
|
|||
m_Table[defender] = timer;
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x4DE;
|
||||
}
|
||||
public override int GetAngerSound() => 0x4DE;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x4DD;
|
||||
}
|
||||
public override int GetIdleSound() => 0x4DD;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x4DC;
|
||||
}
|
||||
public override int GetAttackSound() => 0x4DC;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x4DF;
|
||||
}
|
||||
public override int GetHurtSound() => 0x4DF;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x4DB;
|
||||
}
|
||||
public override int GetDeathSound() => 0x4DB;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -76,35 +76,17 @@ namespace Server.Mobiles
|
|||
|
||||
public override int Hides => 8;
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.CrushingBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x4F3;
|
||||
}
|
||||
public override int GetAngerSound() => 0x4F3;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x4F2;
|
||||
}
|
||||
public override int GetIdleSound() => 0x4F2;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x4F1;
|
||||
}
|
||||
public override int GetAttackSound() => 0x4F1;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x4F4;
|
||||
}
|
||||
public override int GetHurtSound() => 0x4F4;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x4F0;
|
||||
}
|
||||
public override int GetDeathSound() => 0x4F0;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -75,30 +75,15 @@ namespace Server.Mobiles
|
|||
public override string DefaultName => "a deathwatch beetle hatchling";
|
||||
public override int Hides => 8;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x4F3;
|
||||
}
|
||||
public override int GetAngerSound() => 0x4F3;
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x4F2;
|
||||
}
|
||||
public override int GetIdleSound() => 0x4F2;
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x4F1;
|
||||
}
|
||||
public override int GetAttackSound() => 0x4F1;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x4F4;
|
||||
}
|
||||
public override int GetHurtSound() => 0x4F4;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x4F0;
|
||||
}
|
||||
public override int GetDeathSound() => 0x4F0;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -146,10 +146,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsFanned(Mobile m)
|
||||
{
|
||||
return m_Table.Contains(m);
|
||||
}
|
||||
public bool IsFanned(Mobile m) => m_Table.Contains(m);
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue