Anasayfa
UO Sunucular
Forumlar
Profilim
UO-Developer.COM
using System; 
using Server;
using Server.Misc;
using Server.Items;
using Server.Targeting;

namespace Server.Items
{
   [FlipableAttribute( 0x7939, 0x7940 )]
   public class GMHidingFireRobe  : BaseOuterTorso 
   {
      [Constructable]
      public GMHidingFireRobe() :  base( 0x204F )
      {
         Weight = 1.0;
         Hue = 1161;
         Name = "GM Hiding Fire Robe";
         LootType = LootType.Blessed;
       
     

         
         
      }

      public override bool OnEquip( Mobile from )
     {


     from.LightLevel = 300;
     return base.OnEquip( from );

      }






       

       
      public override void OnDoubleClick( Mobile m )
      {
         if ( !m.Hidden == true )
         {
            m.Hidden = true;
             
             Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z + 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z - 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z + 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z - 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 11 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 7 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 3 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z - 1 ), m.Map, 0x3709, 13 );

            m.PlaySound( 0x228 );
         }
         else
         {
            m.Hidden = false;
             
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z + 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z - 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z + 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z - 4 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 11 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 7 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 3 ), m.Map, 0x3709, 13 );
            Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z - 1 ), m.Map, 0x3709, 13 );

            m.PlaySound( 0x228 );
       
         }
      }



       
      public GMHidingFireRobe( Serial serial ) : base( serial )
      {
         
      }
       
      public override void Serialize( GenericWriter writer )
      {
         base.Serialize( writer );
         writer.Write( (int) 1 ); // 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

blodd 02-12-2010 18:41
beyler sizlere lutfen bir şey sorucam acaba ben oyundayım ama ornk bu bana nasıl gelicek ? daha dogrusu nasıl gm olcam ben gumps dan giroyım admingump a nasıl owner olucam
gohest 11-03-2013 19:50
[add gm yaz listeden bunun ismini seç yanındakine tıklayıp yere tıkla

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

10.00

Oylar: 1 den itibaren 11-03-2013 19:51

Paylaş

XFacebook

Faydalı mı?

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