Fixes to 'all guard me'
Shurikens/FukiyaDarts use now unhides you
This commit is contained in:
parent
e7f2db2559
commit
3e4c1994f2
3 changed files with 5 additions and 12 deletions
|
|
@ -520,6 +520,7 @@ namespace Server.Mobiles
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 0x166: // all guard
|
case 0x166: // all guard
|
||||||
|
case 0x16B: // all guard me
|
||||||
{
|
{
|
||||||
if( !isOwner )
|
if( !isOwner )
|
||||||
break;
|
break;
|
||||||
|
|
@ -549,18 +550,6 @@ namespace Server.Mobiles
|
||||||
BeginPickTarget( e.Mobile, OrderType.Attack );
|
BeginPickTarget( e.Mobile, OrderType.Attack );
|
||||||
return;
|
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
|
case 0x16C: // all follow me
|
||||||
{
|
{
|
||||||
if( m_Mobile.CheckControlChance( e.Mobile ) )
|
if( m_Mobile.CheckControlChance( e.Mobile ) )
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,8 @@ namespace Server.Items
|
||||||
|
|
||||||
from.Direction = from.GetDirectionTo( target );
|
from.Direction = from.GetDirectionTo( target );
|
||||||
|
|
||||||
|
from.RevealingAction();
|
||||||
|
|
||||||
if ( from.Body.IsHuman && !from.Mounted )
|
if ( from.Body.IsHuman && !from.Mounted )
|
||||||
from.Animate( 33, 2, 1, true, true, 0 );
|
from.Animate( 33, 2, 1, true, true, 0 );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -127,6 +127,8 @@ namespace Server.Items
|
||||||
|
|
||||||
from.Direction = from.GetDirectionTo( target );
|
from.Direction = from.GetDirectionTo( target );
|
||||||
|
|
||||||
|
from.RevealingAction();
|
||||||
|
|
||||||
if ( from.Body.IsHuman )
|
if ( from.Body.IsHuman )
|
||||||
from.Animate( from.Mounted ? 26 : 9, 7, 1, true, false, 0 );
|
from.Animate( from.Mounted ? 26 : 9, 7, 1, true, false, 0 );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue