Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShroudOfApocalypse : HoodedShroudOfShadows
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 187; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 35; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ShroudOfApocalypse()
|
||||
{
|
||||
Name = "Shroud Of Apocalypse 2012";
|
||||
Hue = 33;
|
||||
Attributes.BonusHits = 20;
|
||||
Attributes.Luck = 187;
|
||||
Attributes.ReflectPhysical = 12;
|
||||
}
|
||||
|
||||
public ShroudOfApocalypse( 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();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
68
Scripts/Scripts-master/Items/Clothing/Robes/BalesHatred.cs
Normal file
68
Scripts/Scripts-master/Items/Clothing/Robes/BalesHatred.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
//Bale
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BalesHatred : HoodedShroudOfShadows
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 187; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 20; } }
|
||||
public override int InitMaxHits{ get{ return 20; } }
|
||||
|
||||
//public override int BaseColdResistance{ get{ return 5; } }
|
||||
//public override int BaseEnergyResistance{ get{ return 5; } }
|
||||
//public override int BasePhysicalResistance{ get{ return 5; } }
|
||||
//public override int BasePoisonResistance{ get{ return 5; } }
|
||||
//public override int BaseFireResistance{ get{ return 5; } }
|
||||
|
||||
[Constructable]
|
||||
public BalesHatred()
|
||||
{
|
||||
Name = "Bales Hatred";
|
||||
Hue = 1366;
|
||||
Attributes.AttackChance = 10;
|
||||
//Attributes.BonusDex = 2;
|
||||
//Attributes.BonusHits = 2;
|
||||
//Attributes.BonusInt = 2;
|
||||
Attributes.BonusMana = 2;
|
||||
Attributes.BonusStam = 2;
|
||||
Attributes.CastRecovery = 3;
|
||||
Attributes.CastSpeed = 2;
|
||||
Attributes.DefendChance = 10;
|
||||
//Attributes.EnhancePotions = 5;
|
||||
//Attributes.LowerManaCost = 10;
|
||||
Attributes.LowerRegCost = 10;
|
||||
Attributes.Luck = 187;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.ReflectPhysical = 10;
|
||||
Attributes.RegenHits = 2;
|
||||
Attributes.RegenMana = 2;
|
||||
Attributes.RegenStam = 2;
|
||||
//Attributes.SpellDamage = 25;
|
||||
Attributes.WeaponDamage = 20;
|
||||
//Attributes.BonusMana = 5;
|
||||
//LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public BalesHatred( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/Scripts-master/Items/Clothing/Robes/CrabHusk.cs
Normal file
45
Scripts/Scripts-master/Items/Clothing/Robes/CrabHusk.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CrabHusk : BaseQuiver
|
||||
{
|
||||
|
||||
|
||||
[Constructable]
|
||||
public CrabHusk() : base(0x2FB7)
|
||||
{
|
||||
Hue = 1192;
|
||||
Name = "Crab's Husk {Grove Artifact}";
|
||||
//SetTitle = "[Heavenly Artifact]"; //*this is new edit, wanted to have it so if someone renames thier weapon the title will still be there
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.DefendChance = 10;
|
||||
Attributes.Luck = 100;
|
||||
Attributes.WeaponDamage = 15;
|
||||
WeightReduction = 25;
|
||||
}
|
||||
|
||||
public CrabHusk( 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();
|
||||
|
||||
if (Weight == 4.0)
|
||||
Weight = 5.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
/*Scripted by _____
|
||||
* \_ \___ ___
|
||||
* / /\/ __/ _ \
|
||||
* /\/ /_| (_| __/
|
||||
* \____/ \___\___|
|
||||
*/
|
||||
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CraftableHoodRobe : BaseArmor
|
||||
{
|
||||
public override int BasePhysicalResistance{ get{ return 4; } }
|
||||
public override int BaseFireResistance{ get{ return 1; } }
|
||||
public override int BaseColdResistance{ get{ return 3; } }
|
||||
public override int BasePoisonResistance{ get{ return 0; } }
|
||||
public override int BaseEnergyResistance{ get{ return 0; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 30; } }
|
||||
public override int InitMaxHits{ get{ return 40; } }
|
||||
|
||||
public override int AosStrReq{ get{ return 25; } }
|
||||
public override int OldStrReq{ get{ return 15; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 13; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Leather; } }
|
||||
public override CraftResource DefaultResource{ get{ return CraftResource.RegularLeather; } }
|
||||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
[Constructable]
|
||||
public CraftableHoodRobe() : base( 0x2684 )
|
||||
{
|
||||
Weight = 10.0;
|
||||
Name = "Leather Hood Robe";
|
||||
Hue = 1823;
|
||||
Layer = Layer.OuterTorso;
|
||||
}
|
||||
|
||||
public CraftableHoodRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
if( Parent != m )
|
||||
{
|
||||
m.SendMessage( "You must be wearing the robe to use it!" );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ItemID == 0x2683 || ItemID == 0x2684 )
|
||||
{
|
||||
m.SendMessage( "You lower the hood." );
|
||||
m.PlaySound( 0x57 );
|
||||
ItemID = 0x1F03;
|
||||
m.RemoveItem(this);
|
||||
m.EquipItem(this);
|
||||
}
|
||||
else if ( ItemID == 0x1F03 || ItemID == 0x1F04 )
|
||||
{
|
||||
m.SendMessage( "You pull the hood over your head." );
|
||||
m.PlaySound( 0x57 );
|
||||
ItemID = 0x2683;
|
||||
m.RemoveItem(this);
|
||||
m.EquipItem(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 10.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class EtherealShroud : BaseOuterTorso
|
||||
{
|
||||
public override int AosStrReq { get { return 10; } }
|
||||
public override int OldStrReq { get { return 5; } }
|
||||
|
||||
[Constructable]
|
||||
public EtherealShroud() : base(0x2684)
|
||||
{
|
||||
Hue = 21845;
|
||||
Name = "an Ethereal Shroud [Heavenly Artifact]";
|
||||
Attributes.LowerRegCost = 10;
|
||||
}
|
||||
|
||||
public EtherealShroud(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();
|
||||
|
||||
if (Weight == 4.0)
|
||||
Weight = 5.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FortuneseekerTreads : Sandals
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public FortuneseekerTreads()
|
||||
{
|
||||
Name = "Fortuneseeker's Treads";
|
||||
Hue = 1161;
|
||||
|
||||
Attributes.BonusHits = 10;
|
||||
Attributes.BonusMana = 10;
|
||||
Attributes.DefendChance = 5;
|
||||
Attributes.Luck = 75;
|
||||
}
|
||||
|
||||
public FortuneseekerTreads( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HellHoundsRobe : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 97; } }
|
||||
[Constructable]
|
||||
public HellHoundsRobe() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 907; // Darkish Gray
|
||||
Name = "The Hell Hound";
|
||||
Attributes.BonusDex = 13;
|
||||
}
|
||||
|
||||
public HellHoundsRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the Hell Hound taking over your body!" );
|
||||
from.SolidHueOverride = 0;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 1069;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The Hell Hound is too huge to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Gray Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Hell Hound Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself weakening back to your original self." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( ( int ) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
57
Scripts/Scripts-master/Items/Clothing/Robes/HoodedRobe.cs
Normal file
57
Scripts/Scripts-master/Items/Clothing/Robes/HoodedRobe.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
|
||||
//////////////////////////
|
||||
//Created by Keglanek//
|
||||
////////////////////////
|
||||
using System;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class HoodedRobe : Robe
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public HoodedRobe()
|
||||
{
|
||||
ItemID = 9860;
|
||||
Weight = 10.0;
|
||||
Name = "Psyren's Hooded Robe";
|
||||
Hue = 1153;
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
}
|
||||
|
||||
public HoodedRobe(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();
|
||||
}
|
||||
public override void OnDoubleClick( Mobile from )
|
||||
{
|
||||
Item y = from.Backpack.FindItemByType(typeof(HoodedRobe));
|
||||
if ( y !=null )
|
||||
{
|
||||
|
||||
if (this.ItemID == 9860) this.ItemID = 7939;
|
||||
else if (this.ItemID == 7939) this.ItemID = 9860;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage( "You must have the item in your pack to take down the hood it." );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HunterClothing : BaseOuterTorso
|
||||
{
|
||||
[Constructable]
|
||||
public HunterClothing() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 1267; // Darkish Green
|
||||
Name = "The Hunter";
|
||||
Attributes.BonusStr = 10;
|
||||
}
|
||||
|
||||
public HunterClothing( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the Hunter taking over your body!" );
|
||||
from.SolidHueOverride = 1271;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 746;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The Hunter is too huge to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Green Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Hulk Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself weakening back to your original self." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
//Created by Jareish/Infernal Reign/Legion for the Shard Elysium Isles
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Incognitoshroud : HoodedShroudOfShadows
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public Incognitoshroud()
|
||||
{
|
||||
Hue = 1272;
|
||||
Name = "Shroud of Icognito";
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile m)
|
||||
{
|
||||
m.NameMod = "a Hooded Figure";
|
||||
m.DisplayGuildTitle = false;
|
||||
m.SendMessage( "Your face becomes hidden and you are unrecognisable" );
|
||||
return base.OnEquip(m);
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent)
|
||||
{
|
||||
if (parent is Mobile)
|
||||
{
|
||||
Mobile m = (Mobile)parent;
|
||||
m.NameMod = null;
|
||||
m.SendMessage( "You remove the Shroud and your face becomes clear" );
|
||||
m.DisplayGuildTitle = true;
|
||||
}
|
||||
|
||||
base.OnRemoved(parent);
|
||||
}
|
||||
|
||||
public Incognitoshroud ( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MongbatResearchRobe : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public MongbatResearchRobe() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 1931; // Radient Red
|
||||
Name = "Mongbat Researcher";
|
||||
Attributes.BonusInt = 10;
|
||||
SkillBonuses.SetValues( 0, SkillName.Hiding, 10.0 );
|
||||
}
|
||||
|
||||
public MongbatResearchRobe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the Mongbat taking over your body!" );
|
||||
from.SolidHueOverride = 1931;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 39;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The Mongbat is too Gimpy to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the red Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Mongbat Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself weakening back to your original self." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/Scripts-master/Items/Clothing/Robes/NoRegRobe.cs
Normal file
56
Scripts/Scripts-master/Items/Clothing/Robes/NoRegRobe.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
|
||||
using System;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class NoRegRobe : Robe
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public NoRegRobe()
|
||||
{
|
||||
ItemID = 9860;
|
||||
Name = "Shroud of Power";
|
||||
Hue = 1195;
|
||||
Attributes.LowerRegCost = 100;
|
||||
StrRequirement = 0;
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
}
|
||||
|
||||
public NoRegRobe(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();
|
||||
}
|
||||
public override void OnDoubleClick( Mobile from )
|
||||
{
|
||||
Item y = from.Backpack.FindItemByType(typeof(NoRegRobe));
|
||||
if ( y !=null )
|
||||
{
|
||||
|
||||
if (this.ItemID == 9860) this.ItemID = 7939;
|
||||
else if (this.ItemID == 7939) this.ItemID = 9860;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage( "You must have the item in your pack to take down the hood it." );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Scripts/Scripts-master/Items/Clothing/Robes/RangerCloak.cs
Normal file
43
Scripts/Scripts-master/Items/Clothing/Robes/RangerCloak.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/* Created By Kingdoms Development Team* Edited by Sneezy/*/
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RangerCloak : BaseCloak
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public RangerCloak() : base( 11013 )
|
||||
{
|
||||
Weight = 0;
|
||||
Name = "Ranger's Cloak";
|
||||
Hue = 1270;
|
||||
SkillBonuses.SetValues( 0, SkillName.AnimalTaming, 10.0 );
|
||||
SkillBonuses.SetValues( 1, SkillName.AnimalLore, 10.0 );
|
||||
SkillBonuses.SetValues( 2, SkillName.Veterinary, 10.0 );
|
||||
|
||||
}
|
||||
|
||||
public RangerCloak(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 2.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
//Created by xG00BERx
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShroudOfTheThieves : HoodedShroudOfShadows
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public ShroudOfTheThieves()
|
||||
{
|
||||
Hue = 919;
|
||||
Name = "Shroud Of The Thieves";
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Stealing, 15.0 );
|
||||
SkillBonuses.SetValues( 1, SkillName.Stealth, 15.0 );
|
||||
SkillBonuses.SetValues( 2, SkillName.Snooping, 15.0 );
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile m)
|
||||
{
|
||||
m.NameMod = "A Thief";
|
||||
m.DisplayGuildTitle = false;
|
||||
m.SendMessage( "Your face is Shrouded by the Robe and you have now look like another thief" );
|
||||
return base.OnEquip(m);
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent)
|
||||
{
|
||||
if (parent is Mobile)
|
||||
{
|
||||
Mobile m = (Mobile)parent;
|
||||
m.NameMod = null;
|
||||
m.SendMessage( "You remove the Shroud and you become recognizable" );
|
||||
m.DisplayGuildTitle = true;
|
||||
}
|
||||
|
||||
base.OnRemoved(parent);
|
||||
}
|
||||
|
||||
public ShroudOfTheThieves ( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
90
Scripts/Scripts-master/Items/Clothing/Robes/RobeOfFire.cs
Normal file
90
Scripts/Scripts-master/Items/Clothing/Robes/RobeOfFire.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobeOfFire : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public RobeOfFire() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 33; // red
|
||||
Name = "That Which Burns";
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.BonusDex = 20;
|
||||
}
|
||||
|
||||
public RobeOfFire( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of burning life taking over your body!" );
|
||||
from.SolidHueOverride = 33;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 15;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! This form is too hot to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Black Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Drgon Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself cooling off." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
90
Scripts/Scripts-master/Items/Clothing/Robes/RobeOfTheDead.cs
Normal file
90
Scripts/Scripts-master/Items/Clothing/Robes/RobeOfTheDead.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobeOfTheDead : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public RobeOfTheDead() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 1915; // glow green
|
||||
Name = "The Walking Dead";
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.BonusDex = 20;
|
||||
}
|
||||
|
||||
public RobeOfTheDead( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the dead taking over your body!" );
|
||||
from.SolidHueOverride = 1915;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 3;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The Zombie is too Mushy to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Black Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Drgon Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself gaining strength." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobeOfTheDragon : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public RobeOfTheDragon() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 2075; // Black Red
|
||||
Name = "The Dragon";
|
||||
Attributes.BonusStr = 15;
|
||||
}
|
||||
|
||||
public RobeOfTheDragon( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the Dragon taking over your body!" );
|
||||
from.SolidHueOverride = 2075;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 198;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The Dragon is too huge to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Black Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Drgon Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself weakening back to your original self." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobeoftheExplorer : HoodedShroudOfShadows
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 97; } }
|
||||
|
||||
|
||||
public override int BaseColdResistance{ get{ return 2; } }
|
||||
public override int BaseEnergyResistance{ get{ return 2; } }
|
||||
public override int BasePhysicalResistance{ get{ return 2; } }
|
||||
public override int BasePoisonResistance{ get{ return 2; } }
|
||||
public override int BaseFireResistance{ get{ return 2; } }
|
||||
|
||||
[Constructable]
|
||||
public RobeoftheExplorer()
|
||||
{
|
||||
Name = "Robe of the Explorer";
|
||||
Hue = 2006;
|
||||
Attributes.AttackChance = 5;
|
||||
Attributes.BonusHits = 15;
|
||||
Attributes.ReflectPhysical = 10;
|
||||
Attributes.RegenHits = 5;
|
||||
Attributes.WeaponDamage = 10;
|
||||
}
|
||||
|
||||
public RobeoftheExplorer( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobeOfJabba : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public RobeOfJabba() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 1167; // luna white
|
||||
Name = "Jabba";
|
||||
Attributes.BonusStr = 50;
|
||||
|
||||
}
|
||||
|
||||
public RobeOfJabba( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of jabba taking over your body!" );
|
||||
from.SolidHueOverride = 1167;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 256;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! Jabba is too Fat to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Black Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Drgon Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself losing strength." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobeOfTheSkull1 : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public RobeOfTheSkull1() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 1153; // luna white
|
||||
Name = "The Skeleton";
|
||||
Attributes.BonusStr = 15;
|
||||
Attributes.BonusDex = 15;
|
||||
}
|
||||
|
||||
public RobeOfTheSkull1( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the dead taking over your body!" );
|
||||
from.SolidHueOverride = 1153;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 50;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The skeleton is too brittle to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Black Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Drgon Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself gaining strength." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Scripts/Scripts-master/Items/Clothing/Robes/RobesofMenace.cs
Normal file
43
Scripts/Scripts-master/Items/Clothing/Robes/RobesofMenace.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RobesOfMenace : Robe
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 18; } }
|
||||
|
||||
|
||||
|
||||
[Constructable]
|
||||
public RobesOfMenace()
|
||||
{
|
||||
Name = "Robes of the Menace";
|
||||
Hue = 1917;
|
||||
Attributes.CastRecovery = 2;
|
||||
//Attributes.LowerManaCost = 5;
|
||||
Attributes.LowerRegCost = 10;
|
||||
//Attributes.RegenMana = 3;
|
||||
Attributes.SpellDamage = 10;
|
||||
}
|
||||
|
||||
public RobesOfMenace( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/Scripts-master/Items/Clothing/Robes/ShroudOfBale.cs
Normal file
45
Scripts/Scripts-master/Items/Clothing/Robes/ShroudOfBale.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShroudOfBale : HoodedShroudOfShadows
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 35; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ShroudOfBale()
|
||||
{
|
||||
Name = "-Shroud Of Bale-";
|
||||
Hue = 1910;
|
||||
Attributes.BonusHits = 10;
|
||||
Attributes.Luck = 150;
|
||||
Attributes.ReflectPhysical = 5;
|
||||
Attributes.SpellDamage = Attributes.RegenHits = Utility.Random(100);
|
||||
}
|
||||
|
||||
public ShroudOfBale( 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();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
94
Scripts/Scripts-master/Items/Clothing/Robes/Shroudofcolor.cs
Normal file
94
Scripts/Scripts-master/Items/Clothing/Robes/Shroudofcolor.cs
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Created by jacquesc1.
|
||||
* Date: 05/08/2009
|
||||
|
||||
* Redesigned by Lokai
|
||||
* 3/23/2017
|
||||
*/
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Shroudofcolor : HoodedShroudOfShadows
|
||||
{
|
||||
private int m_BaseColor;
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public int BaseColor { get { return m_BaseColor; } set { m_BaseColor = value; } }
|
||||
|
||||
private string m_NameMod;
|
||||
|
||||
[Constructable]
|
||||
public Shroudofcolor()
|
||||
{
|
||||
Name = "Shroud of Color";
|
||||
Hue = 0;
|
||||
m_BaseColor = 0;
|
||||
m_NameMod = "";
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile m)
|
||||
{
|
||||
m_NameMod = m.NameMod;
|
||||
m.NameMod = m.Name + "'s Shroud of Color";
|
||||
m.DisplayGuildTitle = false;
|
||||
m.SendMessage( "The cloak will transform it's colour when you click on it!" );
|
||||
m.PlaySound( 484 );
|
||||
return base.OnEquip(m);
|
||||
}
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (this.IsChildOf(from.Backpack) || this == from.FindItemOnLayer(Layer.OuterTorso))
|
||||
ChangeColor(true);
|
||||
else
|
||||
from.SendMessage("You must be holding or wearing this to change it's color");
|
||||
}
|
||||
|
||||
public void ChangeColor(bool random)
|
||||
{
|
||||
Hue = random?Utility.Random( 3000 ):m_BaseColor;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent)
|
||||
{
|
||||
if (parent is Mobile)
|
||||
{
|
||||
Mobile m = (Mobile)parent;
|
||||
m.NameMod = m_NameMod;
|
||||
m.SendMessage( "You're back to your old self." );
|
||||
m.PlaySound( 484 );
|
||||
m.DisplayGuildTitle = true;
|
||||
}
|
||||
|
||||
base.OnRemoved(parent);
|
||||
}
|
||||
|
||||
public Shroudofcolor(Serial serial): base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
|
||||
writer.Write( (int) m_BaseColor );
|
||||
writer.Write((string)m_NameMod);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
m_BaseColor = reader.ReadInt();
|
||||
m_NameMod = reader.ReadString();
|
||||
}
|
||||
}
|
||||
}
|
||||
90
Scripts/Scripts-master/Items/Clothing/Robes/SpidersHide.cs
Normal file
90
Scripts/Scripts-master/Items/Clothing/Robes/SpidersHide.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Mobiles;
|
||||
using Server.Spells;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SpidersHide : BaseOuterTorso
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 13; } }
|
||||
[Constructable]
|
||||
public SpidersHide() : base( 0x2684 ) // Hooded Shroud
|
||||
{
|
||||
Hue = 1932; // Black White
|
||||
Name = "The Lurkin Predator";
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.BonusDex = 5;
|
||||
}
|
||||
|
||||
public SpidersHide( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override bool OnEquip( Mobile from )
|
||||
{
|
||||
if ( !from.CanBeginAction( typeof( Server.Spells.Seventh.PolymorphSpell ) ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061628 ); // You can't do that while polymorphed.
|
||||
return false;
|
||||
}
|
||||
else if ( TransformationSpellHelper.UnderTransformation( from ) )
|
||||
{
|
||||
from.SendMessage( "You cannot equip that in your current form." );
|
||||
return false;
|
||||
}
|
||||
else if ( DisguiseTimers.IsDisguised( from ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1061631 ); // You can't do that while disguised.
|
||||
return false;
|
||||
}
|
||||
|
||||
from.SendMessage( "You feel the power of the Spider taking over your body!" );
|
||||
from.SolidHueOverride = 1932;
|
||||
|
||||
if( !from.Mounted ) // Only transform if not mounted..
|
||||
{
|
||||
from.BodyMod = 173;
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.FixedParticles( 0x376A, 1, 14, 0x13B5, EffectLayer.Waist );
|
||||
from.PlaySound( from.Body.IsFemale ? 0x338 : 0x44A );
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
from.SendMessage( 1154, "The transformation was incomplete! The Spider is too huge to ride mounts!!" );
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void OnRemoved( object parent )
|
||||
{
|
||||
if ( parent is Mobile )
|
||||
{
|
||||
Mobile from = ( Mobile ) parent;
|
||||
|
||||
from.SolidHueOverride = -1; // Remove the Black Hue
|
||||
|
||||
from.BodyMod = 0; // Remove the Spider Body.
|
||||
|
||||
from.FixedParticles( 0x375A, 10, 15, 5010, EffectLayer.Waist );
|
||||
from.SendMessage( "You feel yourself weakening back to your original self." );
|
||||
}
|
||||
|
||||
base.OnRemoved( parent );
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
//Created By Animalcrackers
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class xxxGaMeOvErxxx : HoodedShroudOfShadows
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 187; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 7; } }
|
||||
public override int InitMaxHits{ get{ return 7; } }
|
||||
|
||||
public override int BaseColdResistance{ get{ return 5; } }
|
||||
public override int BaseEnergyResistance{ get{ return 5; } }
|
||||
public override int BasePhysicalResistance{ get{ return 5; } }
|
||||
public override int BasePoisonResistance{ get{ return 5; } }
|
||||
public override int BaseFireResistance{ get{ return 5; } }
|
||||
|
||||
[Constructable]
|
||||
public xxxGaMeOvErxxx()
|
||||
{
|
||||
Name = "xxxGaMeOvErxxx";
|
||||
Hue = 1174;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.BonusDex = 5;
|
||||
Attributes.BonusHits = 5;
|
||||
Attributes.BonusInt = 2;
|
||||
Attributes.BonusMana = 5;
|
||||
Attributes.BonusStam = 5;
|
||||
Attributes.CastRecovery = 8;
|
||||
Attributes.CastSpeed = 6;
|
||||
Attributes.DefendChance = 10;
|
||||
Attributes.EnhancePotions = 5;
|
||||
Attributes.LowerManaCost = 10;
|
||||
Attributes.LowerRegCost = 10;
|
||||
Attributes.Luck = 187;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.ReflectPhysical = 10;
|
||||
Attributes.RegenHits = 5;
|
||||
Attributes.RegenMana = 5;
|
||||
Attributes.RegenStam = 5;
|
||||
Attributes.SpellDamage = 25;
|
||||
Attributes.WeaponDamage = 20;
|
||||
Attributes.BonusMana = 5;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public xxxGaMeOvErxxx( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user