Disabled pre-AOS wrestling moves for AOS.
This commit is contained in:
parent
7f1fd47bd8
commit
2938db753b
3 changed files with 15 additions and 3 deletions
|
|
@ -605,7 +605,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
if( SmartAI && !m_Mobile.StunReady && m_Mobile.Skills[ SkillName.Wrestling ].Value >= 80.0 && m_Mobile.Skills[ SkillName.Anatomy ].Value >= 80.0 )
|
||||
if( !Core.AOS && SmartAI && !m_Mobile.StunReady && m_Mobile.Skills[ SkillName.Wrestling ].Value >= 80.0 && m_Mobile.Skills[ SkillName.Anatomy ].Value >= 80.0 )
|
||||
EventSink.InvokeStunRequest( new StunRequestEventArgs( m_Mobile ) );
|
||||
|
||||
if( !m_Mobile.InRange( c, m_Mobile.RangePerception ) )
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace Server.Mobiles
|
|||
if ( m_toDisarm == null )
|
||||
m_toDisarm = combatant.FindItemOnLayer( Layer.TwoHanded );
|
||||
}
|
||||
if ( !m_Mobile.DisarmReady && m_Mobile.Skills[SkillName.Wrestling].Value >= 80.0 && m_Mobile.Skills[SkillName.ArmsLore].Value >= 80.0 && m_toDisarm != null )
|
||||
if ( !Core.AOS && !m_Mobile.DisarmReady && m_Mobile.Skills[SkillName.Wrestling].Value >= 80.0 && m_Mobile.Skills[SkillName.ArmsLore].Value >= 80.0 && m_toDisarm != null )
|
||||
EventSink.InvokeDisarmRequest( new DisarmRequestEventArgs( m_Mobile ) );
|
||||
|
||||
if ( m_toDisarm != null && m_toDisarm.IsChildOf( combatant.Backpack ) && m_Mobile.NextSkillTime <= DateTime.Now && (m_toDisarm.LootType != LootType.Blessed && m_toDisarm.LootType != LootType.Newbied) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue