Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
103
Scripts/Mobiles/Normal/Slith.cs
Normal file
103
Scripts/Mobiles/Normal/Slith.cs
Normal file
@@ -0,0 +1,103 @@
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a slith corpse")]
|
||||
public class Slith : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Slith() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = "a slith";
|
||||
Body = 734;
|
||||
|
||||
SetStr(129, 136);
|
||||
SetDex(72, 75);
|
||||
SetInt(12, 13);
|
||||
|
||||
SetHits(84, 85);
|
||||
|
||||
SetDamage(6, 24);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 35, 40);
|
||||
SetResistance(ResistanceType.Fire, 35, 45);
|
||||
SetResistance(ResistanceType.Poison, 25, 35);
|
||||
SetResistance(ResistanceType.Energy, 25, 30);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 59.1, 63.5);
|
||||
SetSkill(SkillName.Tactics, 74.6, 76.4);
|
||||
SetSkill(SkillName.Wrestling, 62.0, 77.1);
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
MinTameSkill = 80.7;
|
||||
|
||||
SetSpecialAbility(SpecialAbility.DragonBreath);
|
||||
}
|
||||
|
||||
public Slith(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int DragonBlood { get { return 8; } }
|
||||
|
||||
public override int TreasureMapLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
public override int Meat
|
||||
{
|
||||
get { return 6; }
|
||||
}
|
||||
|
||||
public override int Hides
|
||||
{
|
||||
get { return 10; }
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Average, 2);
|
||||
}
|
||||
|
||||
public override void OnDeath(Container c)
|
||||
{
|
||||
base.OnDeath(c);
|
||||
|
||||
if (!Controlled && Utility.RandomDouble() < 0.05)
|
||||
{
|
||||
c.DropItem(new SlithEye());
|
||||
}
|
||||
|
||||
if (!Controlled && Utility.RandomDouble() < 0.25)
|
||||
{
|
||||
switch (Utility.Random(2))
|
||||
{
|
||||
case 0:
|
||||
c.DropItem(new AncientPotteryFragments());
|
||||
break;
|
||||
case 1:
|
||||
c.DropItem(new TatteredAncientScroll());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write(0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
var version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user