Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -17,19 +17,19 @@ namespace Server.Spells.Necromancy
|
|||
Reagent.PigIron
|
||||
);
|
||||
|
||||
public override TimeSpan CastDelayBase { get { return TimeSpan.FromSeconds( 2.0 ); } }
|
||||
public override TimeSpan CastDelayBase => TimeSpan.FromSeconds( 2.0 );
|
||||
|
||||
public override double RequiredSkill{ get{ return 20.0; } }
|
||||
public override int RequiredMana{ get{ return 17; } }
|
||||
public override double RequiredSkill => 20.0;
|
||||
public override int RequiredMana => 17;
|
||||
|
||||
public override int Body{ get{ return Caster.Female ? 747 : 748; } }
|
||||
public override int Hue{ get{ return Caster.Female ? 0 : 0x4001; } }
|
||||
public override int Body => Caster.Female ? 747 : 748;
|
||||
public override int Hue => Caster.Female ? 0 : 0x4001;
|
||||
|
||||
public override int PhysResistOffset{ get{ return +15; } }
|
||||
public override int FireResistOffset{ get{ return -5; } }
|
||||
public override int ColdResistOffset{ get{ return 0; } }
|
||||
public override int PoisResistOffset{ get{ return 0; } }
|
||||
public override int NrgyResistOffset{ get{ return -5; } }
|
||||
public override int PhysResistOffset => +15;
|
||||
public override int FireResistOffset => -5;
|
||||
public override int ColdResistOffset => 0;
|
||||
public override int PoisResistOffset => 0;
|
||||
public override int NrgyResistOffset => -5;
|
||||
|
||||
public WraithFormSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
|
||||
{
|
||||
|
|
@ -39,15 +39,15 @@ namespace Server.Spells.Necromancy
|
|||
{
|
||||
if ( m is PlayerMobile )
|
||||
((PlayerMobile)m).IgnoreMobiles = true;
|
||||
|
||||
|
||||
m.PlaySound( 0x17F );
|
||||
m.FixedParticles( 0x374A, 1, 15, 9902, 1108, 4, EffectLayer.Waist );
|
||||
}
|
||||
|
||||
|
||||
public override void RemoveEffect( Mobile m )
|
||||
{
|
||||
if ( m is PlayerMobile && m.AccessLevel == AccessLevel.Player )
|
||||
((PlayerMobile)m).IgnoreMobiles = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue