#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
72
Scripts/Mobiles/Humanoid/Savage.cs
Normal file
72
Scripts/Mobiles/Humanoid/Savage.cs
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Misc;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a savage corpse" )]
|
||||
public class Savage : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Savage() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "savage" );
|
||||
HiddenTitle = "the savage";
|
||||
Hue = 0;
|
||||
Clan = Clan.Humanoid;
|
||||
|
||||
if ( Female = Utility.RandomBool() )
|
||||
Body = 0x191;
|
||||
else
|
||||
Body = 0x190;
|
||||
|
||||
SetStr( 96, 115 );
|
||||
SetDex( 86, 105 );
|
||||
SetInt( 51, 65 );
|
||||
|
||||
SetDamage( 7, 16 );
|
||||
|
||||
SetSkill( SkillName.Fencing, 60.0, 82.5 );
|
||||
SetSkill( SkillName.Bludgeoning, 60.0, 82.5 );
|
||||
SetSkill( SkillName.Poisoning, 60.0, 82.5 );
|
||||
SetSkill( SkillName.MagicResist, 57.5, 80.0 );
|
||||
SetSkill( SkillName.Swords, 60.0, 82.5 );
|
||||
SetSkill( SkillName.Tactics, 60.0, 82.5 );
|
||||
|
||||
Fame = 1000;
|
||||
Karma = -1000;
|
||||
|
||||
PackItem( new Bandage( Utility.RandomMinMax( 1, 15 ) ) );
|
||||
|
||||
AddItem( new Spear() );
|
||||
AddItem( new BoneArms() );
|
||||
AddItem( new BoneLegs() );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override int Meat{ get{ return 1; } }
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ShowFameTitle{ get{ return false; } }
|
||||
|
||||
public Savage( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 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