Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
100
Scripts/Mobiles/Normal/TreefellowGuardian.cs
Normal file
100
Scripts/Mobiles/Normal/TreefellowGuardian.cs
Normal file
@@ -0,0 +1,100 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a treefellow guardian corpse")]
|
||||
public class TreefellowGuardian : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public TreefellowGuardian()
|
||||
: base(AIType.AI_Mystic, FightMode.Evil, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = "a Treefellow Guardian";
|
||||
Body = 301;
|
||||
|
||||
SetStr(511, 695);
|
||||
SetDex(30, 55);
|
||||
SetInt(403, 491);
|
||||
|
||||
SetHits(724, 900);
|
||||
|
||||
SetDamage(12, 16);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 30, 35);
|
||||
SetResistance(ResistanceType.Cold, 50, 60);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 80, 90);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 40.1, 55.0);
|
||||
SetSkill(SkillName.Tactics, 65.1, 90.0);
|
||||
SetSkill(SkillName.Wrestling, 65.1, 85.0);
|
||||
SetSkill(SkillName.Spellweaving, 120.0);
|
||||
|
||||
Fame = 500;
|
||||
Karma = 1500;
|
||||
|
||||
VirtualArmor = 24;
|
||||
PackItem(new Log(Utility.RandomMinMax(23, 34)));
|
||||
|
||||
if (0.05 > Utility.RandomDouble())
|
||||
PackItem(new TreefellowWood());
|
||||
|
||||
SetWeaponAbility(WeaponAbility.Dismount);
|
||||
}
|
||||
|
||||
public TreefellowGuardian(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override OppositionGroup OppositionGroup
|
||||
{
|
||||
get
|
||||
{
|
||||
return OppositionGroup.FeyAndUndead;
|
||||
}
|
||||
}
|
||||
public override bool BleedImmune
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 443;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 31;
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 672;
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Average);
|
||||
}
|
||||
|
||||
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