<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-## Interface: 30000
+## Interface: 30100
 ## Author: Zariel
 
 core.lua
\ No newline at end of file</diff>
      <filename>SusansBagOfTricks.toc</filename>
    </modified>
    <modified>
      <diff>@@ -29,11 +29,13 @@ local GetSpellName = GetSpellName
 local pi = math.pi/2
 local math_sin = math.sin
 
+local playerName = UnitName(&quot;player&quot;)
+
 local addon = CreateFrame(&quot;Frame&quot;, nil, UIParent)
 local t = addon:CreateTexture(nil, &quot;OVERLAY&quot;)
 
-local size = 125
-local alpha = 0.8
+local size = 175
+local alpha = 0.85
 
 t:SetHeight(size)
 t:SetWidth(size)
@@ -49,38 +51,105 @@ addon.running = false
 addon.watched = {}
 addon.timer = 0
 
-addon.spells = {
-	-- Undead
-	[&quot;Will of the Forsaken&quot;] = true,
-	[&quot;Cannibalize&quot;] = true,
-
-	-- Rogue
-	[&quot;Riposte&quot;] = true,
-	[&quot;Gouge&quot;] = true,
-	[&quot;Blade Flurry&quot;] = true,
-	[&quot;Adrenaline Rush&quot;] = true,
-	[&quot;Killing Spree&quot;] = true,
-	[&quot;Kick&quot;] = true,
-	[&quot;Vanish&quot;] = true,
-	[&quot;Sprint&quot;] = true,
-	[&quot;Stealth&quot;] = true,
-	[&quot;Evasion&quot;] = true,
-	[&quot;Blind&quot;] = true,
-	[&quot;Kindey Shot&quot;] = true,
-	[&quot;Cold Blood&quot;] = true,
-	[&quot;Shadow Step&quot;] = true,
+addon.spells = {}
+
+local spells = {
+	undead = {
+		-- Undead
+		&quot;Will of the Forsaken&quot;,
+		&quot;Cannibalize&quot;,
+	},
+	NightElf = {
+		&quot;Shadowmeld&quot;,
+	},
+	Rogue = {
+		-- Rogue
+		&quot;Riposte&quot;,
+		&quot;Gouge&quot;,
+		&quot;Blade Flurry&quot;,
+		&quot;Adrenaline Rush&quot;,
+		&quot;Killing Spree&quot;,
+		&quot;Kick&quot;,
+		&quot;Vanish&quot;,
+		&quot;Sprint&quot;,
+		&quot;Stealth&quot;,
+		&quot;Evasion&quot;,
+		&quot;Blind&quot;,
+		&quot;Kindey Shot&quot;,
+		&quot;Cold Blood&quot;,
+		&quot;Shadow Step&quot;
+	},
+	Hunter = {
+		&quot;Arcane Shot&quot;,
+		&quot;Multi Shot&quot;,
+		&quot;Concussive Shot&quot;,
+		&quot;Intimidation&quot;,
+		&quot;Flare&quot;,
+		&quot;Feign Death&quot;,
+		&quot;Disengage&quot;,
+		&quot;Bestial Wrath&quot;,
+		&quot;Viper Sting&quot;,
+		&quot;Deterrence&quot;,
+		&quot;Frost Trap&quot;,
+		&quot;Freezing Trap&quot;,
+		&quot;Snake Trap&quot;,
+		&quot;Kill Command&quot;,
+		&quot;Explosive Shot&quot;,
+		&quot;Aimed Shot&quot;,
+		&quot;Scare Beast&quot;,
+		&quot;Tranqulizing Shot&quot;
+	},
+	warrior = {
+		&quot;Charge&quot;,
+		&quot;Intercept&quot;,
+		&quot;Overpower&quot;,
+		&quot;Bloodrage&quot;,
+		&quot;Beserker Rage&quot;,
+		&quot;Mortal Strike&quot;,
+		&quot;Revenge&quot;,
+		&quot;Shield Bash&quot;,
+		&quot;Shield Block&quot;,
+	},
 }
 
+if spells[UnitClass(&quot;player&quot;)] then
+	addon.spells = {}
+	for k, spell in pairs(spells[UnitClass(&quot;player&quot;)]) do
+		addon.spells[spell] = true
+	end
+end
+
+if spells[UnitRace(&quot;player&quot;)] then
+	addon.spells = addon.spells or {}
+	for k, spell in pairs(select(2, spells[UnitRace(&quot;player&quot;)])) do
+		addon.spells[spell] = true
+	end
+end
+
+if not addon.spells then return end
+
+spells = nil
+
 addon:SetScript(&quot;OnEvent&quot;, function(self, event, ...)
 	return self[event](self, ...)
 end)
 
 addon:RegisterEvent(&quot;SPELL_UPDATE_COOLDOWN&quot;)
+addon:RegisterEvent(&quot;COMBAT_LOG_EVENT_UNFILTERED&quot;)
+
+local cast = {}
+
+function addon:COMBAT_LOG_EVENT_UNFILTERED(timeStamp, event, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags, spellId, spellName)
+	if sourceName == playerName and spellName and self.spells[spellName] then
+		cast[spellName] = true
+	end
+end
 
 function addon:SPELL_UPDATE_COOLDOWN()
+	local start, duration, enabled
 	for spell in pairs(self.spells) do
-		local start, duration, enabled = GetSpellCooldown(spell)
-		if enabled == 1 and duration &gt; 1.5 then
+		start, duration, enabled = GetSpellCooldown(spell)
+		if enabled == 1 and duration &gt; 1.5 and cast[spell] then
 			self.watched[spell] = start + duration
 		end
 	end
@@ -93,6 +162,7 @@ addon:SetScript(&quot;OnUpdate&quot;, function(self, elapsed)
 		if time &gt; finish then
 			table.insert(self.queue, spell)
 			self.watched[spell] = nil
+			cast[spell] = nil
 		end
 	end
 </diff>
      <filename>core.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dcf18e13bc2c52e9a5d1737ea86788def098b747</id>
    </parent>
  </parents>
  <author>
    <name>Zariel</name>
    <email>c.bannister@gmail.com</email>
  </author>
  <url>http://github.com/Zariel/susansbagoftricks/commit/84eb67026d200db9208429bafe66283b3f4cef8a</url>
  <id>84eb67026d200db9208429bafe66283b3f4cef8a</id>
  <committed-date>2009-07-20T07:19:11-07:00</committed-date>
  <authored-date>2009-07-20T07:19:11-07:00</authored-date>
  <message>Add more spells, only show cast cooldowns, tweak display</message>
  <tree>2e756fb6887f6dce56f75e0aaee029cfb687d6f8</tree>
  <committer>
    <name>Zariel</name>
    <email>c.bannister@gmail.com</email>
  </committer>
</commit>
