/////////////////////////////
////// LostSinner /////////
/////////////////////////////
using System;
using Server;
namespace Server.Items
{
public class InsanityShourd : HoodedShroudOfShadows, IDyable
{
[Constructable]
public InsanityShourd() : base( 0x2684 )
{
Weight = 8.0;
Name = "Turkey PvP Reward Robe";
Hue = 1153;
Attributes.AttackChance = 15;
Attributes.LowerRegCost = 100;
Attributes.DefendChance = 15;
Attributes.CastSpeed = 2;
Attributes.CastRecovery = 4;
Attributes.RegenMana = 5;
Attributes.RegenStam = 5;
Attributes.RegenHits = 5;
Attributes.NightSight = 1;
Resistances.Poison = 15;
Resistances.Energy = 15;
Resistances.Cold = 15;
Resistances.Fire = 15;
Resistances.Physical = 15;
}
public InsanityShourd( 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.NameMod = null;
m.RemoveItem(this);
m.EquipItem(this);
/*if( m.Kills >= 5)
{
m.Criminal = false;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = false;
}*/
}
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 virtual bool Dye( Mobile from, DyeTub sender )
{
if ( Deleted )
return false;
else if ( RootParent is Mobile && from != RootParent )
return false;
Hue = sender.DyedHue;
return true;
}
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();
}
}
}
Total votes: 0
Bulunamadı.
Sunucular 13 saat önce
Ultima Online 14 saat önce
Sunucular 4 gün önce
Ultima Online 2 hafta önce
Counter-Strike 2 hafta önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sohbet & Geyik 1 ay önce
Sunucular 1 ay önce
Ultima Online 2 ay önce
Ultima Online 2 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)