Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,41 +1,41 @@
|
|||
namespace Server.Items
|
||||
{
|
||||
[FlippableAttribute( 0x1B17, 0x1B18 )]
|
||||
public class RibCage : Item, IScissorable
|
||||
{
|
||||
[Constructible]
|
||||
public RibCage() : base( 0x1B17 + Utility.Random( 2 ) )
|
||||
{
|
||||
Stackable = false;
|
||||
Weight = 5.0;
|
||||
}
|
||||
[Flippable(0x1B17, 0x1B18)]
|
||||
public class RibCage : Item, IScissorable
|
||||
{
|
||||
[Constructible]
|
||||
public RibCage() : base(0x1B17 + Utility.Random(2))
|
||||
{
|
||||
Stackable = false;
|
||||
Weight = 5.0;
|
||||
}
|
||||
|
||||
public RibCage( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public RibCage(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
public bool Scissor(Mobile from, Scissors scissors)
|
||||
{
|
||||
if (Deleted || !from.CanSee(this))
|
||||
return false;
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
base.ScissorHelper(from, new Bone(), Utility.RandomMinMax(3, 5));
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
return true;
|
||||
}
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
public bool Scissor( Mobile from, Scissors scissors )
|
||||
{
|
||||
if ( Deleted || !from.CanSee( this ) )
|
||||
return false;
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
base.ScissorHelper( from, new Bone(), Utility.RandomMinMax( 3, 5 ) );
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue