| User Interface, Add-ons and Macros For any User Interface (UI), Add-on or Macro Customization and assistance. |
![]() |
|
|
#1 (permalink) |
|
Character Info
Korwiin 80 Human Warlock Eldre'Thalas US PvE Guild: TiMe Profile: Blizzard Armory Talent Spec: 56/0/15 |
Let me tell ya bout a Script I wrote
Hello team Warlock. Here are 2 functions I wrote.  They depend on 2 addons being installed= LockTools and MobHealth2 What it does: Checks if you have nightfall up - if yes, stopcasting and insta nuke with Shadown Bolt (ends script). Checks if the mob's HP is less than 500 (using a MobHealth2 function), if so then Shadowburn it(ends script). If curse of shadows is not up then cast it (ends script) If corruption is not up, cast it (ends script) If all above conditions allow, then last but not least, cast shadow bolt. This is bound to a hotkey... I mash that key, EQ "taunt button" style, and it takes care of the brain work for me. Code:
function Nuke()
if (isNightFall()) then LTStopCasting(); castShadowBolt(); LTStopCasting() end;
if (not safeSB())
 then if (not castCoS())
  then if (not castCorruption())
  then castShadowBolt()
  end
 end
end
end
function safeSB()
local sbid = LTGetSpellID("Shadowburn")
if (MobHealth_GetTargetCurHP() < 500)
then if (LTcheckCoolThenCast(sbid))
then return true
 else
  return false
end
end
end
With Supermacro, Create a new macro, paste the above 2 functions into extended lua code pane (right side). In the macro pane (left side) enter: Code:
/script Nuke()
__________________
_________ Korwiin |
|
|
|
| Sponsored Links |
|
|
|
|
#2 (permalink) |
|
|
Re: Let me tell ya bout a Script I wrote
I really need to start learning about macros.you constantly spam this button while casting shadow bolt?
__________________
Time to make the hunters the hunted |
|
|
|
|
|
#3 (permalink) |
|
|
Re: Let me tell ya bout a Script I wrote
let me take a guess.... shadow bolt is your favorite spell? ![]() very nice macro ol |
|
|
|
|
|
#4 (permalink) | |
|
Character Info
Korwiin 80 Human Warlock Eldre'Thalas US PvE Guild: TiMe Profile: Blizzard Armory Talent Spec: 56/0/15 |
Re: Let me tell ya bout a Script I wrote
Quote:
Something I learned while using this macro. Casting SB after Nightfall procs does not "visually" cause a global 1 second cool down. All your icons appear castable.... however, you will get a "Spell is not ready yet" if you try to cast one again... so the 1 min cooldown is still there, just not visually indicated by the UI after you insta cast a SB from nightfall. A couple changes I am contemplating are using corruption (level 1) instead for mana conservation, and if your soulshards are less that 5 total, use drian soul instead of shadowburn. Something else I think would be hot, will be a smart Drain Soul script that casts Drain Soul level 1 if in a group/raid... OR cast Level 4 instead if you are ungrouped AND the mob doesnt have Corruption or Curse of Agony up. As it stands now, I physicaly swap the spell on the hotbar when I am in a raid. No need to burn the bookoo mana for a Shard when I dont need to right? =)
__________________
_________ Korwiin |
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| bout, script, wrote, ya |
| Thread Tools | |
|
|