public static bool WillSpellSucceed(this ISpellCastProcessor processor, UniversalGuid?castId) { var time = processor.GetSpellGoTime(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()); }