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( 0x1B09, 0x1B10 )]
|
||||
public class BonePile : Item, IScissorable
|
||||
{
|
||||
[Constructible]
|
||||
public BonePile( ) : base( 0x1B09 + Utility.Random( 8 ) )
|
||||
{
|
||||
Stackable = false;
|
||||
Weight = 10.0;
|
||||
}
|
||||
[Flippable(0x1B09, 0x1B10)]
|
||||
public class BonePile : Item, IScissorable
|
||||
{
|
||||
[Constructible]
|
||||
public BonePile() : base(0x1B09 + Utility.Random(8))
|
||||
{
|
||||
Stackable = false;
|
||||
Weight = 10.0;
|
||||
}
|
||||
|
||||
public BonePile( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public BonePile(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(10, 15));
|
||||
|
||||
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( 10, 15 ) );
|
||||
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