Stormchasing
Community Developer
- Joined
- Jan 15, 2011
- Messages
- 4,029
- Reaction score
- 48
Code:
ClearLog();
string spell = "Kill Command";
int indetermValue = int.MaxValue;
SpellFindResults sfr;
if (SpellManager.FindSpell(spell, out sfr))
Log((sfr.Override ?? sfr.Original).CooldownTimeLeft);
if (indetermValue == int.MaxValue) Log(TimeSpan.MaxValue);
Log(TimeSpan.FromSeconds(indetermValue));