111 lines
2.8 KiB
C#
111 lines
2.8 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a solen infiltrator corpse")] // TODO: Corpse name?
|
|
public class RedSolenInfiltratorQueen : BaseCreature, IRedSolen
|
|
{
|
|
[Constructable]
|
|
public RedSolenInfiltratorQueen()
|
|
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "a red solen infiltrator";
|
|
this.Body = 783;
|
|
this.BaseSoundID = 959;
|
|
|
|
this.SetStr(326, 350);
|
|
this.SetDex(141, 165);
|
|
this.SetInt(96, 120);
|
|
|
|
this.SetHits(151, 162);
|
|
|
|
this.SetDamage(10, 15);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 70);
|
|
this.SetDamageType(ResistanceType.Poison, 30);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 30, 40);
|
|
this.SetResistance(ResistanceType.Fire, 30, 35);
|
|
this.SetResistance(ResistanceType.Cold, 25, 35);
|
|
this.SetResistance(ResistanceType.Poison, 35, 40);
|
|
this.SetResistance(ResistanceType.Energy, 25, 30);
|
|
|
|
this.SetSkill(SkillName.MagicResist, 90.0);
|
|
this.SetSkill(SkillName.Tactics, 90.0);
|
|
this.SetSkill(SkillName.Wrestling, 90.0);
|
|
|
|
this.Fame = 6500;
|
|
this.Karma = -6500;
|
|
|
|
this.VirtualArmor = 50;
|
|
|
|
SolenHelper.PackPicnicBasket(this);
|
|
|
|
this.PackItem(new ZoogiFungus((0.05 < Utility.RandomDouble()) ? 4 : 16));
|
|
}
|
|
|
|
public RedSolenInfiltratorQueen(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int GetAngerSound()
|
|
{
|
|
return 0x259;
|
|
}
|
|
|
|
public override int GetIdleSound()
|
|
{
|
|
return 0x259;
|
|
}
|
|
|
|
public override int GetAttackSound()
|
|
{
|
|
return 0x195;
|
|
}
|
|
|
|
public override int GetHurtSound()
|
|
{
|
|
return 0x250;
|
|
}
|
|
|
|
public override int GetDeathSound()
|
|
{
|
|
return 0x25B;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
this.AddLoot(LootPack.Rich);
|
|
}
|
|
|
|
public override bool IsEnemy(Mobile m)
|
|
{
|
|
if (SolenHelper.CheckRedFriendship(m))
|
|
return false;
|
|
else
|
|
return base.IsEnemy(m);
|
|
}
|
|
|
|
public override void OnDamage(int amount, Mobile from, bool willKill)
|
|
{
|
|
SolenHelper.OnRedDamage(from);
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|