fix: Removed StunRequest and DisarmRequest EventSinks (#1781)

This commit is contained in:
Marcelo Paez Sequeira 2024-05-19 18:12:58 -03:00 committed by GitHub
parent f2a33706ab
commit 1cb798d807
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 15 deletions

View file

@ -1,4 +1,5 @@
using System;
using Server.Items;
using Server.Spells;
using Server.Spells.Fifth;
using Server.Spells.First;
@ -720,7 +721,7 @@ public class MageAI : BaseAI
if (!Core.AOS && SmartAI && !m_Mobile.StunReady && m_Mobile.Skills.Wrestling.Value >= 80.0 &&
m_Mobile.Skills.Anatomy.Value >= 80.0)
{
EventSink.InvokeStunRequest(m_Mobile);
Fists.StunRequest(m_Mobile);
}
if (!m_Mobile.InRange(c, m_Mobile.RangePerception))