I found out why i couldnt get your script to work. And found this:
i updated my Event Functions abilitie but yours are based on my old.
Add the bold part
Code:
if MageFunctions == nil then
MageFunctions = true
print("Mage Functions Loadeds.")
function xelperFrame_OnEvent(self,event,...)
if event == "COMBAT_LOG_EVENT_UNFILTERED" then
--print("Mage Functions Combatlog.")
local subEvent = select(2, ...)
local sourceName = select(5, ...)
local destName = select(9, ...)
local spellName = select(13, ...)
local spellAmount = select(15, ...)
local spellCrit = select(21, ...)
IgniteLastDamage = 0
Secondly it was the mage bomb part. If you use sheurons magebomb it would solve it else you need to check if the spellid is known:
For example everyone not have talented scorch cant use the script.
I solved it like this
Code:
if IsSpellKnown(2948)
and PQR_IsMoving(0.2) then CastSpellByName(GetSpellInfo(2948),nil) return true end
Here is Sheurons mage bomb code
Code:
local MageBomb = select(5,GetTalentInfo(13)) and 114923 or select(5,GetTalentInfo(14)) and 44457 or ( select(5,GetTalentInfo(15)) and not PQR_IsMoving(1) and select(2,GetSpellCooldown(112948)) < 2 ) and 112948
if MageBomb and not HaveDebuff("target",MageBomb,nil,"PLAYER")
then CastSpellByName(GetSpellInfo(MageBomb),nil) return true end
i will check your code on dummie and be back with more feedback m8