using System;
using Server.Items;
using Server.Engines.CannedEvil;
namespace Server.Mobiles
{
[CorpseName("Santa Klauss corpse")]
public class Santa : BaseChampion
{
[Constructable]
public Santa()
: base(AIType.AI_Mage)
{
this.Name = "Santa Klaus";
Body = 0x190;
this.BaseSoundID = 0x568;
this.SetStr(500);
this.SetDex(125);
this.SetInt(100);
this.SetHits(5000);
this.SetMana(1000);
this.SetDamage(5, 6);
this.SetDamageType(ResistanceType.Cold, 100);
this.SetResistance(ResistanceType.Physical, 40);
this.SetResistance(ResistanceType.Fire, 10);
this.SetResistance(ResistanceType.Cold, 90);
this.SetResistance(ResistanceType.Poison, 40);
this.SetResistance(ResistanceType.Energy, 40);
this.SetSkill(SkillName.DetectHidden, 100.0);
this.SetSkill(SkillName.Meditation, 120.0);
this.SetSkill(SkillName.Magery, 120.0);
this.SetSkill(SkillName.EvalInt, 160.0);
this.SetSkill(SkillName.MagicResist, 100.0);
this.SetSkill(SkillName.Tactics, 100.0);
this.SetSkill(SkillName.Wrestling, 130.0);
this.Fame = 10000;
this.Karma = -5000;
this.VirtualArmor = 40;
HairItemID = 0xC60D;
HairHue = 0x47E;
FacialHairItemID = 0xC675;
FacialHairHue = 0x47E;
this.AddItem(new FancyShirt(0xE8));
this.AddItem(new LongPants(0xE8));
this.AddItem(new Cap(0xE8));
this.AddItem(new Sandals(0xE8));
}
public Santa(Serial serial)
: base(serial)
{
}
public override ChampionSkullType SkullType
{
get
{
return ChampionSkullType.Venom;
}
}
public override Type[] UniqueList
{
get
{
return new Type[] { typeof(Calm) };
}
}
public override Type[] SharedList
{
get
{
return new Type[] { typeof(OblivionsNeedle), typeof(ANecromancerShroud), typeof(EmbroideredOakLeafCloak), typeof(TheMostKnowledgePerson) };
}
}
public override Type[] DecorativeList
{
get
{
return new Type[] { typeof(Web), typeof(MonsterStatuette) };
}
}
public override MonsterStatuetteType[] StatueTypes
{
get
{
return new MonsterStatuetteType[] { MonsterStatuetteType.Spider };
}
}
public override bool AutoDispel
{
get
{
return true;
}
}
public override bool AlwaysMurderer
{
get
{
return true;
}
}
public override WeaponAbility GetWeaponAbility()
{
switch (Utility.Random(3))
{
default:
case 0:
return WeaponAbility.DoubleStrike;
case 1:
return WeaponAbility.WhirlwindAttack;
case 2:
return WeaponAbility.CrushingBlow;
}
}
public override bool BardImmune
{
get
{
return true;
}
}
public override bool AreaPeaceImmune
{
get
{
return true;
}
}
public override void GenerateLoot()
{
this.AddLoot(LootPack.UltraRich, 5);
}
public virtual void Lifted_Callback(Mobile from)
{
if (from != null && !from.Deleted && from is PlayerMobile)
{
this.Combatant = from;
this.Warmode = true;
}
}
public override Item NewHarmfulItem()
{
Item bad = new AcidSlime(TimeSpan.FromSeconds(3), 10, 15);
bad.Name = "Acid Snow";
bad.Hue = 0x782;
return bad;
}
public override void OnDamage(int amount, Mobile from, bool willKill)
{
if (Utility.RandomBool())
{
if (from != null && from.Map != null && this.Map != Map.Internal && this.Map == from.Map && from.InRange(this, 12))
{
this.SpillAcid((willKill) ? this : from, (willKill) ? 3 : 1);
}
}
base.OnDamage(amount, from, willKill);
}
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();
}
}
}