Quantcast

Used ZeroCount instead of Count to determine Lightning charges Elemenatal 625

BillLive [01-31-16 - 04:43]
Used ZeroCount instead of Count to determine Lightning charges Elemenatal 625
Signed-off-by: BillLive
Filename
modules/elemental.lua
diff --git a/modules/elemental.lua b/modules/elemental.lua
index 8f9e235..539ba79 100755
--- a/modules/elemental.lua
+++ b/modules/elemental.lua
@@ -621,8 +621,8 @@ Elementarist.elemental = {
 				if (d) and (d<0.5) then
 					local _, _, _, lscount = Elementarist:hasBuff("player",Elementarist.SpellList["Lightning Shield"])
 					if (lscount) then
-						lscount= lscount + (Elementarist:ZeroCount(Elementarist.SpellList["Lightning Bolt"],spellInCast,exspell1,exspell2));
-						lscount= lscount + (Elementarist:ZeroCount(Elementarist.SpellList["Lava Burst"],spellInCast,exspell1,exspell2));
+						lscount= lscount + (Elementarist:Count(Elementarist.SpellList["Lightning Bolt"],spellInCast,exspell1,exspell2));
+						lscount= lscount + (Elementarist:Count(Elementarist.SpellList["Lava Burst"],spellInCast,exspell1,exspell2));
 					else
 						lscount=0;
 					end