mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
All loot pack items are now generated when the mobile is killed. Reworked monster stealing and begging. Various re-structuring and bug fixes. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
74 lines
1.9 KiB
C#
74 lines
1.9 KiB
C#
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a lava lizard corpse")]
|
|
public class LavaLizard : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public LavaLizard()
|
|
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
Name = "a lava lizard";
|
|
Body = 0xCE;
|
|
Hue = Utility.RandomList(0x647, 0x650, 0x659, 0x662, 0x66B, 0x674);
|
|
BaseSoundID = 0x5A;
|
|
|
|
SetStr(126, 150);
|
|
SetDex(56, 75);
|
|
SetInt(11, 20);
|
|
|
|
SetHits(76, 90);
|
|
SetMana(0);
|
|
|
|
SetDamage(6, 24);
|
|
|
|
SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
SetResistance(ResistanceType.Physical, 35, 45);
|
|
SetResistance(ResistanceType.Fire, 30, 45);
|
|
SetResistance(ResistanceType.Poison, 25, 35);
|
|
SetResistance(ResistanceType.Energy, 25, 35);
|
|
|
|
SetSkill(SkillName.MagicResist, 55.1, 70.0);
|
|
SetSkill(SkillName.Tactics, 60.1, 80.0);
|
|
SetSkill(SkillName.Wrestling, 60.1, 80.0);
|
|
|
|
Fame = 3000;
|
|
Karma = -3000;
|
|
|
|
Tamable = true;
|
|
ControlSlots = 1;
|
|
MinTameSkill = 80.7;
|
|
|
|
SetSpecialAbility(SpecialAbility.DragonBreath);
|
|
}
|
|
|
|
public LavaLizard(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int Hides => 12;
|
|
|
|
public override HideType HideType => HideType.Spined;
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.Meager);
|
|
AddLoot(LootPack.LootItem<SulfurousAsh>(4, 10));
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(0);
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|