This is thanks to the person who found out about this, and the guy who posted it here:
http://www.mmowned.com/forums/wow-ex...functions.html
I made a macro that will automate fire and FFB's 'rotation', providing the best possible dps.
What it does:
1.) Check for living bomb on target, if down, casts living bomb
2.) Check for hotstreak on player, if up, casts pyroblast
3.) Check for improved scorch on target, if down, casts scorch
4.) else cast fireball (or frostfire bolt, just change this to what you want)
/dump c=CastSpellByName;if not UnitDebuff("target", "Living Bomb") then c("Living Bomb") elseif UnitBuff("player", "Hot Streak") then c("Pyroblast") elseif not UnitDebuff("target", "Improved Scorch") then c("Scorch") else c("Fireball") end
All credit for this macro goes to i2lurchi (he improved my original)
It casts scorch twice, this cannot be prevented as there is an issue with the debuff being 'delayed'. It takes around a second to be applied on the target after casting, so the macro still thinks imp. scorch isnt up.