ModernUO/Scripts/Mobiles/Monsters/Humanoid/Melee/SpawnedOrcishLord.cs
Kamron Batman 20ae1b3989
Fixes lots more spelling errors (#5)
* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
2018-02-20 16:01:41 -08:00

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
{
[Constructible]
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;
}
}
}