mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
* OCT17 Minor gump cleanup and XML cleanup. * Improvements - Skill Gain is no longer redundantly checked against the same values inside of XMLSpawner. - AI_Animal (which was not used and just defaulted to AI_Melee) along with AI_Beserk, AI_Predator, and AI_Thief have been safely removed. - ItemFlags.cs has been moved from XMLSpawner to MISC. - Removed some misc double calls. * Needed for recent AI fix. * Item Fix
65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a bull frog corpse")]
|
|
public class BullFrog : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public BullFrog()
|
|
: base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
|
{
|
|
Name = "a bull frog";
|
|
Body = 81;
|
|
Hue = Utility.RandomList(0x5AC, 0x5A3, 0x59A, 0x591, 0x588, 0x57F);
|
|
BaseSoundID = 0x266;
|
|
|
|
SetStr(46, 70);
|
|
SetDex(6, 25);
|
|
SetInt(11, 20);
|
|
|
|
SetHits(28, 42);
|
|
SetMana(0);
|
|
|
|
SetDamage(1, 2);
|
|
|
|
SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
SetResistance(ResistanceType.Physical, 5, 10);
|
|
|
|
SetSkill(SkillName.MagicResist, 25.1, 40.0);
|
|
SetSkill(SkillName.Tactics, 40.1, 60.0);
|
|
SetSkill(SkillName.Wrestling, 40.1, 60.0);
|
|
|
|
Fame = 350;
|
|
Karma = 0;
|
|
|
|
Tamable = true;
|
|
ControlSlots = 1;
|
|
MinTameSkill = 23.1;
|
|
}
|
|
|
|
public BullFrog(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int Meat => 1;
|
|
public override int Hides => 4;
|
|
public override FoodType FavoriteFood => FoodType.Fish | FoodType.Meat;
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.Poor);
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|