buzzerbeater
Well-Known Member
- Joined
- Mar 21, 2011
- Messages
- 5,419
- Reaction score
- 28
Hey,
had in mind some automated button pushin.
Code like this:
Fading Light:
Hour of Twilight:
Heroic Fading Light:
Shrapnel on DW:
Anybody thinks this could be easily done?
Code supported by Mentally, all credits to him!
had in mind some automated button pushin.
Code like this:
Fading Light:
Code:
local fadingtime = select(7,UnitDebuffID("player",109075))
if fadingtime and fadingtime - GetTime() < 1.0 then RunMacroText("/click ExtraActionButton1") end
Hour of Twilight:
Code:
local channelSpell, _, _, _, _, endTime = UnitCastingInfo("boss1")
if channelSpell == GetSpellInfo(109417) and endTime/1000 - GetTime() < 0.6
then RunMacroText("/click ExtraActionButton1") end
Heroic Fading Light:
Code:
local fadingtime = select(7,UnitDebuffID("player",110070))
if fadingtime and fadingtime - GetTime() < 1.0 then RunMacroText("/click ExtraActionButton1") end
Shrapnel on DW:
Code:
local fadingtime = select(7,UnitDebuffID("player",110140))
if fadingtime and fadingtime - GetTime() < 1.0 then RunMacroText("/click ExtraActionButton1") end
Anybody thinks this could be easily done?
Code supported by Mentally, all credits to him!
Last edited: