Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -1,49 +1,50 @@
namespace Server.Items
{
public class PixieSwatter : Scepter
{
public override int LabelNumber => 1070854; // Pixie Swatter
public class PixieSwatter : Scepter
{
[Constructible]
public PixieSwatter()
{
Hue = 0x8A;
WeaponAttributes.HitPoisonArea = 75;
Attributes.WeaponSpeed = 30;
public override int InitMinHits => 255;
public override int InitMaxHits => 255;
WeaponAttributes.UseBestSkill = 1;
WeaponAttributes.ResistFireBonus = 12;
WeaponAttributes.ResistEnergyBonus = 12;
[Constructible]
public PixieSwatter()
{
Hue = 0x8A;
WeaponAttributes.HitPoisonArea = 75;
Attributes.WeaponSpeed = 30;
Slayer = SlayerName.Fey;
}
WeaponAttributes.UseBestSkill = 1;
WeaponAttributes.ResistFireBonus = 12;
WeaponAttributes.ResistEnergyBonus = 12;
public PixieSwatter(Serial serial) : base(serial)
{
}
Slayer = SlayerName.Fey;
}
public override int LabelNumber => 1070854; // Pixie Swatter
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
{
fire = 100;
public override int InitMinHits => 255;
public override int InitMaxHits => 255;
cold = pois = phys = nrgy = chaos = direct = 0;
}
public override void GetDamageTypes(Mobile wielder, out int phys, out int fire, out int cold, out int pois,
out int nrgy, out int chaos, out int direct)
{
fire = 100;
public PixieSwatter( Serial serial ) : base( serial )
{
}
cold = pois = phys = nrgy = chaos = direct = 0;
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write( (int) 0 );
}
writer.Write(0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}
int version = reader.ReadInt();
}
}
}