<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>modules/Combine.lua</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -54,3 +54,5 @@ modules\Repairs.lua
 modules\Talents.lua
 modules\Shucks.lua
 modules\Tracking.lua
+modules\Combine.lua
+</diff>
      <filename>Cork.toc</filename>
    </modified>
    <modified>
      <diff>@@ -121,9 +121,7 @@ frame:SetScript(&quot;OnShow&quot;, function()
 
 	local enabled = tekcheck.new(frame, nil, &quot;Enabled&quot;, &quot;TOPLEFT&quot;, subtitle, &quot;BOTTOMLEFT&quot;, -2, -GAP)
 	enabled.tiptext = &quot;Toggle this module.&quot;
-	local checksound = enabled:GetScript(&quot;OnClick&quot;)
 	local function toggle(self)
-		checksound(self)
 		Cork.dbpc[&quot;Blessings-&quot;..self.sv] = not Cork.dbpc[&quot;Blessings-&quot;..self.sv]
 		dataobj:Scan()
 	end</diff>
      <filename>modules/PaladinBlessings.lua</filename>
    </modified>
    <modified>
      <diff>@@ -9,13 +9,6 @@ Cork.defaultspc[&quot;Shuck Clams-enabled&quot;] = true
 
 local dataobj = LibStub:GetLibrary(&quot;LibDataBroker-1.1&quot;):NewDataObject(&quot;Cork Shuck Clams&quot;, {type = &quot;cork&quot;})
 
-local function Test()
-	if min &gt;= Cork.dbpc[&quot;Shuck Clams-threshold&quot;] then return end
-
-	local r,g,b = RYGColorGradient(min)
-	return IconLine(ICON, string.format(&quot;Your equipment is damaged |cff%02x%02x%02x(%d%%)&quot;, r*255, g*255, b*255, min*100))
-end
-
 function dataobj:Scan()
 	if not Cork.dbpc[&quot;Shuck Clams-enabled&quot;] then
 		dataobj.player = nil</diff>
      <filename>modules/Shucks.lua</filename>
    </modified>
    <modified>
      <diff>@@ -52,9 +52,7 @@ frame:SetScript(&quot;OnShow&quot;, function()
 
 	local enabled = tekcheck.new(frame, nil, &quot;Enabled&quot;, &quot;TOPLEFT&quot;, subtitle, &quot;BOTTOMLEFT&quot;, -2, -GAP)
 	enabled.tiptext = &quot;Toggle this module.&quot;
-	local checksound = enabled:GetScript(&quot;OnClick&quot;)
 	enabled:SetScript(&quot;OnClick&quot;, function(self)
-		checksound(self)
 		Cork.dbpc[&quot;Shout-enabled&quot;] = not Cork.dbpc[&quot;Shout-enabled&quot;]
 		dataobj:Scan()
 	end)</diff>
      <filename>modules/WarriorShout.lua</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 
-local lib, oldminor = LibStub:NewLibrary(&quot;tekKonfig-Checkbox&quot;, 1)
+local lib, oldminor = LibStub:NewLibrary(&quot;tekKonfig-Checkbox&quot;, 2)
 if not lib then return end
 
 
@@ -36,6 +36,7 @@ function lib.new(parent, size, label, ...)
 
 	-- Sound
 	check:SetScript(&quot;OnClick&quot;, OnClick)
+	check:SetScript(&quot;PostClick&quot;, OnClick) -- So we don't have to hook OnClick to get the sound
 
 	-- Label
 	local fs = check:CreateFontString(nil, &quot;ARTWORK&quot;, &quot;GameFontHighlight&quot;)</diff>
      <filename>tekKonfig/tekKonfigCheckbox.lua</filename>
    </modified>
    <modified>
      <diff>@@ -68,7 +68,7 @@ end
 local raidunits = {}
 for i=1,40 do raidunits[&quot;raid&quot;..i] = i end
 function Cork:ValidUnit(unit, nopets)
-	if blist[unit] or not UnitExists(unit) or (UnitIsPlayer(unit) and not UnitIsConnected(unit))
+	if blist[unit] or not UnitExists(unit) or (UnitIsPlayer(unit) and (not UnitIsConnected(unit) or UnitIsDeadOrGhost(unit) or UnitInVehicle(unit)))
 		or (Cork.petunits[unit] and (nopets or not Cork.dbpc.castonpets))
 		or (unit ~= &quot;player&quot; and UnitIsUnit(unit, &quot;player&quot;))
 		or (unit == &quot;target&quot; and (UnitIsUnit(&quot;target&quot;, &quot;focus&quot;) or not UnitCanAssist(&quot;player&quot;, unit) or not UnitPlayerControlled(unit) or UnitIsEnemy(&quot;player&quot;, unit)))
@@ -80,7 +80,12 @@ end
 
 
 function Cork:RegisterRaidEvents(spellname, dataobj, Test)
-	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_AURA&quot;, function(event, unit) dataobj[unit] = Test(unit) end)
+	local function TestUnit(event, unit) dataobj[unit] = Test(unit) end
+	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_AURA&quot;, TestUnit)
+	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_DYNAMIC_FLAGS&quot;, TestUnit)
+	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_ENTERED_VEHICLE&quot;, TestUnit)
+	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_EXITED_VEHICLE&quot;, TestUnit)
+	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_FLAGS&quot;, TestUnit)
 	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;PARTY_MEMBERS_CHANGED&quot;, function() for i=1,4 do dataobj[&quot;party&quot;..i], dataobj[&quot;partypet&quot;..i] = Test(&quot;party&quot;..i), Test(&quot;partypet&quot;..i) end end)
 	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;RAID_ROSTER_UPDATE&quot;, function() for i=1,40 do dataobj[&quot;raid&quot;..i], dataobj[&quot;raidpet&quot;..i] = Test(&quot;raid&quot;..i), Test(&quot;raidpet&quot;..i) end end)
 	ae.RegisterEvent(&quot;Cork &quot;..spellname, &quot;UNIT_PET&quot;, function(event, unit) if Cork.petmappings[unit] then dataobj[Cork.petmappings[unit]] = Test(Cork.petmappings[unit]) end end)</diff>
      <filename>templates/RaidBuffer.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>62f41a0197dc2b68b511acd8775a17e04a68f79f</id>
    </parent>
    <parent>
      <id>8bb4c9fd1fda288183688c58087c563a556da36f</id>
    </parent>
  </parents>
  <author>
    <name>tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/cork/commit/19a80e4c8b1d4834ba3c5c0ec04234944040a4ad</url>
  <id>19a80e4c8b1d4834ba3c5c0ec04234944040a4ad</id>
  <committed-date>2009-10-21T23:50:57-07:00</committed-date>
  <authored-date>2009-10-21T23:50:57-07:00</authored-date>
  <message>Merge commit 'origin/master'</message>
  <tree>f66c5689bdbc4e264f3da5b2f22cb8b8a6719f32</tree>
  <committer>
    <name>tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
