Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
80
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Drake.cs
Normal file
80
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Drake.cs
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class Drake : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Drake() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = Utility.RandomList(60, 61);
|
||||
BaseSoundID = 362;
|
||||
|
||||
SetStr(401, 430);
|
||||
SetDex(133, 152);
|
||||
SetInt(101, 140);
|
||||
|
||||
SetHits(241, 258);
|
||||
|
||||
SetDamage(11, 17);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 80);
|
||||
SetDamageType(ResistanceType.Fire, 20);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 45, 50);
|
||||
SetResistance(ResistanceType.Fire, 50, 60);
|
||||
SetResistance(ResistanceType.Cold, 40, 50);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 65.1, 80.0);
|
||||
SetSkill(SkillName.Tactics, 65.1, 90.0);
|
||||
SetSkill(SkillName.Wrestling, 65.1, 80.0);
|
||||
|
||||
Fame = 5500;
|
||||
Karma = -5500;
|
||||
|
||||
VirtualArmor = 46;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 2;
|
||||
MinTameSkill = 84.3;
|
||||
|
||||
PackReg(3);
|
||||
}
|
||||
|
||||
public Drake(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a drake corpse";
|
||||
public override string DefaultName => "a drake";
|
||||
|
||||
public override bool ReacquireOnMovement => true;
|
||||
public override bool HasBreath => true; // fire breath enabled
|
||||
public override int TreasureMapLevel => 2;
|
||||
public override int Meat => 10;
|
||||
public override int Hides => 20;
|
||||
public override HideType HideType => HideType.Horned;
|
||||
public override int Scales => 2;
|
||||
public override ScaleType ScaleType => Body == 60 ? ScaleType.Yellow : ScaleType.Red;
|
||||
public override FoodType FavoriteFood => FoodType.Meat | FoodType.Fish;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Rich);
|
||||
AddLoot(LootPack.MedScrolls, 2);
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
92
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Harpy.cs
Normal file
92
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Harpy.cs
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class Harpy : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Harpy() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 30;
|
||||
BaseSoundID = 402;
|
||||
|
||||
SetStr(96, 120);
|
||||
SetDex(86, 110);
|
||||
SetInt(51, 75);
|
||||
|
||||
SetHits(58, 72);
|
||||
|
||||
SetDamage(5, 7);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 25, 30);
|
||||
SetResistance(ResistanceType.Fire, 10, 20);
|
||||
SetResistance(ResistanceType.Cold, 10, 30);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 10, 20);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 50.1, 65.0);
|
||||
SetSkill(SkillName.Tactics, 70.1, 100.0);
|
||||
SetSkill(SkillName.Wrestling, 60.1, 90.0);
|
||||
|
||||
Fame = 2500;
|
||||
Karma = -2500;
|
||||
|
||||
VirtualArmor = 28;
|
||||
}
|
||||
|
||||
public Harpy(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a harpy corpse";
|
||||
public override string DefaultName => "a harpy";
|
||||
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Meat => 4;
|
||||
public override MeatType MeatType => MeatType.Bird;
|
||||
public override int Feathers => 50;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Meager, 2);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 917;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 919;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 918;
|
||||
}
|
||||
|
||||
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/Reptile/Melee/Kraken.cs
Normal file
79
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Kraken.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Kraken : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Kraken() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 77;
|
||||
BaseSoundID = 353;
|
||||
|
||||
SetStr(756, 780);
|
||||
SetDex(226, 245);
|
||||
SetInt(26, 40);
|
||||
|
||||
SetHits(454, 468);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(19, 33);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 70);
|
||||
SetDamageType(ResistanceType.Cold, 30);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 45, 55);
|
||||
SetResistance(ResistanceType.Fire, 30, 40);
|
||||
SetResistance(ResistanceType.Cold, 30, 40);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 10, 20);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 15.1, 20.0);
|
||||
SetSkill(SkillName.Tactics, 45.1, 60.0);
|
||||
SetSkill(SkillName.Wrestling, 45.1, 60.0);
|
||||
|
||||
Fame = 11000;
|
||||
Karma = -11000;
|
||||
|
||||
VirtualArmor = 50;
|
||||
|
||||
CanSwim = true;
|
||||
CantWalk = true;
|
||||
|
||||
Rope rope = new Rope();
|
||||
rope.ItemID = 0x14F8;
|
||||
PackItem(rope);
|
||||
|
||||
if (Utility.RandomDouble() < .05)
|
||||
PackItem(new MessageInABottle());
|
||||
|
||||
PackItem(new SpecialFishingNet()); //Confirm?
|
||||
}
|
||||
|
||||
public Kraken(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a krakens corpse";
|
||||
public override string DefaultName => "a kraken";
|
||||
|
||||
public override int TreasureMapLevel => 4;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Rich);
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
69
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Lizardman.cs
Normal file
69
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Lizardman.cs
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
using Server.Misc;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Lizardman : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Lizardman() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = NameList.RandomName("lizardman");
|
||||
Body = Utility.RandomList(35, 36);
|
||||
BaseSoundID = 417;
|
||||
|
||||
SetStr(96, 120);
|
||||
SetDex(86, 105);
|
||||
SetInt(36, 60);
|
||||
|
||||
SetHits(58, 72);
|
||||
|
||||
SetDamage(5, 7);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 25, 30);
|
||||
SetResistance(ResistanceType.Fire, 5, 10);
|
||||
SetResistance(ResistanceType.Cold, 5, 10);
|
||||
SetResistance(ResistanceType.Poison, 10, 20);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 35.1, 60.0);
|
||||
SetSkill(SkillName.Tactics, 55.1, 80.0);
|
||||
SetSkill(SkillName.Wrestling, 50.1, 70.0);
|
||||
|
||||
Fame = 1500;
|
||||
Karma = -1500;
|
||||
|
||||
VirtualArmor = 28;
|
||||
}
|
||||
|
||||
public Lizardman(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a lizardman corpse";
|
||||
public override InhumanSpeech SpeechType => InhumanSpeech.Lizardman;
|
||||
|
||||
public override bool CanRummageCorpses => true;
|
||||
public override int Meat => 1;
|
||||
public override int Hides => 12;
|
||||
public override HideType HideType => HideType.Spined;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Meager);
|
||||
// TODO: weapon
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,82 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[TypeAlias("Server.Mobiles.OphidianAvenger")]
|
||||
public class OphidianKnight : BaseCreature
|
||||
{
|
||||
private static string[] m_Names =
|
||||
{
|
||||
"an ophidian knight-errant",
|
||||
"an ophidian avenger"
|
||||
};
|
||||
|
||||
[Constructible]
|
||||
public OphidianKnight() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = m_Names[Utility.Random(m_Names.Length)];
|
||||
Body = 86;
|
||||
BaseSoundID = 634;
|
||||
|
||||
SetStr(417, 595);
|
||||
SetDex(166, 175);
|
||||
SetInt(46, 70);
|
||||
|
||||
SetHits(266, 342);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(16, 19);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 35, 40);
|
||||
SetResistance(ResistanceType.Fire, 30, 40);
|
||||
SetResistance(ResistanceType.Cold, 35, 45);
|
||||
SetResistance(ResistanceType.Poison, 90, 100);
|
||||
SetResistance(ResistanceType.Energy, 35, 45);
|
||||
|
||||
SetSkill(SkillName.Poisoning, 60.1, 80.0);
|
||||
SetSkill(SkillName.MagicResist, 65.1, 80.0);
|
||||
SetSkill(SkillName.Tactics, 90.1, 100.0);
|
||||
SetSkill(SkillName.Wrestling, 90.1, 100.0);
|
||||
|
||||
Fame = 10000;
|
||||
Karma = -10000;
|
||||
|
||||
VirtualArmor = 40;
|
||||
|
||||
PackItem(new LesserPoisonPotion());
|
||||
}
|
||||
|
||||
public OphidianKnight(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
|
||||
public override int Meat => 2;
|
||||
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override Poison HitPoison => Poison.Lethal;
|
||||
public override int TreasureMapLevel => 3;
|
||||
|
||||
public override OppositionGroup OppositionGroup => OppositionGroup.TerathansAndOphidians;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Rich, 2);
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class OphidianWarrior : BaseCreature
|
||||
{
|
||||
private static string[] m_Names =
|
||||
{
|
||||
"an ophidian warrior",
|
||||
"an ophidian enforcer"
|
||||
};
|
||||
|
||||
[Constructible]
|
||||
public OphidianWarrior() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = m_Names[Utility.Random(m_Names.Length)];
|
||||
Body = 86;
|
||||
BaseSoundID = 634;
|
||||
|
||||
SetStr(150, 320);
|
||||
SetDex(94, 190);
|
||||
SetInt(64, 160);
|
||||
|
||||
SetHits(128, 155);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(5, 11);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 35, 40);
|
||||
SetResistance(ResistanceType.Fire, 20, 30);
|
||||
SetResistance(ResistanceType.Cold, 25, 35);
|
||||
SetResistance(ResistanceType.Poison, 30, 40);
|
||||
SetResistance(ResistanceType.Energy, 25, 35);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 70.1, 85.0);
|
||||
SetSkill(SkillName.Swords, 60.1, 85.0);
|
||||
SetSkill(SkillName.Tactics, 75.1, 90.0);
|
||||
|
||||
Fame = 4500;
|
||||
Karma = -4500;
|
||||
|
||||
VirtualArmor = 36;
|
||||
}
|
||||
|
||||
public OphidianWarrior(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
|
||||
public override int Meat => 1;
|
||||
public override int TreasureMapLevel => 1;
|
||||
|
||||
public override OppositionGroup OppositionGroup => OppositionGroup.TerathansAndOphidians;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Meager);
|
||||
AddLoot(LootPack.Average);
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
78
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Scorpion.cs
Normal file
78
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Scorpion.cs
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Scorpion : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Scorpion() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 48;
|
||||
BaseSoundID = 397;
|
||||
|
||||
SetStr(73, 115);
|
||||
SetDex(76, 95);
|
||||
SetInt(16, 30);
|
||||
|
||||
SetHits(50, 63);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(5, 10);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 60);
|
||||
SetDamageType(ResistanceType.Poison, 40);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 20, 25);
|
||||
SetResistance(ResistanceType.Fire, 10, 15);
|
||||
SetResistance(ResistanceType.Cold, 20, 25);
|
||||
SetResistance(ResistanceType.Poison, 40, 50);
|
||||
SetResistance(ResistanceType.Energy, 10, 15);
|
||||
|
||||
SetSkill(SkillName.Poisoning, 80.1, 100.0);
|
||||
SetSkill(SkillName.MagicResist, 30.1, 35.0);
|
||||
SetSkill(SkillName.Tactics, 60.3, 75.0);
|
||||
SetSkill(SkillName.Wrestling, 50.3, 65.0);
|
||||
|
||||
Fame = 2000;
|
||||
Karma = -2000;
|
||||
|
||||
VirtualArmor = 28;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
MinTameSkill = 47.1;
|
||||
|
||||
PackItem(new LesserPoisonPotion());
|
||||
}
|
||||
|
||||
public Scorpion(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a scorpion corpse";
|
||||
public override string DefaultName => "a scorpion";
|
||||
|
||||
public override int Meat => 1;
|
||||
public override FoodType FavoriteFood => FoodType.Meat;
|
||||
public override PackInstinct PackInstinct => PackInstinct.Arachnid;
|
||||
public override Poison PoisonImmune => Poison.Greater;
|
||||
public override Poison HitPoison => 0.8 >= Utility.RandomDouble() ? Poison.Greater : Poison.Deadly;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Meager);
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class StoneHarpy : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public StoneHarpy() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 73;
|
||||
BaseSoundID = 402;
|
||||
|
||||
SetStr(296, 320);
|
||||
SetDex(86, 110);
|
||||
SetInt(51, 75);
|
||||
|
||||
SetHits(178, 192);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(8, 16);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 75);
|
||||
SetDamageType(ResistanceType.Poison, 25);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 45, 55);
|
||||
SetResistance(ResistanceType.Fire, 20, 30);
|
||||
SetResistance(ResistanceType.Cold, 10, 20);
|
||||
SetResistance(ResistanceType.Poison, 30, 40);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 50.1, 65.0);
|
||||
SetSkill(SkillName.Tactics, 70.1, 100.0);
|
||||
SetSkill(SkillName.Wrestling, 70.1, 100.0);
|
||||
|
||||
Fame = 4500;
|
||||
Karma = -4500;
|
||||
|
||||
VirtualArmor = 50;
|
||||
}
|
||||
|
||||
public StoneHarpy(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a stone harpy corpse";
|
||||
public override string DefaultName => "a stone harpy";
|
||||
|
||||
public override int Meat => 1;
|
||||
public override int Feathers => 50;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Average, 2);
|
||||
AddLoot(LootPack.Gems, 2);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 916;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 917;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 919;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 918;
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
105
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Wyvern.cs
Normal file
105
Projects/Scripts/Mobiles/Monsters/Reptile/Melee/Wyvern.cs
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Wyvern : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Wyvern() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 62;
|
||||
BaseSoundID = 362;
|
||||
|
||||
SetStr(202, 240);
|
||||
SetDex(153, 172);
|
||||
SetInt(51, 90);
|
||||
|
||||
SetHits(125, 141);
|
||||
|
||||
SetDamage(8, 19);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 50);
|
||||
SetDamageType(ResistanceType.Poison, 50);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 35, 45);
|
||||
SetResistance(ResistanceType.Fire, 30, 40);
|
||||
SetResistance(ResistanceType.Cold, 20, 30);
|
||||
SetResistance(ResistanceType.Poison, 90, 100);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetSkill(SkillName.Poisoning, 60.1, 80.0);
|
||||
SetSkill(SkillName.MagicResist, 65.1, 80.0);
|
||||
SetSkill(SkillName.Tactics, 65.1, 90.0);
|
||||
SetSkill(SkillName.Wrestling, 65.1, 80.0);
|
||||
|
||||
Fame = 4000;
|
||||
Karma = -4000;
|
||||
|
||||
VirtualArmor = 40;
|
||||
|
||||
PackItem(new LesserPoisonPotion());
|
||||
}
|
||||
|
||||
public Wyvern(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override string CorpseName => "a wyvern corpse";
|
||||
public override string DefaultName => "a wyvern";
|
||||
|
||||
public override bool ReacquireOnMovement => true;
|
||||
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override int TreasureMapLevel => 2;
|
||||
|
||||
public override int Meat => 10;
|
||||
public override int Hides => 20;
|
||||
public override HideType HideType => HideType.Horned;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Average);
|
||||
AddLoot(LootPack.Meager);
|
||||
AddLoot(LootPack.MedScrolls);
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 713;
|
||||
}
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 718;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 716;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 721;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 725;
|
||||
}
|
||||
|
||||
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