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,37 +1,38 @@
|
|||
namespace Server.Items
|
||||
{
|
||||
public class QuiverOfLightning : ElvenQuiver
|
||||
{
|
||||
public override int LabelNumber => 1073112; // Quiver of Lightning
|
||||
public class QuiverOfLightning : ElvenQuiver
|
||||
{
|
||||
[Constructible]
|
||||
public QuiverOfLightning()
|
||||
{
|
||||
Hue = 0x4F9;
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public QuiverOfLightning()
|
||||
{
|
||||
Hue = 0x4F9;
|
||||
}
|
||||
public QuiverOfLightning(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public QuiverOfLightning( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public override int LabelNumber => 1073112; // Quiver of Lightning
|
||||
|
||||
public override void AlterBowDamage( ref int phys, ref int fire, ref int cold, ref int pois, ref int nrgy, ref int chaos, ref int direct )
|
||||
{
|
||||
fire = cold = pois = chaos = direct = 0;
|
||||
phys = nrgy = 50;
|
||||
}
|
||||
public override void AlterBowDamage(ref int phys, ref int fire, ref int cold, ref int pois, ref int nrgy,
|
||||
ref int chaos, ref int direct)
|
||||
{
|
||||
fire = cold = pois = chaos = direct = 0;
|
||||
phys = nrgy = 50;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
writer.WriteEncodedInt(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue