Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
|
|
@ -0,0 +1,78 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Troglodyte : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Troglodyte() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) // NEED TO CHECK
|
||||
{
|
||||
Body = 267;
|
||||
BaseSoundID = 0x59F;
|
||||
|
||||
SetStr(148, 217);
|
||||
SetDex(91, 120);
|
||||
SetInt(51, 70);
|
||||
|
||||
SetHits(302, 340);
|
||||
|
||||
SetDamage(11, 14);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 30, 35);
|
||||
SetResistance(ResistanceType.Fire, 20, 30);
|
||||
SetResistance(ResistanceType.Cold, 35, 40);
|
||||
SetResistance(ResistanceType.Poison, 30, 40);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetSkill(SkillName.Anatomy, 70.5, 94.8);
|
||||
SetSkill(SkillName.MagicResist, 51.8, 65.0);
|
||||
SetSkill(SkillName.Tactics, 80.4, 94.7);
|
||||
SetSkill(SkillName.Wrestling, 70.2, 93.5);
|
||||
SetSkill(SkillName.Healing, 70.0, 95.0);
|
||||
|
||||
Fame = 5000;
|
||||
Karma = -5000;
|
||||
|
||||
VirtualArmor = 28; // Don't know what it should be
|
||||
|
||||
PackItem(new Bandage(5)); // How many?
|
||||
PackItem(new Ribs());
|
||||
}
|
||||
|
||||
public Troglodyte(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a troglodyte corpse";
|
||||
public override string DefaultName => "a troglodyte";
|
||||
|
||||
public override bool CanHeal => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Rich); // Need to verify
|
||||
}
|
||||
|
||||
public override void OnDeath(Container c)
|
||||
{
|
||||
base.OnDeath(c);
|
||||
|
||||
if (Utility.RandomDouble() < 0.1)
|
||||
c.DropItem(new PrimitiveFetish());
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue