From 35a4a16990f5ea3359fb7968655ac0b74fbbca81 Mon Sep 17 00:00:00 2001 From: Taracque Date: Wed, 29 Aug 2012 13:36:51 +0200 Subject: [PATCH] Fixed Raid detection. --- Elementarist.lua | 6 +++--- Elementarist.toc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Elementarist.lua b/Elementarist.lua index 5f16a81..8fcedcb 100755 --- a/Elementarist.lua +++ b/Elementarist.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- Elementarist 2.9.0 +-- Elementarist 2.9.1 -- -- Shows the advised spell for an elemental shaman for optimal DPS output. ------------------------------------------------------------------------------- @@ -8,7 +8,7 @@ Elementarist = {Locals = {}} local L = Elementarist.Locals -Elementarist.versionNumber = '2.9.0' +Elementarist.versionNumber = '2.9.1' Elementarist.playerName = UnitName("player") Elementarist.playerGUID = UnitGUID("player") Elementarist.targetGUID = nil @@ -281,7 +281,7 @@ function Elementarist:detectTalent() end function Elementarist:PlayerInParty() - if (IsInRaid()>0) then + if (IsInRaid()) then return 2 elseif (GetNumGroupMembers()>0) then return 1 diff --git a/Elementarist.toc b/Elementarist.toc index d5d3360..c52f02d 100755 --- a/Elementarist.toc +++ b/Elementarist.toc @@ -2,7 +2,7 @@ ## Title: Elementarist ## Notes: Elemental shaman spell rotation helper ## Author: Taracque, Felmosórongy of Arathor -## Version: 2.9.0 +## Version: 2.9.1 ## SavedVariables: ElementaristDB ## OptionalDeps: OmniCC, SpellFlash ## Dependencies: -- 1.7.9.5