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
#2
(03-25-2018, 05:17 PM)Catar Wrote: 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 NormalWand:=8092 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]

Teach me Master Joda xD
Reply
#3
(03-26-2018, 08:11 AM)Kazan Wrote: Teach me Master Joda xD



You know, you don't have to quote WHOLE damn huge post.

You also play that new OTS erleo advertised few days ago?
Reply
#4
hello dear Catar it's possible to add Coolldown to a healing macro, for example (exura max vita has 6 seconds delay) and (exura vita has 1 second delay) how would it work best for when max vita with delay it uses exuta vita todo time. I use this one but it doesn't work well[code Wrote:60 {Healer} Self.Health%()<97 Self.Mana()>160 Self.Say(Exura vita) Self.Health%()<50 Self.Mana()>260 Self.Say(Exura Max Vita)is it possible to create? if yes can you help me? pid='119542' dateline='1521998245']
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)