Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,101 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletBag : Bag
{
[Constructable]
public AmuletBag( int amount )
{
Weight = 5000.0;
Movable = true;
Hue = 1152;
Name = "Test em out!";
}
[Constructable]
public AmuletBag()
{
DropItem( new AmuletOfTheAlligator() );
DropItem( new AmuletOfTheBoneDemon() );
DropItem( new AmuletOfTheBoneKnight() );
DropItem( new AmuletOfTheBrownBear() );
DropItem( new AmuletOfTheBullFrog() );
DropItem( new AmuletOfTheCat() );
DropItem( new AmuletOfTheCentaur() );
DropItem( new AmuletOfTheChicken() );
DropItem( new AmuletOfTheCylops() );
DropItem( new AmuletOfTheDarkFather() );
DropItem( new AmuletOfTheDragon() );
DropItem( new AmuletOfTheDrake() );
DropItem( new AmuletOfTheEarthElemental() );
DropItem( new AmuletOfTheEtherealWarrior() );
DropItem( new AmuletOfTheEvilMage() );
DropItem( new AmuletOfTheGazer() );
DropItem( new AmuletOfTheGiantPixie() );
DropItem( new AmuletOfTheGiantSerpent() );
DropItem( new AmuletOfTheGiantSpider() );
DropItem( new AmuletOfTheGiantToad() );
DropItem( new AmuletOfTheGorilla() );
DropItem( new AmuletOfTheHarpy() );
DropItem( new AmuletOfTheImp() );
DropItem( new AmuletOfTheLightElemental() );
DropItem( new AmuletOfTheOphidianMatriarch() );
DropItem( new AmuletOfTheMommy() );
DropItem( new AmuletOfTheMongbat() );
DropItem( new AmuletOfTheOphidianKnight() );
DropItem( new AmuletOfTheOphidianMage() );
DropItem( new AmuletOfTheOrc() );
DropItem( new AmuletOfTheOrcBrut() );
DropItem( new AmuletOfTheOrcLord() );
DropItem( new AmuletOfThePanther() );
DropItem( new AmuletOfThePig() );
DropItem( new AmuletOfThePixie() );
DropItem( new AmuletOfThePolorBear() );
DropItem( new AmuletOfTheRabbit() );
DropItem( new AmuletOfTheRatman() );
DropItem( new AmuletOfTheRedDragon() );
DropItem( new AmuletOfTheRedDrake() );
DropItem( new AmuletOfTheScorpion() );
DropItem( new AmuletOfTheShadowKnight() );
DropItem( new AmuletOfTheSheep() );
DropItem( new AmuletOfTheSnake() );
DropItem( new AmuletOfTheSuccubus() );
DropItem( new AmuletOfTheTerathanAvenger() );
DropItem( new AmuletOfTheTerathanDrone() );
DropItem( new AmuletOfTheTerathanMatriarch() );
DropItem( new AmuletOfTheTerathanWarrior() );
DropItem( new AmuletOfTheTitan() );
DropItem( new AmuletOfTheTreeFellow() );
DropItem( new AmuletOfTheWaterElemental() );
DropItem( new AmuletOfTheWisp() );
DropItem( new AmuletOfTheWolf() );
DropItem( new AmuletOfTheWTF() );
DropItem( new AmuletOfTheWyvern() );
DropItem( new AmuletOfTheZombie() );
DropItem( new SexChangeingAmulet() );
}
public AmuletBag( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheAlligator : SilverNecklace
{
[Constructable]
public AmuletOfTheAlligator()
{
Weight = 0.2;
Name = "Amulet Of The Alligator";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 93 );
m.BodyMod = 133;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 133 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 93 );
m.BodyMod = 133;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 133 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheAlligator( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBoneDemon : SilverNecklace
{
[Constructable]
public AmuletOfTheBoneDemon()
{
Weight = 0.2;
Name = "Amulet Of The Bone Demon";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 697 );
m.BodyMod = 308;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 308 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 697 );
m.BodyMod = 308;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 308 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBoneDemon( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBoneKnight : SilverNecklace
{
[Constructable]
public AmuletOfTheBoneKnight()
{
Weight = 0.2;
Name = "Amulet Of The Bone Knight";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 451 );
m.BodyMod = 147;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 147 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 451 );
m.BodyMod = 147;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 147 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBoneKnight( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBrownBear : SilverNecklace
{
[Constructable]
public AmuletOfTheBrownBear()
{
Weight = 0.2;
Name = "Amulet Of The Brown Bear";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 95 );
m.BodyMod = 167;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 167 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 95 );
m.BodyMod = 167;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 167 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBrownBear( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBullFrog : SilverNecklace
{
[Constructable]
public AmuletOfTheBullFrog()
{
Weight = 0.2;
Name = "Amulet Of The Bull Frog";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 620 );
m.BodyMod = 81;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 81 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 620 );
m.BodyMod = 81;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 81 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBullFrog( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheCat : SilverNecklace
{
[Constructable]
public AmuletOfTheCat()
{
Weight = 0.2;
Name = "Amulet Of The Cat";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 105 );
m.BodyMod = 201;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 201 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 105 );
m.BodyMod = 201;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 201 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheCat( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheCentaur : SilverNecklace
{
[Constructable]
public AmuletOfTheCentaur()
{
Weight = 0.2;
Name = "Amulet Of The Centaur";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 680 );
m.BodyMod = 101;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 101 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 680 );
m.BodyMod = 101;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 101 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheCentaur( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheChicken : SilverNecklace
{
[Constructable]
public AmuletOfTheChicken()
{
Weight = 0.2;
Name = "Amulet Of The Chicken";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 111 );
m.BodyMod = 208;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 208 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 111 );
m.BodyMod = 208;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 208 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheChicken( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheCylops : SilverNecklace
{
[Constructable]
public AmuletOfTheCylops()
{
Weight = 0.2;
Name = "Amulet Of The Cylops";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 604 );
m.BodyMod = 75;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 75 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 604 );
m.BodyMod = 75;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 75 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheCylops( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheDarkFather : SilverNecklace
{
[Constructable]
public AmuletOfTheDarkFather()
{
Weight = 0.2;
Name = "Amulet Of The Dark Father";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 699 );
m.BodyMod = 318;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 318 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 699 );
m.BodyMod = 318;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 318 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheDarkFather( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheDragon : SilverNecklace
{
[Constructable]
public AmuletOfTheDragon()
{
Weight = 0.2;
Name = "Amulet Of The Dragon";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 49;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 49 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 49;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 49 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheDragon( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheDrake : SilverNecklace
{
[Constructable]
public AmuletOfTheDrake()
{
Weight = 0.2;
Name = "Amulet Of The Drake";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 708 );
m.BodyMod = 60;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 60 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 708 );
m.BodyMod = 60;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 60 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheDrake( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheEarthElemental : SilverNecklace
{
[Constructable]
public AmuletOfTheEarthElemental()
{
Weight = 0.2;
Name = "Amulet Of The Earth Elemental";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 269 );
m.BodyMod = 161;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 161 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 269 );
m.BodyMod = 161;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 161 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheEarthElemental( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheEtherealWarrior : SilverNecklace
{
[Constructable]
public AmuletOfTheEtherealWarrior()
{
Weight = 0.2;
Name = "Amulet OfT he Ethereal Warrior";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 758 );
m.BodyMod = 123;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 123 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 758 );
m.BodyMod = 123;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 123 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheEtherealWarrior( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheEvilMage : SilverNecklace
{
[Constructable]
public AmuletOfTheEvilMage()
{
Weight = 0.2;
Name = "Amulet Of The Evil Mage";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1067 );
m.BodyMod = 126;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 126 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 783 );
m.BodyMod = 126;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 126 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheEvilMage( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGazer : SilverNecklace
{
[Constructable]
public AmuletOfTheGazer()
{
Weight = 0.2;
Name = "Amulet Of The Gazer";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 377 );
m.BodyMod = 69;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 69 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 377 );
m.BodyMod = 69;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 69 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGazer( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantPixie : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantPixie()
{
Weight = 0.2;
Name = "Amulet Of The Giant Pixie";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 287 );
m.BodyMod = 176;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 176 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 287 );
m.BodyMod = 176;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 176 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantPixie( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantSerpent : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantSerpent()
{
Weight = 0.2;
Name = "Amulet Of The Giant Serpent";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 219 );
m.BodyMod = 93;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 93 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 219 );
m.BodyMod = 93;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 93 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantSerpent( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantSpider : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantSpider()
{
Weight = 0.2;
Name = "Amulet Of The Giant Spider";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 387 );
m.BodyMod = 157;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 157 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 387 );
m.BodyMod = 157;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 157 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantSpider( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantToad : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantToad()
{
Weight = 0.2;
Name = "Amulet Of The Giant Toad";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 619 );
m.BodyMod = 80;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 80 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 619 );
m.BodyMod = 80;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 80 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantToad( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGorilla : SilverNecklace
{
[Constructable]
public AmuletOfTheGorilla()
{
Weight = 0.2;
Name = "Amulet Of The Gorilla";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 159 );
m.BodyMod = 29;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 29 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 159 );
m.BodyMod = 29;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 29 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGorilla( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheHarpy : SilverNecklace
{
[Constructable]
public AmuletOfTheHarpy()
{
Weight = 0.2;
Name = "Amulet Of The Harpy";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 402 );
m.BodyMod = 73;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 73 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 402 );
m.BodyMod = 73;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 73 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheHarpy( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheImp : SilverNecklace
{
[Constructable]
public AmuletOfTheImp()
{
Weight = 0.2;
Name = "Amulet Of The Imp";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 74;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 74 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 74;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 74 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheImp( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheLightElemental : SilverNecklace
{
[Constructable]
public AmuletOfTheLightElemental()
{
Weight = 0.2;
Name = "Amulet Of The Light Elemental";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 86 );
m.BodyMod = 199;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 199 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 86 );
m.BodyMod = 199;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 199 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheLightElemental( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheMommy : SilverNecklace
{
[Constructable]
public AmuletOfTheMommy()
{
Weight = 0.2;
Name = "Amulet Of The Mommy";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 472 );
m.BodyMod = 154;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 154 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 472 );
m.BodyMod = 154;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 154 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheMommy( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheMongbat : SilverNecklace
{
[Constructable]
public AmuletOfTheMongbat()
{
Weight = 0.2;
Name = "Amulet Of The Mongbat";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 39;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 39 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 39;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 39 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheMongbat( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOphidianKnight : SilverNecklace
{
[Constructable]
public AmuletOfTheOphidianKnight()
{
Weight = 0.2;
Name = "Amulet Of The Ophidian Knight";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 636 );
m.BodyMod = 86;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 86 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 636 );
m.BodyMod = 86;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 86 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOphidianKnight( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOphidianMage : SilverNecklace
{
[Constructable]
public AmuletOfTheOphidianMage()
{
Weight = 0.2;
Name = "Amulet Of The Ophidian Mage";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 634 );
m.BodyMod = 85;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 85 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 634 );
m.BodyMod = 85;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 85 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOphidianMage( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOphidianMatriarch : SilverNecklace
{
[Constructable]
public AmuletOfTheOphidianMatriarch()
{
Weight = 0.2;
Name = "Amulet Of The Ophidian Matriarch";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 635 );
m.BodyMod = 87;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 87 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 635 );
m.BodyMod = 87;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 87 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOphidianMatriarch( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOrc : SilverNecklace
{
[Constructable]
public AmuletOfTheOrc()
{
Weight = 0.2;
Name = "Amulet Of The Orc";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 433 );
m.BodyMod = 140;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 140 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 433 );
m.BodyMod = 140;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 140 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOrc( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOrcBrut : SilverNecklace
{
[Constructable]
public AmuletOfTheOrcBrut()
{
Weight = 0.2;
Name = "Amulet Of The Orc Brut";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 434 );
m.BodyMod = 189;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 189 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 434 );
m.BodyMod = 189;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 189 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOrcBrut( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOrcLord : SilverNecklace
{
[Constructable]
public AmuletOfTheOrcLord()
{
Weight = 0.2;
Name = "Amulet Of The Orc Lord";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 435 );
m.BodyMod = 139;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 139 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 435 );
m.BodyMod = 139;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 139 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOrcLord( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePanther : SilverNecklace
{
[Constructable]
public AmuletOfThePanther()
{
Weight = 0.2;
Name = "Amulet Of The Panther";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 186 );
m.BodyMod = 64;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 64 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 186 );
m.BodyMod = 64;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 64 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePanther( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePig : SilverNecklace
{
[Constructable]
public AmuletOfThePig()
{
Weight = 0.2;
Name = "Amulet Of The Pig";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 196 );
m.BodyMod = 203;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 203 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 196 );
m.BodyMod = 203;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 203 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePig( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePixie : SilverNecklace
{
[Constructable]
public AmuletOfThePixie()
{
Weight = 0.2;
Name = "Amulet Of The Pixie";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 288 );
m.BodyMod = 128;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 128 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 288 );
m.BodyMod = 128;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 128 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePixie( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePolorBear : SilverNecklace
{
[Constructable]
public AmuletOfThePolorBear()
{
Weight = 0.2;
Name = "Amulet Of The Polor Bear";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 96 );
m.BodyMod = 213;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 213 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 96 );
m.BodyMod = 213;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 213 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePolorBear( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRabbit : SilverNecklace
{
[Constructable]
public AmuletOfTheRabbit()
{
Weight = 0.2;
Name = "Amulet Of The Rabbit";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 201 );
m.BodyMod = 205;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 205 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 201 );
m.BodyMod = 205;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 205 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRabbit( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRatman : SilverNecklace
{
[Constructable]
public AmuletOfTheRatman()
{
Weight = 0.2;
Name = "Amulet Of The Ratman";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 438 );
m.BodyMod = 45;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 45 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 438 );
m.BodyMod = 45;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 45 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRatman( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRedDragon : SilverNecklace
{
[Constructable]
public AmuletOfTheRedDragon()
{
Weight = 0.2;
Name = "Amulet Of The Red Dragon";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 363 );
m.BodyMod = 59;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 59 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 363 );
m.BodyMod = 59;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 59 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRedDragon( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRedDrake : SilverNecklace
{
[Constructable]
public AmuletOfTheRedDrake()
{
Weight = 0.2;
Name = "Amulet Of The Red Drake";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 725 );
m.BodyMod = 61;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 61 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 725 );
m.BodyMod = 61;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 61 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRedDrake( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheScorpion : SilverNecklace
{
[Constructable]
public AmuletOfTheScorpion()
{
Weight = 0.2;
Name = "Amulet Of The Scorpion";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 397 );
m.BodyMod = 48;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 48 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 397 );
m.BodyMod = 48;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 48 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheScorpion( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheShadowKnight : SilverNecklace
{
[Constructable]
public AmuletOfTheShadowKnight()
{
Weight = 0.2;
Name = "Amulet Of The Shadow Knight";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1150 );
m.BodyMod = 311;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 311 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1150 );
m.BodyMod = 311;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 311 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheShadowKnight( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheSheep : SilverNecklace
{
[Constructable]
public AmuletOfTheSheep()
{
Weight = 0.2;
Name = "Amulet Of The Sheep";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 215 );
m.BodyMod = 207;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 207 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 215 );
m.BodyMod = 207;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 207 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheSheep( 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();
}
}
}

View File

@@ -0,0 +1,119 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheSnake : SilverNecklace
{
[Constructable]
public AmuletOfTheSnake()
{
Weight = 0.2;
Name = "Amulet Of The Snake";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 220 );
m.BodyMod = 52;
m.NameMod = "a snake";
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 52 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.NameMod = null;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 220 );
m.BodyMod = 52;
m.NameMod = "a snake";
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 52 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.NameMod = null;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheSnake( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheSuccubus : SilverNecklace
{
[Constructable]
public AmuletOfTheSuccubus()
{
Weight = 0.2;
Name = "Amulet Of The Succubus";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1201 );
m.BodyMod = 149;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 149 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1201 );
m.BodyMod = 149;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 149 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheSuccubus( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanAvenger : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanAvenger()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Avenger";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 592 );
m.BodyMod = 152;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 152 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 592 );
m.BodyMod = 152;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 152 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanAvenger( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanDrone : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanDrone()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Drone";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 590 );
m.BodyMod = 71;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 71 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 590 );
m.BodyMod = 71;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 71 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanDrone( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanMatriarch : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanMatriarch()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Matriarch";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 589 );
m.BodyMod = 72;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 72 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 589 );
m.BodyMod = 72;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 72 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanMatriarch( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanWarrior : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanWarrior()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Warrior";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 591 );
m.BodyMod = 70;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 70 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 591 );
m.BodyMod = 70;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 70 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanWarrior( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTitan : SilverNecklace
{
[Constructable]
public AmuletOfTheTitan()
{
Weight = 0.2;
Name = "Amulet Of The Titan";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 610 );
m.BodyMod = 76;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 76 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 610 );
m.BodyMod = 76;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 76 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTitan( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTreeFellow : SilverNecklace
{
[Constructable]
public AmuletOfTheTreeFellow()
{
Weight = 0.2;
Name = "Amulet Of The Tree Fellow";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 0 );
m.BodyMod = 301;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 301 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 0 );
m.BodyMod = 301;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 301 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTreeFellow( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWTF : SilverNecklace
{
[Constructable]
public AmuletOfTheWTF()
{
Weight = 0.2;
Name = "Amulet Of The WTF";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 85 );
m.BodyMod = 196;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 196 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 85 );
m.BodyMod = 196;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 196 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWTF( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWaterElemental : SilverNecklace
{
[Constructable]
public AmuletOfTheWaterElemental()
{
Weight = 0.2;
Name = "Amulet Of The Water Elemental";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 278 );
m.BodyMod = 158;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 158 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 278 );
m.BodyMod = 158;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 158 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWaterElemental( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWisp : SilverNecklace
{
[Constructable]
public AmuletOfTheWisp()
{
Weight = 0.2;
Name = "Amulet Of The Wisp";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 466 );
m.BodyMod = 165;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 165 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 466 );
m.BodyMod = 165;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 165 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWisp( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWolf : SilverNecklace
{
[Constructable]
public AmuletOfTheWolf()
{
Weight = 0.2;
Name = "Amulet Of The Wolf";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 230 );
m.BodyMod = 100;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 100 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 230 );
m.BodyMod = 100;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 100 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWolf( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWyvern : SilverNecklace
{
[Constructable]
public AmuletOfTheWyvern()
{
Weight = 0.2;
Name = "Amulet Of The Wyvern";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 62;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 62 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 62;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 62 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWyvern( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheZombie : SilverNecklace
{
[Constructable]
public AmuletOfTheZombie()
{
Weight = 0.2;
Name = "Amulet Of The Zombie";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 471 );
m.BodyMod = 155;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 155 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 471 );
m.BodyMod = 155;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 155 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheZombie( 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();
}
}
}

View File

@@ -0,0 +1,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class SexChangeingAmulet : SilverNecklace
{
[Constructable]
public SexChangeingAmulet()
{
Weight = 0.2;
Name = "Sex Changeing Amulet";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 795 );
m.BodyMod = 184;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 184 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1067 );
m.BodyMod = 183;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 183 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public SexChangeingAmulet( 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();
}
}
}

View File

@@ -0,0 +1,44 @@
using System;
using Server;
namespace Server.Items
{
public class AlchemyHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public AlchemyHalf()
{
Name = "The Alchemist";
Hue = 1162;
SkillBonuses.SetValues( 0, SkillName.Alchemy, 10.0 );
Resistances.Physical = 5;
Resistances.Fire = 5;
Resistances.Cold = 5;
Resistances.Poison = 5;
Resistances.Energy = 5;
Attributes.CastSpeed = 2;
Attributes.CastRecovery = 2;
}
public AlchemyHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,40 @@
//By Zero
using System;
using Server.Network;
using Server.Items;
using Server.Targeting;
namespace Server.Items
{
public class BaseWorldArty : GruesomeStandardArtifact
{
[Constructable]
public BaseWorldArty()
{
Name = "Base World Stealable" ;
Hue = 1919 ;
ItemID = 3796 ;
}
public BaseWorldArty( Serial serial ) : base( serial )
{
}
public override int ArtifactRarity{ get{ return 12; } }
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();
}
}
}

View File

@@ -0,0 +1,65 @@
using System;
using Server;
namespace Server.Items
{
public class BunnySlippers: Shoes
{
public override CraftResource DefaultResource{ get{ return CraftResource.RegularLeather; } }
[Constructable]
public BunnySlippers()
{
Name = "Bunny Slippers";
Hue = 902;
Attributes.AttackChance = 45;
Attributes.BonusDex = 25;
Attributes.BonusHits = 20;
Attributes.BonusInt = 35;
Attributes.BonusMana = 35;
Attributes.BonusStam = 37;
Attributes.CastRecovery = 10;
Attributes.CastSpeed = 10;
Attributes.DefendChance = 54;
//Attributes.EnhancePotions = 30;
Attributes.LowerManaCost = 50;
Attributes.LowerRegCost = 50;
Attributes.Luck = 620;
Attributes.NightSight = 1;
Attributes.ReflectPhysical = 55;
Attributes.RegenHits = 50;
Attributes.RegenMana = 53;
Attributes.RegenStam = 54;
Attributes.SpellChanneling = 1;
SkillBonuses.SetValues(0, SkillName.AnimalTaming, 15.0);
SkillBonuses.SetValues(1, SkillName.Stealth, 10.0);
SkillBonuses.SetValues(2, SkillName.Swords, 12.0);
SkillBonuses.SetValues(3, SkillName.Hiding, 15.0);
SkillBonuses.SetValues(4, SkillName.AnimalLore, 15.0);
}
public BunnySlippers(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();
}
}
}

View File

@@ -0,0 +1,44 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class AmberCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public AmberCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Amber Cincture";
Hue = 1359;
Attributes.BonusInt = 5;
Attributes.BonusStam = 10;
Attributes.RegenStam = 2;
}
public AmberCincture( 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();
}
}
}

View File

@@ -0,0 +1,44 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class AzureCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public AzureCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Azure Cincture";
Hue = 193;
Attributes.BonusStr = 5;
Attributes.BonusMana = 10;
Attributes.RegenMana = 2;
}
public AzureCincture( 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();
}
}
}

View File

@@ -0,0 +1,71 @@
// Scripted by Jumpnjahosofat //
//Modded by Velius//
using System;
using Server;
using Server.Gumps;
using Server.Network;
namespace Server.Items
{
public class CinctureDeed : Item
{
[Constructable]
public CinctureDeed () : this( null )
{
}
[Constructable]
public CinctureDeed ( string name ) : base ( 0x14F0 )
{
Name = "A Random Cincture Prize Ticket";
Hue = 144;
}
public CinctureDeed ( Serial serial ) : base ( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage(1042001);
}
else
{
/////////////////Prize Cincture Deed
switch (Utility.Random(8))
{
case 0: from.AddToBackpack(new AmberCincture()); break;
case 1: from.AddToBackpack(new AzureCincture()); break;
case 2: from.AddToBackpack(new GoldCincture()); break;
case 3: from.AddToBackpack(new IndigoCincture()); break;
case 4: from.AddToBackpack(new IvoryCincture()); break;
case 5: from.AddToBackpack(new JadeCincture()); break;
case 6: from.AddToBackpack(new SilverCincture()); break;
case 7: from.AddToBackpack(new CrimsonCincture()); break;
}
this.Delete();
}
}
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();
}
}
}

View File

@@ -0,0 +1,42 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class GoldCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public GoldCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Gold Cincture";
Hue = 1177;
Attributes.Luck = 200;
}
public GoldCincture( 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();
}
}
}

View File

@@ -0,0 +1,43 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class IndigoCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public IndigoCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Indigo Cincture";
Hue = 1282;
Attributes.AttackChance = 5;
Attributes.DefendChance = 5;
}
public IndigoCincture( 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();
}
}
}

View File

@@ -0,0 +1,42 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class IvoryCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public IvoryCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Ivory Cincture";
Hue = 1153;
Attributes.LowerManaCost = 10;
}
public IvoryCincture( 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();
}
}
}

View File

@@ -0,0 +1,42 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class JadeCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public JadeCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Jade Cincture";
Hue = 1418;
Attributes.WeaponSpeed = 5;
}
public JadeCincture( 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();
}
}
}

View File

@@ -0,0 +1,44 @@
using System;
using Server;
using Server.Items;
namespace Server.Items
{
[FlipableAttribute( 0x153B, 0x153C )]
public class SilverCincture : BaseWaist
{
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list); list.Add(1075085);
}
[Constructable]
public SilverCincture() : base ( 0x153B )
{
Weight = 2.0;
Name = "Silver Cincture";
Hue = 1154;
Attributes.RegenHits = 2;
Attributes.RegenMana = 2;
Attributes.RegenStam = 2;
}
public SilverCincture( 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();
}
}
}

View File

@@ -0,0 +1,38 @@
using System;
using Server;
namespace Server.Items
{
public class DarkAgeHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public DarkAgeHalf()
{
Name = "Dark Age Apron";
Hue = 1910;
Attributes.AttackChance = 10;
Attributes.Luck = 250;
Attributes.DefendChance = 10;
}
public DarkAgeHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using Server;
namespace Server.Items
{
public class FalseHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public FalseHalf()
{
Name = "False";
Hue = 0xB;
Attributes.BonusDex = 10;
Attributes.BonusStr = 10;
Attributes.BonusInt = 10;
Resistances.Physical = 1;
Resistances.Fire = 1;
Resistances.Cold = 1;
Resistances.Poison = 1;
Resistances.Energy = 1;
Attributes.CastSpeed = 1;
Attributes.CastRecovery = 1;
}
public FalseHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,38 @@
using System;
using Server;
namespace Server.Items
{
public class FightersHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public FightersHalf()
{
Name = "The Fighter";
Hue = 2075;
Attributes.BonusDex = 10;
Attributes.BonusStr = 10;
Attributes.BonusInt = 10;
Attributes.AttackChance = 10;
}
public FightersHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,38 @@
using System;
using Server;
namespace Server.Items
{
public class GroveHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public GroveHalf()
{
Name = "Grove Apron";
Hue = 1153;
Attributes.AttackChance = 10;
Attributes.Luck = 250;
Attributes.DefendChance = 10;
}
public GroveHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using Server;
namespace Server.Items
{
public class LuckyHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public LuckyHalf()
{
Name = "-Your Lucky-";
Hue = 1177;
Attributes.Luck = 1000;
}
public LuckyHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,38 @@
using System;
using Server;
namespace Server.Items
{
public class MageHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public MageHalf()
{
Name = "The Mage";
Hue = 1152;
Attributes.BonusInt = 25;
Attributes.CastSpeed = 2;
Attributes.CastRecovery = 2;
}
public MageHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,38 @@
using System;
using Server;
namespace Server.Items
{
public class NecroHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public NecroHalf()
{
Name = "The Necromancer";
Hue = 1172;
Attributes.BonusInt = 15;
SkillBonuses.SetValues( 0, SkillName.Necromancy, 10.0 );
Attributes.CastSpeed = 1;
}
public NecroHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,48 @@
using System;
using Server;
namespace Server.Items
{
public class PVPHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public PVPHalf()
{
Name = "-PWNED-";
Hue = 1975;
Attributes.BonusDex = 5;
Attributes.BonusStr = 5;
Attributes.BonusInt = 5;
Resistances.Physical = 5;
Resistances.Fire = 5;
Resistances.Cold = 5;
Resistances.Poison = 5;
Resistances.Energy = 5;
Attributes.WeaponSpeed = 25;
Attributes.CastSpeed = 1;
Attributes.CastRecovery = 1;
Attributes.RegenHits = 5;
}
public PVPHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,41 @@
using System;
using Server;
namespace Server.Items
{
public class PaliHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public PaliHalf()
{
Name = "The Paladin";
Hue = 1176;
Attributes.BonusStr = 10;
Attributes.BonusInt = 10;
SkillBonuses.SetValues( 0, SkillName.Chivalry, 10.0 );
Resistances.Energy = 10;
Attributes.CastSpeed = 1;
Attributes.CastRecovery = 1;
}
public PaliHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,85 @@
using System;
using Server;
namespace Server.Items
{
public class TamersHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
private SkillMod m_SkillMod0;
private SkillMod m_SkillMod1;
[Constructable]
public TamersHalf()
{
Name = "Tamers Half";
Hue = 1366;
//SkillBonuses.SetValues( 0, SkillName.AnimalLore, 10.0 );
//SkillBonuses.SetValues( 1, SkillName.AnimalTaming, 10.0 );
//Attributes.CastSpeed = 1;
//Attributes.CastRecovery = 1;
DefineMods();
}
private void DefineMods()
{
m_SkillMod0 = new DefaultSkillMod(SkillName.AnimalTaming, true, 10);
m_SkillMod1 = new DefaultSkillMod(SkillName.AnimalLore, true, 10);
}
private void SetMods(Mobile wearer)
{
wearer.AddSkillMod(m_SkillMod0);
wearer.AddSkillMod(m_SkillMod1);
}
public override bool OnEquip(Mobile from)
{
SetMods(from);
return true;
}
public override void OnRemoved(object parent)
{
if (parent is Mobile)
{
Mobile m = (Mobile)parent;
m.RemoveStatMod("Tamers Half");
if (m_SkillMod0 != null)
m_SkillMod0.Remove();
if (m_SkillMod1 != null)
m_SkillMod1.Remove();
}
}
public override void OnSingleClick(Mobile from)
{
this.LabelTo(from, Name);
}
public TamersHalf( Serial serial ) : base( serial )
{
DefineMods();
if (Parent != null && this.Parent is Mobile)
SetMods((Mobile)Parent);
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,38 @@
using System;
namespace Server.Items
{
public class TangleB : HalfApron
{
[Constructable]
public TangleB() : base()
{
Name = "Tangle";
Hue = 0x487;
Attributes.BonusInt = 10;
Attributes.RegenMana = 2;
Attributes.DefendChance = 5;
}
public TangleB( 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();
}
}
}

View File

@@ -0,0 +1,39 @@
using System;
using Server;
namespace Server.Items
{
public class TangleSA : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public TangleSA()
{
Name = "Tangle {Fogotten Artifact}";
Hue = 1917;
Attributes.AttackChance = 10;
Attributes.Luck = 250;
Attributes.DefendChance = 10;
Attributes.CastSpeed = 1;
}
public TangleSA( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using Server;
namespace Server.Items
{
public class ThiefHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public ThiefHalf()
{
Name = "The Thief";
Hue = 1363;
SkillBonuses.SetValues( 0, SkillName.Stealing, 10.0 );
SkillBonuses.SetValues( 1, SkillName.Stealth, 10.0 );
Attributes.AttackChance = 5;
}
public ThiefHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,43 @@
using System;
using Server;
namespace Server.Items
{
public class TrueHalf : HalfApron
{
public override int ArtifactRarity{ get{ return 13; } }
[Constructable]
public TrueHalf()
{
Name = "Truth";
Hue = 1153;
Attributes.BonusDex = 10;
Attributes.BonusStr = 5;
Attributes.BonusInt = 15;
Resistances.Physical = 5;
Resistances.Cold = 5;
Attributes.DefendChance = 10;
}
public TrueHalf( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,137 @@
using System;
using Server;
namespace Server.Items
{
public class ArcticBeacon : MetalShield
{
public override int BaseColdResistance{ get{ return 15; } }
public override int BaseFireResistance{ get{ return 0; } }
public override int ArtifactRarity{ get{ return 15; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[Constructable]
public ArcticBeacon()
{
Name = "Arctic Beacon";
ItemID = 2597;
Hue = Utility.RandomList( 1150, 1151, 1152, 1153, 1154, 2066 );
StrRequirement = 45;
Attributes.SpellChanneling = 1;
Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
Attributes.NightSight = 1;
}
public ArcticBeacon(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
//public override void OnDoubleClick(Mobile from)
//{
// Item y = from.Backpack.FindItemByType(typeof(AuraOfShadows));
// if (y != null)
// {
// if (this.ItemID == 2597) this.ItemID = 2597;
// else if (this.ItemID == 2597) this.ItemID = 2597;
// }
// else
// {
// from.SendMessage("Hmm didnt seem to work.:/");
// }
//}
//public override void OnDoubleClick(Mobile from)
//{
// Item y = from.Backpack.FindItemByType(typeof(EternalFlame));
// if (y != null)
// {
// if (this.ItemID == 2597) this.ItemID = 2597;
// else if (this.ItemID == 2597) this.ItemID = 2597;
// }
// else
// {
// from.SendMessage("Somehow this thing seems broken.");
// }
//}
//public override void OnDoubleClick(Mobile from)
//{
// Item y = from.Backpack.FindItemByType(typeof(NoxNightlight));
// if (y != null)
// {
// if (this.ItemID == 2597) this.ItemID = 2597;
// else if (this.ItemID == 2597) this.ItemID = 2597;
// }
// else
// {
// from.SendMessage("Well thats just great.");
// }
//}
//public override void OnDoubleClick(Mobile from)
//{
// Item y = from.Backpack.FindItemByType(typeof(PowerSurge));
// if (y != null)
// {
// if (this.ItemID == 2597) this.ItemID = 2597;
// else if (this.ItemID == 2597) this.ItemID = 2597;
// }
// else
// {
// from.SendMessage("It Didnt Work?!.");
// }
//}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,77 @@
using System;
using Server;
namespace Server.Items
{
public class AuraOfShadows : MetalShield
{
public override int BasePhysicalResistance{ get{ return 15; } }
public override int BaseFireResistance{ get{ return 0; } }
public override int ArtifactRarity{ get{ return 15; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[Constructable]
public AuraOfShadows()
{
Name = "Aura Of Shadows";
ItemID = 2597;
Hue = Utility.RandomList( 97, 2051, 2020, 1107, 1758, 2106 );
StrRequirement = 45;
Attributes.SpellChanneling = 1;
Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
Attributes.NightSight = 1;
}
public AuraOfShadows(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,87 @@
//BaleFire//
using System;
using Server;
namespace Server.Items
{
public class HeroFlame : MetalShield
{
//public override int BasePhysicalResistance { get { return 15; } }
//public override int BasePoisonResistance { get { return 15; } }
//public override int BaseColdResistance { get { return 15; } }
//public override int BaseEnergyResistance { get { return 15; } }
public override int BaseFireResistance { get { return 15; } }
public override int ArtifactRarity{ get{ return 13; } }
public override int InitMinHits{ get{ return 300; } }
public override int InitMaxHits{ get{ return 300; } }
[Constructable]
public HeroFlame()
{
Name = "-Heros Fury-";
ItemID = 2597;
Hue = Utility.RandomList( 1355, 1356, 1357, 1358, 1359, 1360, 1161, 1260 );
StrRequirement = 15;
Attributes.BonusStr = 10;
//Attributes.BonusInt = 10;
//Attributes.BonusDex = 10;
Attributes.SpellChanneling = 1;
Attributes.AttackChance = 15;
//Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 20;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
SkillBonuses.SetValues(0, SkillName.Fencing, 10.0);
//SkillBonuses.SetValues(0, SkillName.MaceFighting, 10.0);
//SkillBonuses.SetValues(0, SkillName.Swordsmanship, 10.0);
Light = LightType.Circle300;
}
public HeroFlame(Serial serial): base(serial)
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,88 @@
//BaleFire//
using System;
using Server;
namespace Server.Items
{
public class MageGuide : MetalShield
{
//public override int BasePhysicalResistance { get { return 15; } }
//public override int BasePoisonResistance { get { return 15; } }
//public override int BaseColdResistance { get { return 15; } }
public override int BaseEnergyResistance { get { return 15; } }
//public override int BaseFireResistance { get { return 15; } }
//public override int ArtifactRarity{ get{ return 13; } }
public override int InitMinHits{ get{ return 300; } }
public override int InitMaxHits{ get{ return 300; } }
[Constructable]
public MageGuide()
{
Name = "-Mages Guide-";
ItemID = 2597;
Hue = Utility.RandomList( 1158, 1159, 1163, 1168, 1170, 16 );
StrRequirement = 15;
//Attributes.BonusStr = 10;
Attributes.BonusInt = 10;
//Attributes.BonusDex = 10;
//Attributes.SpellChanneling = 1;
//Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
SkillBonuses.SetValues(0, SkillName.Magery, 10.0);
Light = LightType.Circle300;
}
public MageGuide(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
this.Attributes.NightSight = 1;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
this.Attributes.NightSight = 1;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,68 @@
//BaleFire//
using System;
using Server;
using Server.Gumps;
using Server.Network;
namespace Server.Items
{
public class NPLightDeed : Item
{
[Constructable]
public NPLightDeed () : this( null )
{
}
[Constructable]
public NPLightDeed ( string name ) : base ( 0x14F0 )
{
Name = "-New Players Light-";
Hue = 1366;
}
public NPLightDeed ( Serial serial ) : base ( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage(1042001);
}
else
{
/////////////////New Player Light Deed
switch (Utility.Random(5))
{
case 0: from.AddToBackpack(new Tundra()); break;
case 1: from.AddToBackpack(new NetherGuard()); break;
case 2: from.AddToBackpack(new HeroFlame()); break;
case 3: from.AddToBackpack(new ToxicLight()); break;
case 4: from.AddToBackpack(new MageGuide()); break;
}
this.Delete();
}
}
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();
}
}
}

View File

@@ -0,0 +1,84 @@
using System;
using Server;
namespace Server.Items
{
public class NetherGuard : MetalShield
{
public override int BasePhysicalResistance{ get{ return 15; } }
public override int BasePoisonResistance { get { return 15; } }
public override int BaseColdResistance { get { return 15; } }
public override int BaseEnergyResistance { get { return 15; } }
public override int BaseFireResistance{ get{ return 0; } }
public override int ArtifactRarity{ get{ return 15; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[Constructable]
public NetherGuard()
{
Name = "-Nether Guard-";
ItemID = 2597;
Hue = Utility.RandomList( 97, 2051, 2020, 1107, 1758, 2106 );
StrRequirement = 15;
Attributes.BonusStr = 10;
Attributes.BonusInt = 10;
Attributes.BonusDex = 10;
Attributes.SpellChanneling = 1;
Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 15;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
SkillBonuses.SetValues(0, SkillName.Necromancy, 10.0);
Light = LightType.Circle300;
}
public NetherGuard(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,86 @@
//BaleFire//
using System;
using Server;
namespace Server.Items
{
public class ToxicLight : MetalShield
{
//public override int BasePhysicalResistance { get { return 15; } }
public override int BasePoisonResistance { get { return 15; } }
//public override int BaseColdResistance { get { return 15; } }
//public override int BaseEnergyResistance { get { return 15; } }
//public override int BaseFireResistance { get { return 15; } }
public override int ArtifactRarity{ get{ return 13; } }
public override int InitMinHits{ get{ return 300; } }
public override int InitMaxHits{ get{ return 300; } }
[Constructable]
public ToxicLight()
{
Name = "-Toxic Light-";
ItemID = 2597;
Hue = Utility.RandomList( 1267, 1268, 1269, 1270, 1271, 1271, 1372, 1167 );
StrRequirement = 15;
//Attributes.BonusStr = 10;
Attributes.BonusInt = 10;
//Attributes.BonusDex = 10;
Attributes.SpellChanneling = 1;
//Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 30;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
//SkillBonuses.SetValues(0, SkillName.blah, 20.0);
Light = LightType.Circle300;
}
public ToxicLight(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,98 @@
//BaleFire//
using System;
using Server;
namespace Server.Items
{
public class Tundra : MetalShield
{
//public override int BasePhysicalResistance { get { return 15; } }
//public override int BasePoisonResistance { get { return 15; } }
public override int BaseColdResistance { get { return 15; } }
//public override int BaseEnergyResistance { get { return 15; } }
//public override int BaseFireResistance { get { return 15; } }
public override int ArtifactRarity { get { return 13; } }
public override int InitMinHits { get { return 300; } }
public override int InitMaxHits { get { return 300; } }
[Constructable]
public Tundra()
{
Name = "-Tundra-";
ItemID = 2597;
Hue = Utility.RandomList(1150, 1151, 1152, 1153, 1154, 2066);
StrRequirement = 15;
//Attributes.BonusStr = 10;
//Attributes.BonusInt = 10;
Attributes.BonusDex = 10;
Attributes.SpellChanneling = 1;
//Attributes.NightSight = 1;
Attributes.AttackChance = 5;
//Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 35;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
//SkillBonuses.SetValues(0, SkillName.Chivalry, 10.0);
Light = LightType.Circle300;
}
public Tundra(Serial serial)
: base(serial)
{
}
public override void OnDoubleClick(Mobile from)
{
if (!IsChildOf(from.Backpack))
switch (this.ItemID)
{
case 0:
{
this.ItemID = 2597;
this.Name = "Tundra";
break;
}
case 1:
{
this.ItemID = 2597;
this.Name = "HeroFlame";
break;
}
case 2:
{
this.ItemID = 2597;
this.Name = "ToxicLight";
break;
}
case 3:
{
this.ItemID = 2597;
this.Name = "MageGuide";
break;
}
case 4:
{
this.ItemID = 2597;
this.Name = "NetherGuard";
break;
}
}
}
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();
}
}
}

View File

@@ -0,0 +1,76 @@
using System;
using Server;
namespace Server.Items
{
public class EternalFlame : MetalShield
{
public override int BaseFireResistance{ get{ return 15; } }
public override int ArtifactRarity{ get{ return 15; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[Constructable]
public EternalFlame()
{
Name = "Eternal Flame";
ItemID = 2597;
Hue = Utility.RandomList( 1355, 1356, 1357, 1358, 1359, 1360, 1161, 1260 );
StrRequirement = 45;
Attributes.SpellChanneling = 1;
Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
Attributes.NightSight = 1;
}
public EternalFlame(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,69 @@
// Scripted by Jumpnjahosofat //
//Modded by Forgotten//
using System;
using Server;
using Server.Gumps;
using Server.Network;
namespace Server.Items
{
public class LanternDeed : Item
{
[Constructable]
public LanternDeed () : this( null )
{
}
[Constructable]
public LanternDeed ( string name ) : base ( 0x14F0 )
{
Name = "A Random Lantern Prize Ticket";
Hue = 37;
}
public LanternDeed ( Serial serial ) : base ( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage(1042001);
}
else
{
/////////////////Prize Lantern Deed
switch (Utility.Random(5))
{
case 0: from.AddToBackpack(new ArcticBeacon()); break;
case 1: from.AddToBackpack(new AuraOfShadows()); break;
case 2: from.AddToBackpack(new EternalFlame()); break;
case 3: from.AddToBackpack(new NoxNightlight()); break;
case 4: from.AddToBackpack(new PowerSurge()); break;
}
this.Delete();
}
}
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();
}
}
}

View File

@@ -0,0 +1,77 @@
using System;
using Server;
namespace Server.Items
{
public class NoxNightlight : MetalShield
{
public override int BasePoisonResistance{ get{ return 15; } }
public override int BaseFireResistance{ get{ return 0; } }
public override int ArtifactRarity{ get{ return 15; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[Constructable]
public NoxNightlight()
{
Name = "Nox Nightlight";
ItemID = 2597;
Hue = Utility.RandomList( 1267, 1268, 1269, 1270, 1271, 1271, 1372, 1167 );
StrRequirement = 45;
Attributes.SpellChanneling = 1;
Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
Attributes.NightSight = 1;
}
public NoxNightlight(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,79 @@
using System;
using Server;
namespace Server.Items
{
public class PowerSurge : MetalShield
{
public override int BaseEnergyResistance{ get{ return 15; } }
public override int BaseFireResistance{ get{ return 0; } }
public override int ArtifactRarity{ get{ return 15; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[Constructable]
public PowerSurge()
{
Name = "Power Surge";
ItemID = 2597;
Hue = Utility.RandomList( 1158, 1159, 1163, 1168, 1170, 16 );
StrRequirement = 45;
Attributes.SpellChanneling = 1;
Attributes.NightSight = 1;
Attributes.AttackChance = 5;
Attributes.DefendChance = 10;
Attributes.ReflectPhysical = 15;
Attributes.Luck = 150;
ArmorAttributes.SelfRepair = 3;
Attributes.NightSight = 1;
}
public PowerSurge(Serial serial) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
if ( this.ItemID == 2597 )
{
this.ItemID = 2594;
this.Attributes.NightSight = 1;
}
else if ( this.ItemID == 2594 )
{
this.ItemID = 2597;
this.Attributes.NightSight = 1;
}
else if (this.ItemID != 2597 || this.ItemID != 2594 )
{
from.SendMessage("There was a problem lighting your lantern. Please contact a staff member");
}
else
{
from.SendMessage( "Your lantern is broken. Please contact a staff member to repair it!" );
}
}
}
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();
}
} // End Class
} // End Namespace

View File

@@ -0,0 +1,100 @@
using System;
using Server.Network;
using Server.Items;
namespace Server.Items
{
public class MagicBandana : BaseHat
{
[Constructable]
public MagicBandana() : base( 0x1540 )
{
Name = "Magical Bandana";
Weight = 1.0;
int val = Utility.RandomList(1,2,3,4,5,6,7,8,9,10);
switch ( Utility.Random( 53 ) )
{
case 0: SkillBonuses.SetValues( 0, SkillName.Alchemy, val ); break;
case 1: SkillBonuses.SetValues( 0, SkillName.Anatomy, val ); break;
case 2: SkillBonuses.SetValues( 0, SkillName.AnimalLore, val ); break;
case 3: SkillBonuses.SetValues( 0, SkillName.ItemID, val ); break;
case 4: SkillBonuses.SetValues( 0, SkillName.ArmsLore, val ); break;
case 5: SkillBonuses.SetValues( 0, SkillName.Parry, val ); break;
case 6: SkillBonuses.SetValues( 0, SkillName.Begging, val ); break;
case 7: SkillBonuses.SetValues( 0, SkillName.Blacksmith, val ); break;
case 8: SkillBonuses.SetValues( 0, SkillName.Fletching, val ); break;
case 9: SkillBonuses.SetValues( 0, SkillName.Peacemaking , val ); break;
case 10: SkillBonuses.SetValues( 0,SkillName.Camping, val ); break;
case 11: SkillBonuses.SetValues( 0,SkillName.Carpentry, val ); break;
case 12: SkillBonuses.SetValues( 0,SkillName.Cartography, val ); break;
case 13: SkillBonuses.SetValues( 0,SkillName.Cooking, val ); break;
case 14: SkillBonuses.SetValues( 0,SkillName.DetectHidden, val ); break;
case 15: SkillBonuses.SetValues( 0,SkillName.Discordance, val ); break;
//case 16: SkillBonuses.SetValues( 0,SkillName.EvalInt, val ); break;
case 16: SkillBonuses.SetValues( 0,SkillName.Healing, val ); break;
case 17: SkillBonuses.SetValues( 0,SkillName.Fishing, val ); break;
case 18: SkillBonuses.SetValues( 0,SkillName.Forensics, val ); break;
case 19: SkillBonuses.SetValues( 0,SkillName.Herding, val ); break;
case 20: SkillBonuses.SetValues( 0,SkillName.Hiding, val ); break;
case 21: SkillBonuses.SetValues( 0,SkillName.Provocation, val ); break;
case 22: SkillBonuses.SetValues( 0,SkillName.Inscribe, val ); break;
case 23: SkillBonuses.SetValues( 0,SkillName.Lockpicking, val ); break;
case 24: SkillBonuses.SetValues( 0,SkillName.Magery, val ); break;
case 25: SkillBonuses.SetValues( 0,SkillName.MagicResist, val ); break;
case 26: SkillBonuses.SetValues( 0,SkillName.Tactics, val ); break;
case 27: SkillBonuses.SetValues( 0,SkillName.Snooping, val ); break;
case 28: SkillBonuses.SetValues( 0,SkillName.Musicianship, val ); break;
case 29: SkillBonuses.SetValues( 0,SkillName.Poisoning, val ); break;
case 30: SkillBonuses.SetValues( 0,SkillName.Archery, val ); break;
case 31: SkillBonuses.SetValues( 0,SkillName.SpiritSpeak, val ); break;
case 32: SkillBonuses.SetValues( 0,SkillName.Stealing, val ); break;
case 33: SkillBonuses.SetValues( 0,SkillName.Tailoring, val ); break;
case 34: SkillBonuses.SetValues( 0,SkillName.AnimalTaming, val ); break;
case 35: SkillBonuses.SetValues( 0,SkillName.TasteID, val ); break;
case 36: SkillBonuses.SetValues( 0,SkillName.Tinkering, val ); break;
case 37: SkillBonuses.SetValues( 0,SkillName.Tracking , val ); break;
case 38: SkillBonuses.SetValues( 0,SkillName.Veterinary, val ); break;
case 39: SkillBonuses.SetValues( 0,SkillName.Swords, val ); break;
case 40: SkillBonuses.SetValues( 0,SkillName.Macing, val ); break;
case 41: SkillBonuses.SetValues( 0,SkillName.Fencing, val ); break;
case 42: SkillBonuses.SetValues( 0,SkillName.Wrestling, val ); break;
case 43: SkillBonuses.SetValues( 0,SkillName.Lumberjacking, val ); break;
case 44: SkillBonuses.SetValues( 0,SkillName.Mining, val ); break;
case 45: SkillBonuses.SetValues( 0,SkillName.Meditation, val ); break;
case 46: SkillBonuses.SetValues( 0,SkillName.Stealth, val ); break;
case 47: SkillBonuses.SetValues( 0,SkillName.RemoveTrap, val ); break;
case 48: SkillBonuses.SetValues( 0,SkillName.Necromancy , val ); break;
case 49: SkillBonuses.SetValues( 0,SkillName.Focus, val ); break;
case 50: SkillBonuses.SetValues( 0,SkillName.Chivalry, val ); break;
case 51: SkillBonuses.SetValues( 0,SkillName.Bushido, val ); break;
case 52: SkillBonuses.SetValues( 0,SkillName.Ninjitsu, val ); break;
}
}
public MagicBandana( 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();
}
}
}

View File

@@ -0,0 +1,99 @@
using System;
using Server.Network;
using Server.Items;
namespace Server.Items
{
public class MagicBodySash : BaseMiddleTorso
{
[Constructable]
public MagicBodySash() : base( 0x1541 )
{
Name = "Magical Body Sash";
Weight = 1.0;
int val = Utility.RandomList(1,2,3,4,5,6,7,8,9,10);
switch ( Utility.Random( 53 ) )
{
case 0: SkillBonuses.SetValues( 0, SkillName.Alchemy, val ); break;
case 1: SkillBonuses.SetValues( 0, SkillName.Anatomy, val ); break;
case 2: SkillBonuses.SetValues( 0, SkillName.AnimalLore, val ); break;
case 3: SkillBonuses.SetValues( 0, SkillName.ItemID, val ); break;
case 4: SkillBonuses.SetValues( 0, SkillName.ArmsLore, val ); break;
case 5: SkillBonuses.SetValues( 0, SkillName.Parry, val ); break;
case 6: SkillBonuses.SetValues( 0, SkillName.Begging, val ); break;
case 7: SkillBonuses.SetValues( 0, SkillName.Blacksmith, val ); break;
case 8: SkillBonuses.SetValues( 0, SkillName.Fletching, val ); break;
case 9: SkillBonuses.SetValues( 0, SkillName.Peacemaking , val ); break;
case 10: SkillBonuses.SetValues( 0,SkillName.Camping, val ); break;
case 11: SkillBonuses.SetValues( 0,SkillName.Carpentry, val ); break;
case 12: SkillBonuses.SetValues( 0,SkillName.Cartography, val ); break;
case 13: SkillBonuses.SetValues( 0,SkillName.Cooking, val ); break;
case 14: SkillBonuses.SetValues( 0,SkillName.DetectHidden, val ); break;
case 15: SkillBonuses.SetValues( 0,SkillName.Discordance, val ); break;
//case 16: SkillBonuses.SetValues( 0,SkillName.EvalInt, val ); break;
case 16: SkillBonuses.SetValues( 0,SkillName.Healing, val ); break;
case 17: SkillBonuses.SetValues( 0,SkillName.Fishing, val ); break;
case 18: SkillBonuses.SetValues( 0,SkillName.Forensics, val ); break;
case 19: SkillBonuses.SetValues( 0,SkillName.Herding, val ); break;
case 20: SkillBonuses.SetValues( 0,SkillName.Hiding, val ); break;
case 21: SkillBonuses.SetValues( 0,SkillName.Provocation, val ); break;
case 22: SkillBonuses.SetValues( 0,SkillName.Inscribe, val ); break;
case 23: SkillBonuses.SetValues( 0,SkillName.Lockpicking, val ); break;
case 24: SkillBonuses.SetValues( 0,SkillName.Magery, val ); break;
case 25: SkillBonuses.SetValues( 0,SkillName.MagicResist, val ); break;
case 26: SkillBonuses.SetValues( 0,SkillName.Tactics, val ); break;
case 27: SkillBonuses.SetValues( 0,SkillName.Snooping, val ); break;
case 28: SkillBonuses.SetValues( 0,SkillName.Musicianship, val ); break;
case 29: SkillBonuses.SetValues( 0,SkillName.Poisoning, val ); break;
case 30: SkillBonuses.SetValues( 0,SkillName.Archery, val ); break;
case 31: SkillBonuses.SetValues( 0,SkillName.SpiritSpeak, val ); break;
case 32: SkillBonuses.SetValues( 0,SkillName.Stealing, val ); break;
case 33: SkillBonuses.SetValues( 0,SkillName.Tailoring, val ); break;
case 34: SkillBonuses.SetValues( 0,SkillName.AnimalTaming, val ); break;
case 35: SkillBonuses.SetValues( 0,SkillName.TasteID, val ); break;
case 36: SkillBonuses.SetValues( 0,SkillName.Tinkering, val ); break;
case 37: SkillBonuses.SetValues( 0,SkillName.Tracking , val ); break;
case 38: SkillBonuses.SetValues( 0,SkillName.Veterinary, val ); break;
case 39: SkillBonuses.SetValues( 0,SkillName.Swords, val ); break;
case 40: SkillBonuses.SetValues( 0,SkillName.Macing, val ); break;
case 41: SkillBonuses.SetValues( 0,SkillName.Fencing, val ); break;
case 42: SkillBonuses.SetValues( 0,SkillName.Wrestling, val ); break;
case 43: SkillBonuses.SetValues( 0,SkillName.Lumberjacking, val ); break;
case 44: SkillBonuses.SetValues( 0,SkillName.Mining, val ); break;
case 45: SkillBonuses.SetValues( 0,SkillName.Meditation, val ); break;
case 46: SkillBonuses.SetValues( 0,SkillName.Stealth, val ); break;
case 47: SkillBonuses.SetValues( 0,SkillName.RemoveTrap, val ); break;
case 48: SkillBonuses.SetValues( 0,SkillName.Necromancy , val ); break;
case 49: SkillBonuses.SetValues( 0,SkillName.Focus, val ); break;
case 50: SkillBonuses.SetValues( 0,SkillName.Chivalry, val ); break;
case 51: SkillBonuses.SetValues( 0,SkillName.Bushido, val ); break;
case 52: SkillBonuses.SetValues( 0,SkillName.Ninjitsu, val ); break;
}
}
public MagicBodySash( 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();
}
}
}

View File

@@ -0,0 +1,100 @@
using System;
using Server.Network;
using Server.Items;
namespace Server.Items
{
public class MagicBoots : BaseShoes
{
[Constructable]
public MagicBoots() : base( 0x170B )
{
Name = "Magical Boots";
Weight = 3.0;
int val = Utility.RandomList(1,2,3,4,5,6,7,8,9,10);
switch ( Utility.Random( 53 ) )
{
case 0: SkillBonuses.SetValues( 0, SkillName.Alchemy, val ); break;
case 1: SkillBonuses.SetValues( 0, SkillName.Anatomy, val ); break;
case 2: SkillBonuses.SetValues( 0, SkillName.AnimalLore, val ); break;
case 3: SkillBonuses.SetValues( 0, SkillName.ItemID, val ); break;
case 4: SkillBonuses.SetValues( 0, SkillName.ArmsLore, val ); break;
case 5: SkillBonuses.SetValues( 0, SkillName.Parry, val ); break;
case 6: SkillBonuses.SetValues( 0, SkillName.Begging, val ); break;
case 7: SkillBonuses.SetValues( 0, SkillName.Blacksmith, val ); break;
case 8: SkillBonuses.SetValues( 0, SkillName.Fletching, val ); break;
case 9: SkillBonuses.SetValues( 0, SkillName.Peacemaking , val ); break;
case 10: SkillBonuses.SetValues( 0,SkillName.Camping, val ); break;
case 11: SkillBonuses.SetValues( 0,SkillName.Carpentry, val ); break;
case 12: SkillBonuses.SetValues( 0,SkillName.Cartography, val ); break;
case 13: SkillBonuses.SetValues( 0,SkillName.Cooking, val ); break;
case 14: SkillBonuses.SetValues( 0,SkillName.DetectHidden, val ); break;
case 15: SkillBonuses.SetValues( 0,SkillName.Discordance, val ); break;
//case 16: SkillBonuses.SetValues( 0,SkillName.EvalInt, val ); break;
case 16: SkillBonuses.SetValues( 0,SkillName.Healing, val ); break;
case 17: SkillBonuses.SetValues( 0,SkillName.Fishing, val ); break;
case 18: SkillBonuses.SetValues( 0,SkillName.Forensics, val ); break;
case 19: SkillBonuses.SetValues( 0,SkillName.Herding, val ); break;
case 20: SkillBonuses.SetValues( 0,SkillName.Hiding, val ); break;
case 21: SkillBonuses.SetValues( 0,SkillName.Provocation, val ); break;
case 22: SkillBonuses.SetValues( 0,SkillName.Inscribe, val ); break;
case 23: SkillBonuses.SetValues( 0,SkillName.Lockpicking, val ); break;
case 24: SkillBonuses.SetValues( 0,SkillName.Magery, val ); break;
case 25: SkillBonuses.SetValues( 0,SkillName.MagicResist, val ); break;
case 26: SkillBonuses.SetValues( 0,SkillName.Tactics, val ); break;
case 27: SkillBonuses.SetValues( 0,SkillName.Snooping, val ); break;
case 28: SkillBonuses.SetValues( 0,SkillName.Musicianship, val ); break;
case 29: SkillBonuses.SetValues( 0,SkillName.Poisoning, val ); break;
case 30: SkillBonuses.SetValues( 0,SkillName.Archery, val ); break;
case 31: SkillBonuses.SetValues( 0,SkillName.SpiritSpeak, val ); break;
case 32: SkillBonuses.SetValues( 0,SkillName.Stealing, val ); break;
case 33: SkillBonuses.SetValues( 0,SkillName.Tailoring, val ); break;
case 34: SkillBonuses.SetValues( 0,SkillName.AnimalTaming, val ); break;
case 35: SkillBonuses.SetValues( 0,SkillName.TasteID, val ); break;
case 36: SkillBonuses.SetValues( 0,SkillName.Tinkering, val ); break;
case 37: SkillBonuses.SetValues( 0,SkillName.Tracking , val ); break;
case 38: SkillBonuses.SetValues( 0,SkillName.Veterinary, val ); break;
case 39: SkillBonuses.SetValues( 0,SkillName.Swords, val ); break;
case 40: SkillBonuses.SetValues( 0,SkillName.Macing, val ); break;
case 41: SkillBonuses.SetValues( 0,SkillName.Fencing, val ); break;
case 42: SkillBonuses.SetValues( 0,SkillName.Wrestling, val ); break;
case 43: SkillBonuses.SetValues( 0,SkillName.Lumberjacking, val ); break;
case 44: SkillBonuses.SetValues( 0,SkillName.Mining, val ); break;
case 45: SkillBonuses.SetValues( 0,SkillName.Meditation, val ); break;
case 46: SkillBonuses.SetValues( 0,SkillName.Stealth, val ); break;
case 47: SkillBonuses.SetValues( 0,SkillName.RemoveTrap, val ); break;
case 48: SkillBonuses.SetValues( 0,SkillName.Necromancy , val ); break;
case 49: SkillBonuses.SetValues( 0,SkillName.Focus, val ); break;
case 50: SkillBonuses.SetValues( 0,SkillName.Chivalry, val ); break;
case 51: SkillBonuses.SetValues( 0,SkillName.Bushido, val ); break;
case 52: SkillBonuses.SetValues( 0,SkillName.Ninjitsu, val ); break;
}
}
public MagicBoots( 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();
}
}
}

View File

@@ -0,0 +1,99 @@
using System;
using Server.Network;
using Server.Items;
namespace Server.Items
{
public class MagicCloak : BaseCloak
{
[Constructable]
public MagicCloak() : base( 0x1515 )
{
Name = "Magical cloak";
Weight = 5.0;
int val = Utility.RandomList(1,2,3,4,5,6,7,8,9,10);
switch ( Utility.Random( 53 ) )
{
case 0: SkillBonuses.SetValues( 0, SkillName.Alchemy, val ); break;
case 1: SkillBonuses.SetValues( 0, SkillName.Anatomy, val ); break;
case 2: SkillBonuses.SetValues( 0, SkillName.AnimalLore, val ); break;
case 3: SkillBonuses.SetValues( 0, SkillName.ItemID, val ); break;
case 4: SkillBonuses.SetValues( 0, SkillName.ArmsLore, val ); break;
case 5: SkillBonuses.SetValues( 0, SkillName.Parry, val ); break;
case 6: SkillBonuses.SetValues( 0, SkillName.Begging, val ); break;
case 7: SkillBonuses.SetValues( 0, SkillName.Blacksmith, val ); break;
case 8: SkillBonuses.SetValues( 0, SkillName.Fletching, val ); break;
case 9: SkillBonuses.SetValues( 0, SkillName.Peacemaking , val ); break;
case 10: SkillBonuses.SetValues( 0,SkillName.Camping, val ); break;
case 11: SkillBonuses.SetValues( 0,SkillName.Carpentry, val ); break;
case 12: SkillBonuses.SetValues( 0,SkillName.Cartography, val ); break;
case 13: SkillBonuses.SetValues( 0,SkillName.Cooking, val ); break;
case 14: SkillBonuses.SetValues( 0,SkillName.DetectHidden, val ); break;
case 15: SkillBonuses.SetValues( 0,SkillName.Discordance, val ); break;
//case 16: SkillBonuses.SetValues( 0,SkillName.EvalInt, val ); break;
case 16: SkillBonuses.SetValues( 0,SkillName.Healing, val ); break;
case 17: SkillBonuses.SetValues( 0,SkillName.Fishing, val ); break;
case 18: SkillBonuses.SetValues( 0,SkillName.Forensics, val ); break;
case 19: SkillBonuses.SetValues( 0,SkillName.Herding, val ); break;
case 20: SkillBonuses.SetValues( 0,SkillName.Hiding, val ); break;
case 21: SkillBonuses.SetValues( 0,SkillName.Provocation, val ); break;
case 22: SkillBonuses.SetValues( 0,SkillName.Inscribe, val ); break;
case 23: SkillBonuses.SetValues( 0,SkillName.Lockpicking, val ); break;
case 24: SkillBonuses.SetValues( 0,SkillName.Magery, val ); break;
case 25: SkillBonuses.SetValues( 0,SkillName.MagicResist, val ); break;
case 26: SkillBonuses.SetValues( 0,SkillName.Tactics, val ); break;
case 27: SkillBonuses.SetValues( 0,SkillName.Snooping, val ); break;
case 28: SkillBonuses.SetValues( 0,SkillName.Musicianship, val ); break;
case 29: SkillBonuses.SetValues( 0,SkillName.Poisoning, val ); break;
case 30: SkillBonuses.SetValues( 0,SkillName.Archery, val ); break;
case 31: SkillBonuses.SetValues( 0,SkillName.SpiritSpeak, val ); break;
case 32: SkillBonuses.SetValues( 0,SkillName.Stealing, val ); break;
case 33: SkillBonuses.SetValues( 0,SkillName.Tailoring, val ); break;
case 34: SkillBonuses.SetValues( 0,SkillName.AnimalTaming, val ); break;
case 35: SkillBonuses.SetValues( 0,SkillName.TasteID, val ); break;
case 36: SkillBonuses.SetValues( 0,SkillName.Tinkering, val ); break;
case 37: SkillBonuses.SetValues( 0,SkillName.Tracking , val ); break;
case 38: SkillBonuses.SetValues( 0,SkillName.Veterinary, val ); break;
case 39: SkillBonuses.SetValues( 0,SkillName.Swords, val ); break;
case 40: SkillBonuses.SetValues( 0,SkillName.Macing, val ); break;
case 41: SkillBonuses.SetValues( 0,SkillName.Fencing, val ); break;
case 42: SkillBonuses.SetValues( 0,SkillName.Wrestling, val ); break;
case 43: SkillBonuses.SetValues( 0,SkillName.Lumberjacking, val ); break;
case 44: SkillBonuses.SetValues( 0,SkillName.Mining, val ); break;
case 45: SkillBonuses.SetValues( 0,SkillName.Meditation, val ); break;
case 46: SkillBonuses.SetValues( 0,SkillName.Stealth, val ); break;
case 47: SkillBonuses.SetValues( 0,SkillName.RemoveTrap, val ); break;
case 48: SkillBonuses.SetValues( 0,SkillName.Necromancy , val ); break;
case 49: SkillBonuses.SetValues( 0,SkillName.Focus, val ); break;
case 50: SkillBonuses.SetValues( 0,SkillName.Chivalry, val ); break;
case 51: SkillBonuses.SetValues( 0,SkillName.Bushido, val ); break;
case 52: SkillBonuses.SetValues( 0,SkillName.Ninjitsu, val ); break;
}
}
public MagicCloak( 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();
}
}
}

Some files were not shown because too many files have changed in this diff Show More