#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
62
Scripts/Mobiles/Giants/Ettin.cs
Normal file
62
Scripts/Mobiles/Giants/Ettin.cs
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an ettins corpse" )]
|
||||
public class Ettin : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Ettin() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an ettin";
|
||||
Body = Utility.RandomList( 2, 18, 322, 323 );
|
||||
BaseSoundID = 367;
|
||||
|
||||
SetStr( 136, 165 );
|
||||
SetDex( 56, 75 );
|
||||
SetInt( 31, 55 );
|
||||
|
||||
SetHits( 82, 99 );
|
||||
|
||||
SetDamage( 7, 17 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 40.1, 55.0 );
|
||||
SetSkill( SkillName.Tactics, 50.1, 70.0 );
|
||||
SetSkill( SkillName.HandToHand, 50.1, 60.0 );
|
||||
|
||||
Fame = 3000;
|
||||
Karma = -3000;
|
||||
|
||||
VirtualArmor = 38;
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
AddLoot( LootPack.Average );
|
||||
AddLoot( LootPack.LowPotions );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override int Meat{ get{ return 4; } }
|
||||
|
||||
public Ettin( 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