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
|
|
@ -6,15 +6,13 @@ namespace Server.Mobiles
|
|||
[CorpseName( "an arcane daemon corpse" )]
|
||||
public class ArcaneDaemon : BaseCreature
|
||||
{
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ConcussionBlow;
|
||||
}
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.ConcussionBlow;
|
||||
|
||||
public override string DefaultName => "an arcane daemon";
|
||||
|
||||
[Constructible]
|
||||
public ArcaneDaemon() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an arcane daemon";
|
||||
Body = 0x310;
|
||||
BaseSoundID = 0x47D;
|
||||
|
||||
|
|
@ -53,7 +51,7 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.Average, 2 );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public ArcaneDaemon( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -71,4 +69,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue