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
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName("a fetid essence corpse")]
|
||||
public class FetidEssence : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a fetid essence";
|
||||
|
||||
[Constructible]
|
||||
public FetidEssence () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a fetid essence";
|
||||
Body = 273;
|
||||
|
||||
SetStr( 101, 150 );
|
||||
|
|
@ -49,8 +50,8 @@ namespace Server.Mobiles
|
|||
AddLoot( LootPack.FilthyRich );
|
||||
}
|
||||
|
||||
public override Poison HitPoison{ get{ return Poison.Deadly; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ namespace Server.Mobiles
|
|||
[CorpseName("an interred grizzle corpse")]
|
||||
public class InterredGrizzle : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a interred grizzle";
|
||||
|
||||
[Constructible]
|
||||
public InterredGrizzle () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an interred grizzle";
|
||||
Body = 259;
|
||||
|
||||
SetStr( 451, 500 );
|
||||
|
|
@ -57,7 +58,7 @@ namespace Server.Mobiles
|
|||
* Damage is resistable (physical)
|
||||
* Acid last 10 seconds
|
||||
*/
|
||||
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x581;
|
||||
|
|
|
|||
|
|
@ -6,17 +6,18 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a dryad's corpse" )]
|
||||
public class MLDryad : BaseCreature
|
||||
{
|
||||
public override bool InitialInnocent { get { return true; } }
|
||||
public override bool InitialInnocent => true;
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get { return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override string DefaultName => "a dryad";
|
||||
|
||||
[Constructible]
|
||||
public MLDryad() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a dryad";
|
||||
Body = 266;
|
||||
BaseSoundID = 0x57B;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace Server.Mobiles
|
|||
[CorpseName( "a satyr's corpse" )]
|
||||
public class Satyr : BaseCreature
|
||||
{
|
||||
public override string DefaultName => "a satyr";
|
||||
|
||||
[Constructible]
|
||||
public Satyr() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a satyr";
|
||||
Body = 271;
|
||||
BaseSoundID = 0x586;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue