Cleans up Spell Targeting (#36)
This commit is contained in:
parent
de50bc9e43
commit
472b84f5ff
99 changed files with 653 additions and 2192 deletions
|
|
@ -86,6 +86,7 @@ namespace Server
|
|||
bool OnCasterEquipping(Item item);
|
||||
bool OnCasterUsingObject(IEntity entity);
|
||||
bool OnCastInTown(Region r);
|
||||
void FinishSequence();
|
||||
}
|
||||
|
||||
public interface IParty
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
***************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Server.Network;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue