65 lines
1.8 KiB
C#
65 lines
1.8 KiB
C#
// Golden thread for Scottie's Quest
|
|
// By GreyWolf
|
|
//
|
|
// Created Oct 6, 2007
|
|
|
|
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "Scottie's Wolf corpse" )]
|
|
public class ScottiesWolf : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public ScottiesWolf() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
this.Name = "Scottie's Wolf";
|
|
this.Hue = 2213;
|
|
this.Body = 23;
|
|
this.BaseSoundID = 229;
|
|
|
|
this.SetStr( 90, 111 );
|
|
this.SetDex( 90, 104 );
|
|
this.SetInt( 30, 40 );
|
|
this.SetHits( 80, 120 );
|
|
this.SetDamage( 5, 24 );
|
|
this.SetDamageType( ResistanceType.Physical, 100 );
|
|
this.SetResistance( ResistanceType.Physical, 15 );
|
|
this.SetResistance( ResistanceType.Cold, 5 );
|
|
this.SetResistance( ResistanceType.Fire, 2 );
|
|
this.SetResistance( ResistanceType.Energy, 4 );
|
|
this.SetResistance( ResistanceType.Poison, 3 );
|
|
this.Fame = 3500;
|
|
this.Karma = -3500;
|
|
this.VirtualArmor = 25;
|
|
}
|
|
|
|
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
|
|
|
|
public override void OnDeath( Container c )
|
|
{
|
|
base.OnDeath( c );
|
|
|
|
c.DropItem( new GoldenThread());
|
|
}
|
|
|
|
public ScottiesWolf(Serial serial) : base(serial)
|
|
{
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
} |