runuo/Scripts/Spells/Necromancy/WraithForm.cs
xavier 1d74d05af4 Housing
- house commit has inappropiate cost for certain parts
          http://www.uodemise.com/forum/showthread.php?t=136453

        - houses should not be placable on roads
          http://www.uodemise.com/forum/showthread.php?t=139597

Bushido

        - lightning strike should consume extra mana if player walks
          http://www.uodemise.com/forum/showthread.php?t=127699

Weapons

        - frenzied whirlwind should properly flag combatants.
          http://www.uodemise.com/forum/showthread.php?t=138625

Magery

        - PolyMorph should not turn the caster grey/criminal
          http://www.uodemise.com/forum/showthread.php?t=116438

        - Paralyze should interfere in casting paladin spells.
          http://www.uodemise.com/forum/showthread.php?t=120742

Spellweaving

        - Ethereal Voyage should not break when attempting to tame dragons, nightmares, etc.
          http://www.uodemise.com/forum/showthread.php?t=135349

Misc
        - refactor DrawRessource() to DrawResource()
          http://www.uodemise.com/forum/showthread.php?t=127202

        - random blood "spatter" itemid during combat: more visible blood.
          http://www.uodemise.com/forum/showthread.php?t=140092

Taming

        - Animal lore should check for skill modifiers when using lore on mobiles.
          http://www.uodemise.com/forum/showthread.php?t=140658

Necromany

        - Wraithform should allow push-through without stam loss always.
          http://www.uodemise.com/forum/showthread.php?t=117126

        - Wraithform mana leech should not lower the victim's mana + small cleanup to spellhelper.doleech()
          http://www.uodemise.com/forum/showthread.php?t=120238

Chivalry

        - Noble Sacrifice should work in houses.  RunUO's does not.
          http://www.uodemise.com/forum/showthread.php?t=122819

NCP Vendors

        - Add necro regs for vendors to buy from players.
          http://www.uodemise.com/forum/showthread.php?t=136435
2010-03-15 15:28:44 +00:00

53 lines
No EOL
1.5 KiB
C#

using System;
using System.Collections;
using Server.Network;
using Server.Items;
using Server.Targeting;
using Server.Mobiles;
namespace Server.Spells.Necromancy
{
public class WraithFormSpell : TransformationSpell
{
private static SpellInfo m_Info = new SpellInfo(
"Wraith Form", "Rel Xen Um",
203,
9031,
Reagent.NoxCrystal,
Reagent.PigIron
);
public override TimeSpan CastDelayBase { get { return TimeSpan.FromSeconds( 2.0 ); } }
public override double RequiredSkill{ get{ return 20.0; } }
public override int RequiredMana{ get{ return 17; } }
public override int Body{ get{ return Caster.Female ? 747 : 748; } }
public override int Hue{ get{ return 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 WraithFormSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
}
public override void DoEffect( Mobile m )
{
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;
}
}
}