Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
78
Scripts/Mobiles/Normal/Boar.cs
Normal file
78
Scripts/Mobiles/Normal/Boar.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a pig corpse")]
|
||||
public class Boar : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Boar()
|
||||
: base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
this.Name = "a boar";
|
||||
this.Body = 0x122;
|
||||
this.BaseSoundID = 0xC4;
|
||||
|
||||
this.SetStr(25);
|
||||
this.SetDex(15);
|
||||
this.SetInt(5);
|
||||
|
||||
this.SetHits(15);
|
||||
this.SetMana(0);
|
||||
|
||||
this.SetDamage(3, 6);
|
||||
|
||||
this.SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
this.SetResistance(ResistanceType.Physical, 10, 15);
|
||||
this.SetResistance(ResistanceType.Fire, 5, 10);
|
||||
this.SetResistance(ResistanceType.Poison, 5, 10);
|
||||
|
||||
this.SetSkill(SkillName.MagicResist, 9.0);
|
||||
this.SetSkill(SkillName.Tactics, 9.0);
|
||||
this.SetSkill(SkillName.Wrestling, 9.0);
|
||||
|
||||
this.Fame = 300;
|
||||
this.Karma = 0;
|
||||
|
||||
this.VirtualArmor = 10;
|
||||
|
||||
this.Tamable = true;
|
||||
this.ControlSlots = 1;
|
||||
this.MinTameSkill = 29.1;
|
||||
}
|
||||
|
||||
public Boar(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int Meat
|
||||
{
|
||||
get
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
public override FoodType FavoriteFood
|
||||
{
|
||||
get
|
||||
{
|
||||
return FoodType.FruitsAndVegies | FoodType.GrainsAndHay;
|
||||
}
|
||||
}
|
||||
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