Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
|
|
@ -0,0 +1,73 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class CorrosiveSlime : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public CorrosiveSlime() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 51;
|
||||
BaseSoundID = 456;
|
||||
|
||||
Hue = Utility.RandomSlimeHue();
|
||||
|
||||
SetStr(22, 34);
|
||||
SetDex(16, 21);
|
||||
SetInt(16, 20);
|
||||
|
||||
SetHits(15, 19);
|
||||
|
||||
SetDamage(1, 5);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 5, 10);
|
||||
SetResistance(ResistanceType.Poison, 15, 20);
|
||||
|
||||
SetSkill(SkillName.Poisoning, 36.0, 49.1);
|
||||
SetSkill(SkillName.Anatomy, 0);
|
||||
SetSkill(SkillName.MagicResist, 15.9, 18.9);
|
||||
SetSkill(SkillName.Tactics, 24.6, 26.1);
|
||||
SetSkill(SkillName.Wrestling, 24.9, 26.1);
|
||||
|
||||
Fame = 300;
|
||||
Karma = -300;
|
||||
|
||||
VirtualArmor = 8;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
MinTameSkill = 23.1;
|
||||
}
|
||||
|
||||
//TODO: Damage weapon via acid
|
||||
|
||||
public CorrosiveSlime(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a slimey corpse";
|
||||
public override string DefaultName => "a corrosive slime";
|
||||
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override Poison HitPoison => Poison.Regular;
|
||||
public override FoodType FavoriteFood => FoodType.Fish;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Poor);
|
||||
AddLoot(LootPack.Gems);
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
79
Projects/Scripts/Mobiles/Monsters/ML/Misc/Melee/Reptalon.cs
Normal file
79
Projects/Scripts/Mobiles/Monsters/ML/Misc/Melee/Reptalon.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Reptalon : BaseMount
|
||||
{
|
||||
[Constructible]
|
||||
public Reptalon() : base("a reptalon", 0x114, 0x3E90, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.35)
|
||||
{
|
||||
BaseSoundID = 0x16A;
|
||||
|
||||
SetStr(1001, 1025);
|
||||
SetDex(152, 164);
|
||||
SetInt(251, 289);
|
||||
|
||||
SetHits(833, 931);
|
||||
|
||||
SetDamage(21, 28);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 0);
|
||||
SetDamageType(ResistanceType.Poison, 25);
|
||||
SetDamageType(ResistanceType.Energy, 75);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 53, 64);
|
||||
SetResistance(ResistanceType.Fire, 35, 45);
|
||||
SetResistance(ResistanceType.Cold, 36, 45);
|
||||
SetResistance(ResistanceType.Poison, 52, 63);
|
||||
SetResistance(ResistanceType.Energy, 71, 83);
|
||||
|
||||
SetSkill(SkillName.Wrestling, 101.5, 118.2);
|
||||
SetSkill(SkillName.Tactics, 101.7, 108.2);
|
||||
SetSkill(SkillName.MagicResist, 76.4, 89.9);
|
||||
SetSkill(SkillName.Anatomy, 56.4, 59.7);
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 4;
|
||||
MinTameSkill = 101.1;
|
||||
}
|
||||
|
||||
public Reptalon(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a reptalon corpse";
|
||||
|
||||
public override int TreasureMapLevel => 5;
|
||||
public override int Meat => 5;
|
||||
public override int Hides => 10;
|
||||
public override bool CanBreath => true;
|
||||
public override bool CanAngerOnTame => true;
|
||||
public override bool StatLossAfterTame => true;
|
||||
public override FoodType FavoriteFood => FoodType.Meat;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.AosUltraRich, 3);
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ParalyzingBlow;
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue