#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
54
Scripts/Mobiles/Vendors/NPC/Guildmasters/MageGuildmaster.cs
Normal file
54
Scripts/Mobiles/Vendors/NPC/Guildmasters/MageGuildmaster.cs
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class MageGuildmaster : BaseGuildmaster
|
||||
{
|
||||
public override NpcGuild NpcGuild{ get{ return NpcGuild.MagesGuild; } }
|
||||
|
||||
[Constructable]
|
||||
public MageGuildmaster() : base( "mage" )
|
||||
{
|
||||
SetSkill( SkillName.EvalInt, 85.0, 100.0 );
|
||||
SetSkill( SkillName.Inscribe, 65.0, 88.0 );
|
||||
SetSkill( SkillName.MagicResist, 64.0, 100.0 );
|
||||
SetSkill( SkillName.Magery, 90.0, 100.0 );
|
||||
SetSkill( SkillName.Wrestling, 60.0, 83.0 );
|
||||
SetSkill( SkillName.Meditation, 85.0, 100.0 );
|
||||
SetSkill( SkillName.Macing, 36.0, 68.0 );
|
||||
}
|
||||
|
||||
public override VendorShoeType ShoeType
|
||||
{
|
||||
get{ return Utility.RandomBool() ? VendorShoeType.Shoes : VendorShoeType.Sandals; }
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
base.InitOutfit();
|
||||
|
||||
AddItem( new Server.Items.Robe( Utility.RandomBlueHue() ) );
|
||||
AddItem( new Server.Items.GnarledStaff() );
|
||||
}
|
||||
|
||||
public MageGuildmaster( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue