Index: PerfectRaid.lua
===================================================================
--- PerfectRaid.lua	(revision 8625)
+++ PerfectRaid.lua	(working copy)
@@ -5,7 +5,7 @@
 local elapsed = 0
 local visible,frames,dirty,aura,dirtyStatus = {},{},{},{},{}
 local marked,selected,sort,keys,registry= {},{},{},{},{}
-local feign,soulstone,inrange,innervate,poweri,unavail,fortitude,renew,shield,wsoul,mow = {},{},{},{},{},{},{},{},{},{},{}
+local feign,soulstone,inrange,innervate,poweri,unavail,fortitude,renew,shield,wsoul,mow,spirit = {},{},{},{},{},{},{},{},{},{},{},{}
 local anyDirty,dirtyRoster
 local force = 0
 
@@ -427,6 +427,7 @@
 		shield[unit] = nil
 		wsoul[unit] = nil
 		mow[unit] = nil
+		spirit[unit] = nil
 		
 		local _,_,type,r,g,b,a = string.find(self.opt.BackdropFrame or self.defaults.BackdropFrame, "(%a+)%s*(%d*%.?%d*)%s*(%d*%.?%d*)%s*(%d*%.?%d*)%s*(%d*%.?%d*)")
 		r,g,b,a = r or 0, g or 0, b or 0, a or 0
@@ -500,6 +501,7 @@
 
 			
 			local _, class = UnitClass("player")
+			local powertype = UnitPowerType(unit)
 			
 			for i=1,32 do
 				local texture = UnitBuff(unit, i)
@@ -519,12 +521,16 @@
 					shield[unit] = true
 				elseif texture == "Interface\\Icons\\Spell_Nature_Regeneration" then
 					mow[unit] = true
+				elseif powertype ~= 0 or
+					texture == "Interface\\Icons\\Spell_Holy_DivineSpirit" or
+					texture == "Interface\\Icons\\Spell_Holy_PrayerofSpirit" then
+					spirit[unit] = true
 				end
 			end
 
 			
 			
-			local output = string.format("%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
+			local output = string.format("%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",
 										(soulstone[unit] and PERFECTRAID.COLORS.Soulstone) or "",
 										(innervate[unit] and PERFECTRAID.COLORS.Innervate) or "",
 										(poweri[unit] and PERFECTRAID.COLORS.PowerInfusion) or "",
@@ -535,6 +541,7 @@
 										(aura[PERFECTRAID.POISON] and PERFECTRAID.COLORS.Poison) or "",
 										(aura.LowMana and PERFECTRAID.COLORS.LowMana) or "",
 										(class == "PRIEST" and not fortitude[unit] and PERFECTRAID.COLORS.Fortitude) or "",
+										(class == "PRIEST" and not spirit[unit] and PERFECTRAID.COLORS.Spirit) or "",
 										(class == "PRIEST" and renew[unit] and PERFECTRAID.COLORS.Renew) or "",
 										(class == "PRIEST" and shield[unit] and not wsoul[unit] and PERFECTRAID.COLORS.Shield) or "",
 										(class == "PRIEST" and wsoul[unit] and PERFECTRAID.COLORS.ShieldWeakenedSoul) or "",
Index: PerfectRaidLocals.lua
===================================================================
--- PerfectRaidLocals.lua	(revision 8625)
+++ PerfectRaidLocals.lua	(working copy)
@@ -35,6 +35,7 @@
 PERFECTRAID.COLORS["Shield"]		= "|cFFFFD800Sh |r"
 PERFECTRAID.COLORS["ShieldWeakenedSoul"]	= "|cFFFF5500Sh |r"
 PERFECTRAID.COLORS["MarkOfWild"]	= "|cFFbc64aaM |r"
+PERFECTRAID.COLORS["Spirit"]	= "|cFF0099CCS |r"
 
 PERFECTRAID.CLASSES = {}
 PERFECTRAID.CLASSES["PALADIN"] 	= "|cFFF48CBA"
