From e007318862366e105ef17e75a8a1035d691981ce Mon Sep 17 00:00:00 2001 From: ackis Date: Thu, 4 Jun 2009 18:29:32 +0000 Subject: [PATCH] Add checks for str, agi, and spi --- ARLDatamine.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 1998c5c..352b45f 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -673,8 +673,23 @@ self:Print(text) -- Certain stats can be considered for a specific role (aka spell hit == caster dps). -- confirmedtype will be toggled to true when we get to a stat that is specific to that class elseif (not confirmedtype) then + if (strmatch(text,"strength")) then + tank = true + dps = true + caster = false + healer = false + elseif (strmatch(text,"agility")) then + tank = true + dps = true + caster = false + healer = fals + elseif (strmatch(text,"spirit")) then + tank = false + dps = false + caster = true + healer = true -- Caster stats - if (strmatch(text,"spell power")) then + elseif (strmatch(text,"spell power")) then caster = true tank = false dps = false -- 1.7.9.5