#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
5df497787a
7510 changed files with 416048 additions and 0 deletions
79
Scripts/Mobiles/Undead/VampiricDragon.cs
Normal file
79
Scripts/Mobiles/Undead/VampiricDragon.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a dragon corpse" )]
|
||||
public class VampiricDragon : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public VampiricDragon() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "dragon" );
|
||||
Title = "the vampiric wyrm";
|
||||
Body = 336;
|
||||
BaseSoundID = 362;
|
||||
Clan = Clan.Undead;
|
||||
|
||||
SetStr( 796, 825 );
|
||||
SetDex( 86, 105 );
|
||||
SetInt( 436, 475 );
|
||||
|
||||
SetHits( 478, 495 );
|
||||
|
||||
SetDamage( 16, 22 );
|
||||
|
||||
SetSkill( SkillName.Concentration, 30.1, 40.0 );
|
||||
SetSkill( SkillName.Magery, 30.1, 40.0 );
|
||||
SetSkill( SkillName.MagicResist, 99.1, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 97.6, 100.0 );
|
||||
SetSkill( SkillName.HandToHand, 90.1, 92.5 );
|
||||
|
||||
Fame = 15000;
|
||||
Karma = -15000;
|
||||
|
||||
VirtualArmor = 60;
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich, 2 );
|
||||
AddLoot( LootPack.Gems, 8 );
|
||||
AddLoot( LootPack.MedScrolls, 2 );
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2D5;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
|
||||
public override bool ReacquireOnMovement{ get{ return true; } }
|
||||
public override bool HasBreath{ get{ return true; } } // fire breath enabled
|
||||
public override bool AutoDispel{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
|
||||
public override int Hides{ get{ return 20; } }
|
||||
|
||||
public VampiricDragon( 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