- Added support for ML mods, as well as quivers. More ML artifacts are added

(http://www.uodemise.com/discussion/showthread.php?t=116685)

- Dog Form HPR rate is tweaked as per OSI
(http://www.uodemise.com/discussion/showthread.php?t=124422)

- Hairstylist gump now works for elves
(http://www.uodemise.com/discussion/showthread.php?t=120199)

- Bless buff icon now will report correct values
(http://www.uodemise.com/discussion/showthread.php?t=123760)

- When stealthing, the step just before a stealth check won't let you lose the stealth status (you can use shadowjump)
(http://www.uodemise.com/discussion/showthread.php?t=121250)

- You can open the blacksmith gump even if far from anvil and forge, but you still need to be near them to craft
(http://www.uodemise.com/discussion/showthread.php?t=122750)
This commit is contained in:
daedalus 2009-11-23 11:20:29 +00:00
parent aff5e22940
commit 30c7232a69
54 changed files with 1363 additions and 149 deletions

View file

@ -28,7 +28,8 @@ namespace Server.Spells.Ninjitsu
public override bool CheckCast()
{
if ( !Caster.Hidden || Caster.AllowedStealthSteps <= 0 )
PlayerMobile pm = Caster as PlayerMobile; // IsStealthing should be moved to Server.Mobiles
if ( !pm.IsStealthing )
{
Caster.SendLocalizedMessage( 1063087 ); // You must be in stealth mode to use this ability.
return false;
@ -54,8 +55,10 @@ namespace Server.Spells.Ninjitsu
Map map = Caster.Map;
SpellHelper.GetSurfaceTop( ref p );
PlayerMobile pm = Caster as PlayerMobile; // IsStealthing should be moved to Server.Mobiles
if ( !Caster.Hidden || Caster.AllowedStealthSteps <= 0 )
if ( !pm.IsStealthing )
{
Caster.SendLocalizedMessage( 1063087 ); // You must be in stealth mode to use this ability.
}
@ -94,6 +97,8 @@ namespace Server.Spells.Ninjitsu
Effects.SendLocationParticles( EffectItem.Create( from, m.Map, EffectItem.DefaultDuration ), 0x3728, 10, 10, 2023 );
m.PlaySound( 0x512 );
Server.SkillHandlers.Stealth.OnUse( m ); // stealth check after the a jump
}
FinishSequence();
@ -119,8 +124,6 @@ namespace Server.Spells.Ninjitsu
protected override void OnTargetFinish( Mobile from )
{
m_Owner.FinishSequence();
Server.SkillHandlers.Stealth.OnUse( from );
}
}
}