Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
97
Scripts/Mobiles/Named/MasterJonath.cs
Normal file
97
Scripts/Mobiles/Named/MasterJonath.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a Master Jonath corpse")]
|
||||
public class MasterJonath : BoneMagi
|
||||
{
|
||||
[Constructable]
|
||||
public MasterJonath()
|
||||
{
|
||||
Name = "Master Jonath";
|
||||
Hue = 0x455;
|
||||
|
||||
SetStr(109, 131);
|
||||
SetDex(98, 110);
|
||||
SetInt(232, 259);
|
||||
|
||||
SetHits(766, 920);
|
||||
|
||||
SetDamage(10, 15);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 55, 60);
|
||||
SetResistance(ResistanceType.Fire, 43, 49);
|
||||
SetResistance(ResistanceType.Cold, 45, 80);
|
||||
SetResistance(ResistanceType.Poison, 41, 45);
|
||||
SetResistance(ResistanceType.Energy, 54, 55);
|
||||
|
||||
SetSkill(SkillName.Wrestling, 80.5, 88.6);
|
||||
SetSkill(SkillName.Tactics, 88.5, 95.1);
|
||||
SetSkill(SkillName.MagicResist, 102.7, 102.9);
|
||||
SetSkill(SkillName.Magery, 100.0, 106.6);
|
||||
SetSkill(SkillName.EvalInt, 99.6, 106.9);
|
||||
SetSkill(SkillName.Necromancy, 100.0, 106.6);
|
||||
SetSkill(SkillName.SpiritSpeak, 99.6, 106.9);
|
||||
|
||||
Fame = 18000;
|
||||
Karma = -18000;
|
||||
|
||||
PackReg(7);
|
||||
PackReg(7);
|
||||
PackReg(8);
|
||||
|
||||
for (int i = 0; i < Utility.RandomMinMax(0, 1); i++)
|
||||
{
|
||||
PackItem(Loot.RandomScroll(0, Loot.ArcanistScrollTypes.Length, SpellbookType.Arcanist));
|
||||
}
|
||||
}
|
||||
|
||||
public MasterJonath(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
public override bool CanBeParagon { get { return false; } }
|
||||
public override void OnDeath( Container c )
|
||||
{
|
||||
base.OnDeath( c );
|
||||
|
||||
if ( Utility.RandomDouble() < 0.05 )
|
||||
c.DropItem( new ParrotItem() );
|
||||
|
||||
if ( Utility.RandomDouble() < 0.15 )
|
||||
c.DropItem( new DisintegratingThesisNotes() );
|
||||
}
|
||||
|
||||
public override int TreasureMapLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
this.AddLoot(LootPack.UltraRich, 3);
|
||||
this.AddLoot(LootPack.MedScrolls, 2);
|
||||
this.AddLoot(LootPack.HighScrolls, 2);
|
||||
}
|
||||
|
||||
// TODO: Special move?
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user