Permalink
Browse files

pet stuff moved to correct place

  • Loading branch information...
1 parent 8db1702 commit 10f99e3b80a92bf561b9d502a4f4f6c50521e09b @MikkoMajuri MikkoMajuri committed Apr 23, 2009
Showing with 9 additions and 8 deletions.
  1. +9 −8 MiniCombatLog.lua
View
@@ -110,14 +110,6 @@ f:SetScript("OnEvent", function(self,event,...)
if select(13,...) < select(12,...) then
Mprint(testframe2,testframe1,testframe3,lightgreen,select(12,...),select(14,...))
end
- elseif minievent == "SPELL_HEAL" and guidtarget == pet then
- if select(13,...) < select(12,...) then
- Mprint(testframe2,testframe1,testframe3,green,"["..select(12,...).."]",select(14,...))
- end
- elseif minievent == "SPELL_PERIODIC_HEAL" and guidtarget == pet then
- if select(13,...) < select(12,...) then
- Mprint(testframe2,testframe1,testframe3,lightgreen,"["..select(12,...).."]",select(14,...))
- end
-- Pet
elseif minievent == "SWING_DAMAGE" and guidsource == pet then
@@ -134,6 +126,15 @@ f:SetScript("OnEvent", function(self,event,...)
Mprint(testframe3,testframe2,testframe1,Mgetcolor(color),"["..select(12,...).."]",select(18,...))
elseif minievent == "ENVIRONMENTAL_DAMAGE" and guidtarget == pet then
Mprint(testframe1,testframe2,testframe3,Mgetcolor(color),"["..select(10,...).."]",nil)
+ elseif minievent == "SPELL_HEAL" and guidtarget == pet then
+ if select(13,...) < select(12,...) then
+ Mprint(testframe2,testframe1,testframe3,green,"["..select(12,...).."]",select(14,...))
+ end
+ elseif minievent == "SPELL_PERIODIC_HEAL" and guidtarget == pet then
+ if select(13,...) < select(12,...) then
+ Mprint(testframe2,testframe1,testframe3,lightgreen,"["..select(12,...).."]",select(14,...))
+ end
+
else return end
elseif event == "PLAYER_REGEN_ENABLED" then

0 comments on commit 10f99e3

Please sign in to comment.