<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,14 +1,15 @@
 
 local EDGEGAP, ROWHEIGHT, ROWGAP, GAP = 16, 19, 2, 4
 local sources = Engravings
-local db
-
+local db, dbpc
+local initdb = Engravings.initdb
+Engravings.initdb = nil
 
 local frame = CreateFrame(&quot;Frame&quot;, nil, InterfaceOptionsFramePanelContainer)
 frame.name = &quot;Engravings&quot;
 frame:Hide()
 frame:SetScript(&quot;OnShow&quot;, function(frame)
-	if not db then EngravingsDB2 = EngravingsDB2 or {}; db = EngravingsDB2 end
+	if not db then db, dbpc = initdb() end
 	local sortedtitles = {}
 	for title,data in pairs(sources) do table.insert(sortedtitles, title) end
 	table.sort(sortedtitles, function(a,b) return string.lower(a) &lt; string.lower(b) end)
@@ -31,7 +32,10 @@ frame:SetScript(&quot;OnShow&quot;, function(frame)
 	subtitle:SetText(&quot;This panel can be used to toggle tooltip engravings.&quot;)
 
 	local rows, anchor = {}
-	local function OnClick(self) db[self.value] = not db[self.value] end
+	local function OnClick(self)
+		local sv = self.value:match(&quot;^Wowhead score&quot;) and dbpc or db
+		sv[self.value] = not sv[self.value]
+	end
 	for i=1,15 do
 		local row = CreateFrame(&quot;Button&quot;, nil, frame)
 		if not anchor then row:SetPoint(&quot;TOP&quot;, subtitle, &quot;BOTTOM&quot;, 0, -16)
@@ -73,7 +77,7 @@ frame:SetScript(&quot;OnShow&quot;, function(frame)
 		local offset = math.floor(value)
 		for i,row in pairs(rows) do
 			local title = sortedtitles[i + offset]
-			row.check:SetChecked(not db[title])
+			row.check:SetChecked(not (db[title] or dbpc[title]))
 			row.check.value = title
 			row.title:SetText(title:gsub(&quot;:&quot;, &quot;&quot;))
 		end</diff>
      <filename>Config.lua</filename>
    </modified>
    <modified>
      <diff>@@ -3,10 +3,17 @@ Engravings = {}
 local sources = Engravings
 local origs = {}
 local R, G, B = 1, 136/255, 0
-local db, sortedtitles
+local db, dbpc, sortedtitles
+
+local function initdb()
+	EngravingsDB2, EngravingsDBPC = EngravingsDB2 or {}, EngravingsDBPC or {}
+	for title in pairs(sources) do if title:match(&quot;^Wowhead score&quot;) and EngravingsDB2[title] then EngravingsDBPC[title], EngravingsDB2[title] = EngravingsDB2[title], nil end end
+	return EngravingsDB2, EngravingsDBPC
+end
+Engravings.initdb = initdb
 
 local function OnTooltipSetItem(frame, ...)
-	if not db then EngravingsDB2 = EngravingsDB2 or {}; db = EngravingsDB2 end
+	if not db then db, dbpc = initdb() end
 	if not sortedtitles then
 		sortedtitles = {}
 		for title,data in pairs(sources) do table.insert(sortedtitles, title) end
@@ -18,7 +25,7 @@ local function OnTooltipSetItem(frame, ...)
 		local id = tonumber(link:match(&quot;item:(%d+):&quot;))
 		for i,title in pairs(sortedtitles) do
 			local data = sources[title]
-			if not db[title] and data[id] then frame:AddDoubleLine(type(title) == &quot;string&quot; and title or &quot;&quot;, data[id], R, G, B, R, G, B) end
+			if not (db[title] or dbpc[title]) and data[id] then frame:AddDoubleLine(type(title) == &quot;string&quot; and title or &quot;&quot;, data[id], R, G, B, R, G, B) end
 		end
 	end
 	if origs[frame] then return origs[frame](frame, ...) end</diff>
      <filename>Engravings.lua</filename>
    </modified>
    <modified>
      <diff>@@ -9,6 +9,7 @@
 ## X-Category: Inventory
 
 ## SavedVariables: EngravingsDB, EngravingsDB2
+## SavedVariablesPerCharacter: EngravingsDBPC
 
 ## LoadManagers: AddonLoader
 ## X-LoadOn-Always: delayed</diff>
      <filename>Engravings.toc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9cfd80678013138bbab8ffdddb51ffc83e4d9f84</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/engravings/commit/66c16a0be5f66c4a977c2c0f030a6b35aa986684</url>
  <id>66c16a0be5f66c4a977c2c0f030a6b35aa986684</id>
  <committed-date>2009-03-31T01:45:58-07:00</committed-date>
  <authored-date>2009-03-31T01:45:58-07:00</authored-date>
  <message>Make wowhead score settings save per-char</message>
  <tree>d52a078ea4a2e355014842dfd0b4262499f81804</tree>
  <committer>
    <name>Tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
