#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
87
Scripts/Mobiles/Plants/BloodLotus.cs
Normal file
87
Scripts/Mobiles/Plants/BloodLotus.cs
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Misc;
|
||||
using Server.Items;
|
||||
using System.Collections;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a dead lotus" )]
|
||||
public class BloodLotus : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public BloodLotus() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a blood lotus";
|
||||
Body = 137;
|
||||
BaseSoundID = 352;
|
||||
|
||||
SetStr( 96, 120 );
|
||||
SetDex( 66, 85 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 58, 72 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 6, 12 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 15.1, 20.0 );
|
||||
SetSkill( SkillName.Tactics, 65.1, 80.0 );
|
||||
SetSkill( SkillName.HandToHand, 65.1, 80.0 );
|
||||
|
||||
Fame = 4500;
|
||||
Karma = -4500;
|
||||
|
||||
VirtualArmor = 28;
|
||||
|
||||
PackReg( 3 );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public void DrainBlood( Mobile m )
|
||||
{
|
||||
DoHarmful( m );
|
||||
new Blood().MoveToWorld( m.Location, m.Map );
|
||||
m.SendMessage( "The plant feeds on your blood!" );
|
||||
int toDrain = Utility.RandomMinMax( 2, 10 );
|
||||
m.PlaySound( 0x23F );
|
||||
Hits += toDrain;
|
||||
m.Damage( toDrain, this );
|
||||
}
|
||||
|
||||
public override void OnGaveMeleeAttack( Mobile defender )
|
||||
{
|
||||
base.OnGaveMeleeAttack( defender );
|
||||
DrainBlood( defender );
|
||||
}
|
||||
|
||||
public override void OnGotMeleeAttack( Mobile attacker )
|
||||
{
|
||||
base.OnGotMeleeAttack( attacker );
|
||||
DrainBlood( attacker );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
public override Poison HitPoison{ get{ return Poison.Greater; } }
|
||||
|
||||
public BloodLotus( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
68
Scripts/Mobiles/Plants/Corpser.cs
Normal file
68
Scripts/Mobiles/Plants/Corpser.cs
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a corpser corpse" )]
|
||||
public class Corpser : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Corpser() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a corpser";
|
||||
Body = 69;
|
||||
BaseSoundID = 684;
|
||||
|
||||
SetStr( 156, 180 );
|
||||
SetDex( 26, 45 );
|
||||
SetInt( 26, 40 );
|
||||
|
||||
SetHits( 94, 108 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 10, 23 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 15.1, 20.0 );
|
||||
SetSkill( SkillName.Tactics, 45.1, 60.0 );
|
||||
SetSkill( SkillName.HandToHand, 45.1, 60.0 );
|
||||
|
||||
Fame = 1000;
|
||||
Karma = -1000;
|
||||
|
||||
VirtualArmor = 18;
|
||||
|
||||
PackWood( 10 );
|
||||
|
||||
PackItem( new MandrakeRoot( 3 ) );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lesser; } }
|
||||
public override bool DisallowAllMoves{ get{ return true; } }
|
||||
|
||||
public Corpser( 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();
|
||||
|
||||
if ( BaseSoundID == 352 )
|
||||
BaseSoundID = 684;
|
||||
}
|
||||
}
|
||||
}
|
||||
66
Scripts/Mobiles/Plants/Ent.cs
Normal file
66
Scripts/Mobiles/Plants/Ent.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Misc;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a fallen tree" )]
|
||||
public class Ent : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Ent() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "trees" );
|
||||
Title = "the ent";
|
||||
Body = 91;
|
||||
BaseSoundID = 0x5F3;
|
||||
|
||||
SetStr( 536, 585 );
|
||||
SetDex( 126, 145 );
|
||||
SetInt( 281, 305 );
|
||||
|
||||
SetHits( 322, 351 );
|
||||
|
||||
SetDamage( 13, 16 );
|
||||
|
||||
SetSkill( SkillName.Concentration, 85.1, 100.0 );
|
||||
SetSkill( SkillName.Magery, 85.1, 100.0 );
|
||||
SetSkill( SkillName.MagicResist, 80.2, 110.0 );
|
||||
SetSkill( SkillName.Tactics, 60.1, 80.0 );
|
||||
SetSkill( SkillName.HandToHand, 40.1, 50.0 );
|
||||
|
||||
Fame = 11500;
|
||||
Karma = 11500;
|
||||
|
||||
VirtualArmor = 50;
|
||||
|
||||
PackItem( new WoodBoard( Utility.RandomMinMax( 50, 100 ) ) );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich );
|
||||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
public Ent( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
88
Scripts/Mobiles/Plants/Fungal.cs
Normal file
88
Scripts/Mobiles/Plants/Fungal.cs
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
using System;
|
||||
using Server;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.Misc;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a fungal corpse" )]
|
||||
public class Fungal : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Fungal () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a fungal";
|
||||
Body = 109;
|
||||
AnimationMod = 4;
|
||||
|
||||
SetStr( 166, 195 );
|
||||
SetDex( 46, 65 );
|
||||
SetInt( 46, 70 );
|
||||
|
||||
SetHits( 100, 117 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 9, 11 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 55.1, 70.0 );
|
||||
SetSkill( SkillName.Tactics, 60.1, 70.0 );
|
||||
SetSkill( SkillName.HandToHand, 70.1, 80.0 );
|
||||
|
||||
Fame = 3000;
|
||||
Karma = -3000;
|
||||
|
||||
VirtualArmor = 32;
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x451;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x452;
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x453;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x454;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x455;
|
||||
}
|
||||
|
||||
public Fungal( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
91
Scripts/Mobiles/Plants/FungalMage.cs
Normal file
91
Scripts/Mobiles/Plants/FungalMage.cs
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a fungal corpse" )]
|
||||
public class FungalMage : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public FungalMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a fungal mage";
|
||||
Body = 110;
|
||||
AnimationMod = 4;
|
||||
|
||||
SetStr( 181, 205 );
|
||||
SetDex( 191, 215 );
|
||||
SetInt( 96, 120 );
|
||||
|
||||
SetHits( 109, 123 );
|
||||
|
||||
SetDamage( 5, 10 );
|
||||
|
||||
SetSkill( SkillName.Concentration, 85.1, 100.0 );
|
||||
SetSkill( SkillName.Magery, 85.1, 100.0 );
|
||||
SetSkill( SkillName.MagicResist, 75.0, 97.5 );
|
||||
SetSkill( SkillName.Tactics, 65.0, 87.5 );
|
||||
SetSkill( SkillName.HandToHand, 20.2, 60.0 );
|
||||
|
||||
Fame = 4000;
|
||||
Karma = -4000;
|
||||
|
||||
VirtualArmor = 30;
|
||||
|
||||
PackReg( 10 );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average );
|
||||
AddLoot( LootPack.LowScrolls );
|
||||
AddLoot( LootPack.MedScrolls );
|
||||
AddLoot( LootPack.MedPotions );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x451;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x452;
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x453;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x454;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x455;
|
||||
}
|
||||
|
||||
public FungalMage( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
66
Scripts/Mobiles/Plants/Reaper.cs
Normal file
66
Scripts/Mobiles/Plants/Reaper.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a reapers corpse" )]
|
||||
public class Reaper : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Reaper() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a reaper";
|
||||
Body = 47;
|
||||
BaseSoundID = 442;
|
||||
|
||||
SetStr( 66, 215 );
|
||||
SetDex( 66, 75 );
|
||||
SetInt( 101, 250 );
|
||||
|
||||
SetHits( 40, 129 );
|
||||
SetStam( 0 );
|
||||
|
||||
SetDamage( 9, 11 );
|
||||
|
||||
SetSkill( SkillName.Concentration, 90.1, 100.0 );
|
||||
SetSkill( SkillName.Magery, 90.1, 100.0 );
|
||||
SetSkill( SkillName.MagicResist, 100.1, 125.0 );
|
||||
SetSkill( SkillName.Tactics, 45.1, 60.0 );
|
||||
SetSkill( SkillName.HandToHand, 50.1, 60.0 );
|
||||
|
||||
Fame = 3500;
|
||||
Karma = -3500;
|
||||
|
||||
VirtualArmor = 40;
|
||||
|
||||
PackWood( 10 );
|
||||
|
||||
PackItem( new MandrakeRoot( 5 ) );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Greater; } }
|
||||
public override bool DisallowAllMoves{ get{ return true; } }
|
||||
|
||||
public Reaper( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
57
Scripts/Mobiles/Plants/Shambler.cs
Normal file
57
Scripts/Mobiles/Plants/Shambler.cs
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a plant corpse" )]
|
||||
public class Shambler : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Shambler() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a shambler";
|
||||
Body = 125;
|
||||
BaseSoundID = 442;
|
||||
|
||||
SetStr( 96, 120 );
|
||||
SetDex( 91, 115 );
|
||||
SetInt( 21, 45 );
|
||||
|
||||
SetHits( 58, 72 );
|
||||
|
||||
SetDamage( 5, 7 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 75.1, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 55.1, 80.0 );
|
||||
SetSkill( SkillName.HandToHand, 55.1, 75.0 );
|
||||
|
||||
Fame = 450;
|
||||
Karma = -450;
|
||||
|
||||
VirtualArmor = 28;
|
||||
|
||||
PackItem( new WoodBoard( 4 ) );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public Shambler( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
62
Scripts/Mobiles/Plants/ShamblingMound.cs
Normal file
62
Scripts/Mobiles/Plants/ShamblingMound.cs
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a plant corpse" )]
|
||||
public class ShamblingMound : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public ShamblingMound() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.6, 1.2 )
|
||||
{
|
||||
Name = "a shambling mound";
|
||||
Body = 84;
|
||||
BaseSoundID = 442;
|
||||
|
||||
SetStr( 601, 700 );
|
||||
SetDex( 46, 65 );
|
||||
SetInt( 36, 50 );
|
||||
|
||||
SetHits( 481, 540 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 10, 23 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 90.1, 95.0 );
|
||||
SetSkill( SkillName.Tactics, 70.1, 85.0 );
|
||||
SetSkill( SkillName.HandToHand, 65.1, 80.0 );
|
||||
|
||||
Fame = 8000;
|
||||
Karma = -8000;
|
||||
|
||||
VirtualArmor = 42;
|
||||
|
||||
PackItem( new WoodBoard( 10 ) );
|
||||
PackReg( 3 );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average, 2 );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
|
||||
public ShamblingMound( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Mobiles/Plants/SwampTentacle.cs
Normal file
61
Scripts/Mobiles/Plants/SwampTentacle.cs
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a swamp tentacle corpse" )]
|
||||
public class SwampTentacle : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public SwampTentacle() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a swamp tentacle";
|
||||
Body = 8;
|
||||
Hue = 61;
|
||||
BaseSoundID = 352;
|
||||
|
||||
SetStr( 96, 120 );
|
||||
SetDex( 66, 85 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 58, 72 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 6, 12 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 15.1, 20.0 );
|
||||
SetSkill( SkillName.Tactics, 65.1, 80.0 );
|
||||
SetSkill( SkillName.HandToHand, 65.1, 80.0 );
|
||||
|
||||
Fame = 3000;
|
||||
Karma = -3000;
|
||||
|
||||
VirtualArmor = 28;
|
||||
|
||||
PackReg( 3 );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune{ get{ return Poison.Greater; } }
|
||||
|
||||
public SwampTentacle( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
69
Scripts/Mobiles/Plants/SwampThing.cs
Normal file
69
Scripts/Mobiles/Plants/SwampThing.cs
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
using System;
|
||||
using Server;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.Misc;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a mushy corpse" )]
|
||||
public class SwampThing : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public SwampThing() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a swamp thing";
|
||||
Body = 296;
|
||||
BaseSoundID = 427;
|
||||
AnimationMod = 3;
|
||||
|
||||
SetStr( 336, 385 );
|
||||
SetDex( 96, 115 );
|
||||
SetInt( 31, 55 );
|
||||
|
||||
SetHits( 202, 231 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 7, 23 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 60.3, 105.0 );
|
||||
SetSkill( SkillName.Tactics, 80.1, 100.0 );
|
||||
SetSkill( SkillName.HandToHand, 80.1, 90.0 );
|
||||
|
||||
Fame = 5500;
|
||||
Karma = -5500;
|
||||
|
||||
VirtualArmor = 48;
|
||||
|
||||
PackReg( 5 );
|
||||
PackReg( 6 );
|
||||
PackReg( 7 );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
AddLoot( LootPack.Average );
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
|
||||
public SwampThing( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
58
Scripts/Mobiles/Plants/WhippingVine.cs
Normal file
58
Scripts/Mobiles/Plants/WhippingVine.cs
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a whipping vine corpse" )]
|
||||
public class WhippingVine : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public WhippingVine() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a whipping vine";
|
||||
Body = 8;
|
||||
Hue = 0x851;
|
||||
BaseSoundID = 352;
|
||||
|
||||
SetStr( 251, 300 );
|
||||
SetDex( 76, 100 );
|
||||
SetInt( 26, 40 );
|
||||
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 7, 25 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 70.0 );
|
||||
SetSkill( SkillName.Tactics, 70.0 );
|
||||
SetSkill( SkillName.HandToHand, 70.0 );
|
||||
|
||||
Fame = 1000;
|
||||
Karma = -1000;
|
||||
|
||||
VirtualArmor = 45;
|
||||
|
||||
PackReg( 3 );
|
||||
|
||||
PackItem( new Vines() );
|
||||
}
|
||||
|
||||
public override bool BardImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
|
||||
public WhippingVine( 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