Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
98
Scripts/Mobiles/Normal/Gargoyle.cs
Normal file
98
Scripts/Mobiles/Normal/Gargoyle.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a gargoyle corpse")]
|
||||
public class Gargoyle : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Gargoyle()
|
||||
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
this.Name = "a gargoyle";
|
||||
this.Body = 4;
|
||||
this.BaseSoundID = 372;
|
||||
|
||||
this.SetStr(146, 175);
|
||||
this.SetDex(76, 95);
|
||||
this.SetInt(81, 105);
|
||||
|
||||
this.SetHits(88, 105);
|
||||
|
||||
this.SetDamage(7, 14);
|
||||
|
||||
this.SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
this.SetResistance(ResistanceType.Physical, 30, 35);
|
||||
this.SetResistance(ResistanceType.Fire, 25, 35);
|
||||
this.SetResistance(ResistanceType.Cold, 5, 10);
|
||||
this.SetResistance(ResistanceType.Poison, 15, 25);
|
||||
|
||||
this.SetSkill(SkillName.EvalInt, 70.1, 85.0);
|
||||
this.SetSkill(SkillName.Magery, 70.1, 85.0);
|
||||
this.SetSkill(SkillName.MagicResist, 70.1, 85.0);
|
||||
this.SetSkill(SkillName.Tactics, 50.1, 70.0);
|
||||
this.SetSkill(SkillName.Wrestling, 40.1, 80.0);
|
||||
|
||||
this.Fame = 3500;
|
||||
this.Karma = -3500;
|
||||
|
||||
this.VirtualArmor = 32;
|
||||
|
||||
if (0.025 > Utility.RandomDouble())
|
||||
this.PackItem(new GargoylesPickaxe());
|
||||
|
||||
switch (Utility.Random(6))
|
||||
{
|
||||
case 0: PackItem(new PainSpikeScroll()); break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Gargoyle(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int TreasureMapLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
public override int Meat
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
public override bool CanFly
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
this.AddLoot(LootPack.Average);
|
||||
this.AddLoot(LootPack.MedScrolls);
|
||||
this.AddLoot(LootPack.Gems, Utility.RandomMinMax(1, 4));
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user