public static bool WillSpellFail(this ISpellCastProcessor processor, UniversalGuid?castId) { var time = processor.GetSpellFailTime(castId); return(time.HasValue); }
public static bool HasFailedCastingAt(this ISpellCastProcessor processor, UniversalGuid?castId, PacketBase packet) { var time = processor.GetSpellFailTime(castId); return(time.HasValue && time.Value == packet.Time.ToDateTime()); }