#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
91
Scripts/Mobiles/Monsters/Humanoid/Melee/Guardian.cs
Normal file
91
Scripts/Mobiles/Monsters/Humanoid/Melee/Guardian.cs
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Misc;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Guardian : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Guardian() : base( AIType.AI_Archer, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
InitStats( 100, 125, 25 );
|
||||
Title = "the guardian";
|
||||
|
||||
SpeechHue = Utility.RandomDyedHue();
|
||||
|
||||
Hue = Utility.RandomSkinHue();
|
||||
|
||||
if ( Female = Utility.RandomBool() )
|
||||
{
|
||||
Body = 0x191;
|
||||
Name = NameList.RandomName( "female" );
|
||||
}
|
||||
else
|
||||
{
|
||||
Body = 0x190;
|
||||
Name = NameList.RandomName( "male" );
|
||||
}
|
||||
|
||||
new ForestOstard().Rider = this;
|
||||
|
||||
PlateChest chest = new PlateChest();
|
||||
chest.Hue = 0x966;
|
||||
AddItem( chest );
|
||||
PlateArms arms = new PlateArms();
|
||||
arms.Hue = 0x966;
|
||||
AddItem( arms );
|
||||
PlateGloves gloves = new PlateGloves();
|
||||
gloves.Hue = 0x966;
|
||||
AddItem( gloves );
|
||||
PlateGorget gorget = new PlateGorget();
|
||||
gorget.Hue = 0x966;
|
||||
AddItem( gorget );
|
||||
PlateLegs legs = new PlateLegs();
|
||||
legs.Hue = 0x966;
|
||||
AddItem( legs );
|
||||
PlateHelm helm = new PlateHelm();
|
||||
helm.Hue = 0x966;
|
||||
AddItem( helm );
|
||||
|
||||
|
||||
Bow bow = new Bow();
|
||||
|
||||
bow.Movable = false;
|
||||
bow.Crafter = this;
|
||||
bow.Quality = WeaponQuality.Exceptional;
|
||||
|
||||
AddItem( bow );
|
||||
|
||||
PackItem( new Arrow( 250 ) );
|
||||
PackGold( 250, 500 );
|
||||
|
||||
Skills[SkillName.Anatomy].Base = 120.0;
|
||||
Skills[SkillName.Tactics].Base = 120.0;
|
||||
Skills[SkillName.Archery].Base = 120.0;
|
||||
Skills[SkillName.MagicResist].Base = 120.0;
|
||||
Skills[SkillName.DetectHidden].Base = 100.0;
|
||||
|
||||
}
|
||||
|
||||
public Guardian( 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