Replaces corpse name (#23)

This commit is contained in:
Kamron Batman 2018-08-14 23:50:00 +08:00 • committed by GitHub
parent 632e8b4757
commit 6987d0c18e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
367 changed files with 378 additions and 396 deletions

View file

@ -6,9 +6,9 @@ using Server.Factions;
namespace Server.Mobiles
{
[CorpseName( "a wisp corpse" )]
public class DarkWisp : BaseCreature
{
public override string CorpseName => "a wisp corpse";
public override InhumanSpeech SpeechType => InhumanSpeech.Wisp;
public override Ethics.Ethic EthicAllegiance => Ethics.Ethic.Evil;

View file

@ -5,9 +5,9 @@ using Server.Gumps;
namespace Server.Mobiles
{
[CorpseName( "an ethereal warrior corpse" )]
public class EtherealWarrior : BaseCreature
{
public override string CorpseName => "an ethereal warrior corpse";
public override bool InitialInnocent => true;
[Constructible]

View file

@ -5,9 +5,9 @@ using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a pixie corpse" )]
public class Pixie : BaseCreature
{
public override string CorpseName => "a pixie corpse";
public override bool InitialInnocent => true;
[Constructible]

View file

@ -4,9 +4,9 @@ using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a wisp corpse" )]
public class ShadowWisp : BaseCreature
{
public override string CorpseName => "a wisp corpse";
public override string DefaultName => "a shadow wisp";
[Constructible]

View file

@ -6,9 +6,9 @@ using Server.Factions;
namespace Server.Mobiles
{
[CorpseName( "a wisp corpse" )]
public class Wisp : BaseCreature
{
public override string CorpseName => "a wisp corpse";
public override InhumanSpeech SpeechType => InhumanSpeech.Wisp;
public override Faction FactionAllegiance => CouncilOfMages.Instance;

View file

@ -2,9 +2,9 @@
namespace Server.Mobiles
{
[CorpseName( "an animated weapon corpse" )]
public class AnimatedWeapon : BaseCreature
{
public override string CorpseName => "an animated weapon corpse";
public override bool DeleteCorpseOnDeath => true;
public override bool IsHouseSummonable => true;

View file

@ -5,9 +5,9 @@ using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a blade spirit corpse" )]
public class BladeSpirits : BaseCreature
{
public override string CorpseName => "a blade spirit corpse";
public override bool DeleteCorpseOnDeath => Core.AOS;
public override bool IsHouseSummonable => true;

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a centaur corpse" )]
public class Centaur : BaseCreature
{
public override string CorpseName => "a centaur corpse";
[Constructible]
public Centaur() : base( AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{

View file

@ -5,9 +5,9 @@ using System.Collections;
namespace Server.Mobiles
{
[CorpseName( "an energy vortex corpse" )]
public class EnergyVortex : BaseCreature
{
public override string CorpseName => "an energy vortex corpse";
public override bool DeleteCorpseOnDeath => Summoned;
public override bool AlwaysMurderer => true; // Or Llama vortices will appear gray.

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a frost ooze corpse" )]
public class FrostOoze : BaseCreature
{
public override string CorpseName => "a frost ooze corpse";
public override string DefaultName => "a frost ooze";
[Constructible]

View file

@ -4,9 +4,9 @@ using Server.Network;
namespace Server.Mobiles
{
[CorpseName( "a golem corpse" )]
public class Golem : BaseCreature
{
public override string CorpseName => "a golem corpse";
private bool m_Stunning;
public override bool IsScaredOfScaryThings => false;

View file

@ -6,9 +6,9 @@ using Server.Network;
namespace Server.Mobiles
{
[CorpseName( "a plague beast corpse" )]
public class PlagueBeast : BaseCreature, IDevourer
{
public override string CorpseName => "a plague beast corpse";
private int m_DevourTotal;
private int m_DevourGoal;
private bool m_HasMetalChest = false;

View file

@ -4,9 +4,9 @@ using Server.Network;
namespace Server.Mobiles
{
[CorpseName( "a plague beast lord corpse" )]
public class PlagueBeastLord : BaseCreature, ICarvable, IScissorable
{
public override string CorpseName => "a plague beast lord corpse";
public override Poison PoisonImmune => Poison.Lethal;
private Mobile m_OpenedBy;

View file

@ -7,9 +7,9 @@ using Server.ContextMenus;
namespace Server.Mobiles
{
[CorpseName( "a plague spawn corpse" )]
public class PlagueSpawn : BaseCreature
{
public override string CorpseName => "a plague spawn corpse";
private Mobile m_Owner;
private DateTime m_ExpireTime;

View file

@ -4,9 +4,9 @@ using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a sand vortex corpse" )]
public class SandVortex : BaseCreature
{
public override string CorpseName => "a sand vortex corpse";
public override string DefaultName => "a sand vortex";
[Constructible]

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a slimey corpse" )]
public class Slime : BaseCreature
{
public override string CorpseName => "a slimey corpse";
public override string DefaultName => "a slime";
[Constructible]