Fixes to 'all guard me'

Shurikens/FukiyaDarts use now unhides you
This commit is contained in:
asayre 2006-11-25 00:50:53 +00:00
parent e7f2db2559
commit 3e4c1994f2
3 changed files with 5 additions and 12 deletions

View file

@ -520,6 +520,7 @@ namespace Server.Mobiles
return;
}
case 0x166: // all guard
case 0x16B: // all guard me
{
if( !isOwner )
break;
@ -549,18 +550,6 @@ namespace Server.Mobiles
BeginPickTarget( e.Mobile, OrderType.Attack );
return;
}
case 0x16B: // all guard me
{
if( !isOwner )
break;
if( m_Mobile.CheckControlChance( e.Mobile ) )
{
m_Mobile.ControlTarget = e.Mobile;
m_Mobile.ControlOrder = OrderType.Guard;
}
return;
}
case 0x16C: // all follow me
{
if( m_Mobile.CheckControlChance( e.Mobile ) )

View file

@ -112,6 +112,8 @@ namespace Server.Items
from.Direction = from.GetDirectionTo( target );
from.RevealingAction();
if ( from.Body.IsHuman && !from.Mounted )
from.Animate( 33, 2, 1, true, true, 0 );

View file

@ -127,6 +127,8 @@ namespace Server.Items
from.Direction = from.GetDirectionTo( target );
from.RevealingAction();
if ( from.Body.IsHuman )
from.Animate( from.Mounted ? 26 : 9, 7, 1, true, false, 0 );