Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -7,12 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a Miasma corpse" )]
|
||||
public class Miasma : Scorpion
|
||||
{
|
||||
public override string DefaultName => "Miasma";
|
||||
|
||||
[Constructible]
|
||||
public Miasma()
|
||||
{
|
||||
IsParagon = true;
|
||||
|
||||
Name = "Miasma";
|
||||
Hue = 0x8FD;
|
||||
|
||||
SetStr( 255, 847 );
|
||||
|
|
@ -47,8 +48,8 @@ namespace Server.Mobiles
|
|||
public override double WeaponAbilityChance { get { return 0.75; } }
|
||||
public override double HitPoisonChance { get { return 0.35; } }
|
||||
public override Poison HitPoison { get { return ( Poison.Lethal ); } }
|
||||
public override bool HasManaOveride { get { return true; } }
|
||||
public override bool GivesMLMinorArtifact { get { return true; } }
|
||||
public override bool HasManaOveride => true;
|
||||
public override bool GivesMLMinorArtifact => true;
|
||||
public override int TreasureMapLevel { get { return 5; } }
|
||||
|
||||
public override void GenerateLoot()
|
||||
|
|
@ -56,10 +57,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.UltraRich, 4 );
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.MortalStrike;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
||||
|
||||
/*
|
||||
// TODO: uncomment once added
|
||||
|
|
|
|||
|
|
@ -10,12 +10,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a Pyre corpse" )]
|
||||
public class Pyre : Phoenix
|
||||
{
|
||||
public override string DefaultName => "Pyre";
|
||||
|
||||
[Constructible]
|
||||
public Pyre()
|
||||
{
|
||||
IsParagon = true;
|
||||
|
||||
Name = "Pyre";
|
||||
Hue = 0x489;
|
||||
|
||||
FightMode = FightMode.Closest;
|
||||
|
|
@ -61,9 +62,9 @@ namespace Server.Mobiles
|
|||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
|
||||
public override bool GivesMLMinorArtifact{ get{ return true; } }
|
||||
public override bool GivesMLMinorArtifact => true;
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
public override bool HasAura{ get{ return true; } }
|
||||
public override bool HasAura => true;
|
||||
|
||||
public Pyre( Serial serial )
|
||||
: base( serial )
|
||||
|
|
|
|||
|
|
@ -7,12 +7,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a Rend corpse" )]
|
||||
public class Rend : Reptalon
|
||||
{
|
||||
public override string DefaultName => "Rend";
|
||||
|
||||
[Constructible]
|
||||
public Rend()
|
||||
{
|
||||
IsParagon = true;
|
||||
|
||||
Name = "Rend";
|
||||
Hue = 0x455;
|
||||
|
||||
SetStr( 1261, 1284 );
|
||||
|
|
@ -55,7 +56,7 @@ namespace Server.Mobiles
|
|||
return WeaponAbility.BleedAttack;
|
||||
}
|
||||
|
||||
public override bool GivesMLMinorArtifact{ get{ return true; } }
|
||||
public override bool GivesMLMinorArtifact => true;
|
||||
|
||||
public Rend( Serial serial )
|
||||
: base( serial )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue