Kod:
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();
}
}
}
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();
}
}
}
Yorumlar |
OylamalarOylama :![]()
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış
Oylar: 0 |
Benzer Sayfalar
| Sayfalar | Yorumlar | Gönderen | Tarih |
| Staff Robe | 0 | Roes | 13-10-2011 |
| Renk Değiştiren Robe | 0 | Lucky | 27-02-2010 |
| Fire Field | 0 | The And | 27-09-2009 |
| Fire Elemental | 0 | The And | 23-09-2009 |
| Cleanse By Fire | 0 | The And | 23-09-2009 |







