Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wand of Darkness macro
#1
Macro only for servers that have following item and spell

[Image: c2Z6Gt0.png]
[Image: 6OKbSdD.png]

Exception is, on ots I made this macro for item has duration 15 minutes instead of 250 shots.


in 82.6 or lower version of bbot requires adding item to BBot.Items.txt
copy and paste this at the bottom of the file

Code:
25760,1,3200,0,0,wand of darkness


There are 3 macros working together

Spell Wand - uses skill 15 minutes after Wand of Darkness disappeared

Equip Wands - puts on WoD when avaiable, or your normal wand if not
DW Timer - shows cooldown on exevo gran mort
[Image: mMYqrhD.png]


Put into variables wand you normally using, example:
Code:
NormalWand=8092

Macros:

[macro]500 {Spell Wand} DWand:=25760 LHand:=Self.Inventory.ID(LeftHand) !LHand==!DWand [blc] Cooldown.Create(SpellCD, 900000) {blc} Cooldown.Blocked(SpellCD)==0 Self.Mana()>=250 Self.Say(exevo gran mort) exit() [/macro]

[macro]50 {Equip Wands} DWand:=25760 LHand:=Self.Inventory.ID(LeftHand) Misc.ItemCountEx(!DWand)>=1 [nodark] !LHand<>!DWand Self.Equip.LeftHand(!DWand) exit() {nodark} !LHand<>!NormalWand Self.Equip.LeftHand(!NormalWand) exit() [/macro]

[macro]1000 {DW Timer} remainDW:=Cooldown.Rest(SpellCD) !remainDW<=894000 VarDiv(remainDW, 1000) remainDWm:=!remainDW remainDWs:=!remainDW remainDWm:=!remainDWs VarDiv(remainDWm, 60) VarMod(remainDWs, 60) !remainDWs>10 [1] HUD.Print(2, 1, 10, 150, 100, 1070, Next Wand of Darkness in !remainDWm : !remainDWs) exit() {1} HUD.Print(2, 1, 10, 150, 100, 1070, Next Wand of Darkness in !remainDWm : 0!remainDWs) exit() [/macro]



[spoiler]


CODES

Code:
variable
NormalWand:=8092


500 {Spell Wand}

DWand:=25760
LHand:=Self.Inventory.ID(LeftHand)
!LHand==!DWand [blc]
Cooldown.Create(SpellCD, 900000)
{blc}
Cooldown.Blocked(SpellCD)==0
Self.Mana()>=250
Self.Say(exevo gran mort)
exit()


50 {Equip Wands}

DWand:=25760
LHand:=Self.Inventory.ID(LeftHand)
Misc.ItemCountEx(!DWand)>=1 [nodark]
!LHand<>!DWand
Self.Equip.LeftHand(!DWand)
exit()
{nodark}
!LHand<>!NormalWand
Self.Equip.LeftHand(!NormalWand)
exit()


1000 {DW Timer}

remainDW:=Cooldown.Rest(SpellCD)
!remainDW<=894000
VarDiv(remainDW, 1000)
remainDWm:=!remainDW
remainDWs:=!remainDW
remainDWm:=!remainDWs
VarDiv(remainDWm, 60)
VarMod(remainDWs, 60)
!remainDWs>10 [1]
HUD.Print(2, 1, 10, 150, 100, 1070, Next Wand of Darkness in !remainDWm : !remainDWs)
exit()
{1}
HUD.Print(2, 1, 10, 150, 100, 1070, Next Wand of Darkness in !remainDWm : 0!remainDWs)
exit()
[/spoiler]
Reply


Messages In This Thread
Wand of Darkness macro - by Catar - 03-25-2018, 05:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)