UO-Dev Arama


Yazar: Bilinmiyor
Tarih: 18-08-2009 13:09


Paylaş : Paylaş

Kod:
/////////////////////////////
////// 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();
}
}
}



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,