castbar: remove spell gain trigger

This commit is contained in:
shagu
2016-12-28 15:44:38 +01:00
parent 1cd75a1cc5
commit b1ba3c1f96
+4 -4
View File
@@ -301,11 +301,11 @@ pfUI:RegisterModule("castbar", function ()
pfUI.castbar.target:Action(mob, spell)
return
end
for mob, spell in string.gfind(arg1, pfLocaleSpellEvents[pfUI.cache["locale"]]['SPELL_GAINS']) do
pfUI.castbar.target:Action(mob, spell, true)
return
end
-- this part will be used for interruption of spells
--for mob, spell in string.gfind(arg1, pfLocaleSpellEvents[pfUI.cache["locale"]]['SPELL_GAINS']) do
-- pfUI.castbar.target:Action(mob, spell, true)
-- return
--end
--for mob, spell in string.gfind(arg1, pfLocaleSpellEvents[pfUI.cache["locale"]]['SPELL_AFFLICTED']) do
-- pfUI.castbar.target:Action(mob, spell, "afflicted")
-- return