Anasayfa
UO Sunucular
Forumlar
Profilim
UO-Developer.COM
Lord Streamline 23-08-2009
// By Nerun

using System;
using Server.Network;
using Server.Items;

namespace Server.Items
{

public class StaffRing : BaseRing
{
[Constructable]
public StaffRing() : base( 0x108a )
{
Weight = 0.1;
Name = "The Staff Ring";
Attributes.NightSight = 1;
Attributes.LowerRegCost = 100;
Attributes.LowerManaCost = 100;
Attributes.RegenHits = 200;
Attributes.RegenStam = 200;
Attributes.RegenMana = 200;
Attributes.SpellDamage = 500;
Attributes.CastRecovery = 12;
Attributes.CastSpeed = 12;
LootType = LootType.Blessed;
}

public StaffRing( Serial serial ) : base( serial )
{
}

public override void OnDoubleClick( Mobile from )
{
if ( from.AccessLevel < AccessLevel.Counselor )
{
from.SendMessage ( "Your not a Staff member, you may not wear this Item..." );
this.Delete();
}
}

public override bool OnEquip( Mobile from )
{
if ( from.AccessLevel < AccessLevel.Counselor )
{
from.SendMessage ( "Your not a Staff member, you may not wear this Item..." );
this.Delete();
}
return true;
}

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

UO-Dev SPONSOR

Paylaş

XFacebook

Faydalı mı?

Bu içerik size yardımcı oldu mu?

UO-Dev SPONSOR

Henüz yorum yapılmamış. Yorum yazabilmek için giriş yapmanız gerekir.

Üyelerin oylama ortalaması (10 dışında) :

Henüz Oylanmamış

Oylar: 0

Paylaş

XFacebook

Faydalı mı?

Bu içerik size yardımcı oldu mu?