Cleans up Spell Targeting (#36)

This commit is contained in:
Kamron Batman 2019-03-15 15:23:03 -07:00 • committed by GitHub
parent de50bc9e43
commit 472b84f5ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 653 additions and 2192 deletions

View file

@ -86,6 +86,7 @@ namespace Server
bool OnCasterEquipping(Item item);
bool OnCasterUsingObject(IEntity entity);
bool OnCastInTown(Region r);
void FinishSequence();
}
public interface IParty

View file

@ -1090,10 +1090,10 @@ namespace Server
} else if (ObjectPropertyList.Enabled && (flags & ItemDelta.Properties) != 0)
state.Send(OPLPacket);
}
Packet.Release(p);
eable.Free();
}
Packet.Release(p);
eable.Free();
}
public virtual void Delete()

View file

@ -19,7 +19,6 @@
***************************************************************************/
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Server.Network;

View file

@ -2333,9 +2333,7 @@ namespace Server
public virtual void ProcessDelta()
{
Mobile m = this;
MobileDelta delta;
delta = m.m_DeltaFlags;
MobileDelta delta = m.m_DeltaFlags;
if (delta == MobileDelta.None)
return;
@ -7282,12 +7280,14 @@ namespace Server
}
else
{
while (m_DeltaQueue.Count > 0) m_DeltaQueue.Dequeue().ProcessDelta();
while (m_DeltaQueue.Count > 0)
m_DeltaQueue.Dequeue().ProcessDelta();
}
_processing = false;
while (m_DeltaQueueR.Count > 0) m_DeltaQueueR.Dequeue().ProcessDelta();
while (m_DeltaQueueR.Count > 0)
m_DeltaQueueR.Dequeue().ProcessDelta();
}
public virtual void OnKillsChange(int oldValue)