![]() |
|
Wand of Darkness macro - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html) +--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html) +--- Thread: Wand of Darkness macro (/thread-20845.html) |
Wand of Darkness macro - Catar - 03-25-2018 Macro only for servers that have following item and spell ![]() ![]() 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 darknessThere 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 ![]() Put into variables wand you normally using, example: Code: NormalWand=8092Macros: [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()RE: Wand of Darkness macro - Kazan - 03-26-2018 (03-25-2018, 05:17 PM)Catar Wrote: Macro only for servers that have following item and spell Teach me Master Joda xD RE: Wand of Darkness macro - Catar - 03-26-2018 (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? RE: Wand of Darkness macro - Sage - 07-18-2021 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'] |