46 lines
No EOL
847 B
C#
46 lines
No EOL
847 B
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "an orcish corpse" )]
|
|
public class SpawnedOrcishLord : OrcishLord
|
|
{
|
|
[Constructable]
|
|
public SpawnedOrcishLord()
|
|
{
|
|
Container pack = this.Backpack;
|
|
|
|
if ( pack != null )
|
|
pack.Delete();
|
|
|
|
NoKillAwards = true;
|
|
}
|
|
|
|
public SpawnedOrcishLord( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void OnDeath( Container c )
|
|
{
|
|
base.OnDeath( c );
|
|
|
|
c.Delete();
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
writer.Write( (int) 0 );
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
int version = reader.ReadInt();
|
|
NoKillAwards = true;
|
|
}
|
|
}
|
|
} |