Some more trailing whitespace removal and minor ML code cleanup.

This commit is contained in:
eos 2012-01-07 04:39:54 +00:00
parent f4a7e8e283
commit 45bd3dba38
113 changed files with 365 additions and 410 deletions

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073545; } } // guardian axe
[Constructable]
public GuardianAxe() : base()
public GuardianAxe()
{
Attributes.BonusHits = 4;
Attributes.RegenHits = 1;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073548; } } // heavy ornate axe
[Constructable]
public HeavyOrnateAxe() : base()
public HeavyOrnateAxe()
{
Attributes.WeaponDamage = 8;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073546; } } // singing axe
[Constructable]
public SingingAxe() : base()
public SingingAxe()
{
SkillBonuses.SetValues( 0, SkillName.Musicianship, 5 );
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073547; } } // thundering axe
[Constructable]
public ThunderingAxe() : base()
public ThunderingAxe()
{
WeaponAttributes.HitLightning = 10;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073530; } } // emerald mace
[Constructable]
public EmeraldMace() : base()
public EmeraldMace()
{
WeaponAttributes.ResistPoisonBonus = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073529; } } // ruby mace
[Constructable]
public RubyMace() : base()
public RubyMace()
{
Attributes.WeaponDamage = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073531; } } // sapphire mace
[Constructable]
public SapphireMace() : base()
public SapphireMace()
{
WeaponAttributes.ResistEnergyBonus = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073532; } } // silver-etched mace
[Constructable]
public SilverEtchedMace() : base()
public SilverEtchedMace()
{
Slayer = SlayerName.Exorcism;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073512; } } // assassin's shortbow
[Constructable]
public AssassinsShortbow() : base()
public AssassinsShortbow()
{
Attributes.AttackChance = 3;
Attributes.WeaponDamage = 4;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073505; } } // barbed longbow
[Constructable]
public BarbedLongbow() : base()
public BarbedLongbow()
{
Attributes.ReflectPhysical = 12;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073507; } } // frozen longbow
[Constructable]
public FrozenLongbow() : base()
public FrozenLongbow()
{
Attributes.WeaponSpeed = -5;
Attributes.DefendChance = 10;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073510; } } // lightweight shortbow
[Constructable]
public LightweightShortbow() : base()
public LightweightShortbow()
{
Balanced = true;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073508; } } // longbow of might
[Constructable]
public LongbowOfMight() : base()
public LongbowOfMight()
{
Attributes.WeaponDamage = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073511; } } // mystical shortbow
[Constructable]
public MysticalShortbow() : base()
public MysticalShortbow()
{
Attributes.SpellChanneling = 1;
Attributes.CastSpeed = -1;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073509; } } // ranger's shortbow
[Constructable]
public RangersShortbow() : base()
public RangersShortbow()
{
Attributes.WeaponSpeed = 5;
}

View file

@ -6,9 +6,9 @@ namespace Server.Items
public class SlayerLongbow : ElvenCompositeLongbow
{
public override int LabelNumber{ get{ return 1073506; } } // slayer longbow
[Constructable]
public SlayerLongbow() : base()
public SlayerLongbow()
{
Slayer2 = (SlayerName) Utility.RandomMinMax( 1, 27 );
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073533; } } // adventurer's machete
[Constructable]
public AdventurersMachete() : base()
public AdventurersMachete()
{
Attributes.Luck = 20;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1020526; } } // bone machete
[Constructable]
public BoneMachete() : base()
public BoneMachete()
{
// TODO attributes
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073518; } } // charged assassin spike
[Constructable]
public ChargedAssassinSpike() : base()
{
public ChargedAssassinSpike()
{
WeaponAttributes.HitLightning = 10;
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073540; } } // Corrupted Rune Blade
[Constructable]
public CorruptedRuneBlade() : base()
{
public CorruptedRuneBlade()
{
WeaponAttributes.ResistPhysicalBonus = -5;
WeaponAttributes.ResistPoisonBonus = 12;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073542; } } // darkglow scimitar
[Constructable]
public DarkglowScimitar() : base()
public DarkglowScimitar()
{
WeaponAttributes.HitDispel = 10;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073536; } } // Diseased Machete
[Constructable]
public DiseasedMachete() : base()
public DiseasedMachete()
{
WeaponAttributes.HitPoisonArea = 25;
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073515; } } // fiery spellblade
[Constructable]
public FierySpellblade() : base()
{
public FierySpellblade()
{
WeaponAttributes.ResistFireBonus = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073543; } } // icy scimitar
[Constructable]
public IcyScimitar() : base()
public IcyScimitar()
{
WeaponAttributes.HitHarm = 15;
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073514; } } // icy spellblade
[Constructable]
public IcySpellblade() : base()
{
public IcySpellblade()
{
WeaponAttributes.ResistColdBonus = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073525; } } // knight's war cleaver
[Constructable]
public KnightsWarCleaver() : base()
public KnightsWarCleaver()
{
Attributes.RegenHits = 3;
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073524; } } // leafblade of ease
[Constructable]
public LeafbladeOfEase() : base()
{
public LeafbladeOfEase()
{
WeaponAttributes.UseBestSkill = 1;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073522; } } // luckblade
[Constructable]
public Luckblade() : base()
public Luckblade()
{
Attributes.Luck = 20;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073535; } } // machete of defense
[Constructable]
public MacheteOfDefense() : base()
public MacheteOfDefense()
{
Attributes.DefendChance = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073519; } } // magekiller assassin spike
[Constructable]
public MagekillerAssassinSpike() : base()
public MagekillerAssassinSpike()
{
WeaponAttributes.HitLeechMana = 16;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073523; } } // maagekiller leafblade
[Constructable]
public MagekillerLeafblade() : base()
public MagekillerLeafblade()
{
WeaponAttributes.HitLeechMana = 16;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073538; } } // mage's rune blade
[Constructable]
public MagesRuneBlade() : base()
public MagesRuneBlade()
{
Attributes.CastSpeed = 1;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073534; } } // Orcish Machete
[Constructable]
public OrcishMachete() : base()
public OrcishMachete()
{
Attributes.BonusInt = -5;
Attributes.WeaponDamage = 10;

View file

@ -6,9 +6,9 @@ namespace Server.Items
public class RuneBladeOfKnowledge : RuneBlade
{
public override int LabelNumber{ get{ return 1073539; } } // rune blade of knowledge
[Constructable]
public RuneBladeOfKnowledge() : base()
public RuneBladeOfKnowledge()
{
Attributes.SpellDamage = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073537; } } // runesabre
[Constructable]
public Runesabre() : base()
public Runesabre()
{
SkillBonuses.SetValues( 0, SkillName.MagicResist, 5.0 );
WeaponAttributes.MageWeapon = -29;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073527; } } // serrated war cleaver
[Constructable]
public SerratedWarCleaver() : base()
public SerratedWarCleaver()
{
Attributes.WeaponDamage = 7;
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073516; } } // spellblade of defense
[Constructable]
public SpellbladeOfDefense() : base()
{
public SpellbladeOfDefense()
{
Attributes.DefendChance = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073517; } } // true assassin spike
[Constructable]
public TrueAssassinSpike() : base()
public TrueAssassinSpike()
{
Attributes.AttackChance = 4;
Attributes.WeaponDamage = 4;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073521; } } // true leafblade
[Constructable]
public TrueLeafblade() : base()
public TrueLeafblade()
{
WeaponAttributes.ResistPoisonBonus = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073541; } } // true radiant scimitar
[Constructable]
public TrueRadiantScimitar() : base()
public TrueRadiantScimitar()
{
Attributes.NightSight = 1;
}

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073513; } } // true spellblade
[Constructable]
public TrueSpellblade() : base()
{
public TrueSpellblade()
{
Attributes.SpellChanneling = 1;
Attributes.CastSpeed = -1;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073528; } } // true war cleaver
[Constructable]
public TrueWarCleaver() : base()
public TrueWarCleaver()
{
Attributes.WeaponDamage = 4;
Attributes.RegenHits = 2;

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073544; } } // twinkling scimitar
[Constructable]
public TwinklingScimitar() : base()
public TwinklingScimitar()
{
Attributes.DefendChance = 6;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073520; } } // wounding assassin spike
[Constructable]
public WoundingAssassinSpike() : base()
public WoundingAssassinSpike()
{
WeaponAttributes.HitHarm = 15;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073550; } } // ancient wild staff
[Constructable]
public AncientWildStaff() : base()
public AncientWildStaff()
{
WeaponAttributes.ResistPoisonBonus = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073549; } } // arcanist's wild staff
[Constructable]
public ArcanistsWildStaff() : base()
public ArcanistsWildStaff()
{
Attributes.BonusMana = 3;
Attributes.WeaponDamage = 3;

View file

@ -8,8 +8,8 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073552; } } // hardened wild staff
[Constructable]
public HardenedWildStaff() : base()
{
public HardenedWildStaff()
{
Attributes.WeaponDamage = 5;
}

View file

@ -8,7 +8,7 @@ namespace Server.Items
public override int LabelNumber{ get{ return 1073551; } } // thorned wild staff
[Constructable]
public ThornedWildStaff() : base()
public ThornedWildStaff()
{
Attributes.ReflectPhysical = 12;
}