mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Adjust UseWithTarget to support SourceContained spell casting * Update Player_Magic.cs * Update RecipeManager.cs * Update CastQueue.cs * Update CastSpellParams.cs * Update MagicState.cs * Update WindupParams.cs * Update Player_Magic.cs * Update Player_Use.cs
31 lines
733 B
C#
31 lines
733 B
C#
using ACE.Server.WorldObjects;
|
|
|
|
namespace ACE.Server.Entity
|
|
{
|
|
/// <summary>
|
|
/// questionable if this was ever in retail
|
|
/// </summary>
|
|
public class CastQueue
|
|
{
|
|
public CastQueueType Type;
|
|
public uint TargetGuid;
|
|
public uint SpellId;
|
|
//public bool BuiltInSpell;
|
|
public WorldObject CasterItem;
|
|
|
|
public CastQueue(CastQueueType type, uint targetGuid, uint spellId, WorldObject casterItem)
|
|
{
|
|
Type = type;
|
|
TargetGuid = targetGuid;
|
|
SpellId = spellId;
|
|
//BuiltInSpell = builtInSpell;
|
|
CasterItem = casterItem;
|
|
}
|
|
}
|
|
|
|
public enum CastQueueType
|
|
{
|
|
Targeted,
|
|
Untargeted
|
|
}
|
|
}
|