From 877c8c719de48e4f98895a9a778ca242278d91eb Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 6 May 2016 16:14:30 +0200 Subject: [PATCH] Documentation. --- Vect.toc | 2 +- data/spells.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Vect.toc b/Vect.toc index 4016d32..1c6658d 100644 --- a/Vect.toc +++ b/Vect.toc @@ -1,5 +1,5 @@ ## Interface: 30300 -## Author: Verot +## Author: Verot (AVeroth) ## Name: Vect ## Title: Vect ## Notes: Verot's Enemy Cooldown Tracker. diff --git a/data/spells.lua b/data/spells.lua index 513983b..c7499dd 100644 --- a/data/spells.lua +++ b/data/spells.lua @@ -4,6 +4,8 @@ --spellid -> the spell's id --cd -> base cooldown for the spell, this will be used until the spec is detected (if its on, else this will be used) +-- NOTE: cds are in seconds, and if the tooltip shows like 2.1M then you convert it like this: 2.1 * 60 = 126, +-- and not like (2 * 60) = 120 sec + (0.1 * 10) = 130 sec --reset -> lua array, when the spell is cast these will be removed from the caster's spells (check Cold Snap or Preparation for an example) --spec1cd, spec2cd, spec3cd ->cds on different specs, its in talent tree order e.g. Mage spec1 = Arcane, spec2 = Fire, spec3 = Arcane --spec -> the addon detects the spec based on this, 0 to ignore, 3 switch to spec 1, 4 switch to spec2, 5 switch to spec 5