BBot - The best bot of the world
Problem with a few macros. - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Problem with a few macros. (/thread-19131.html)



Problem with a few macros. - Marcos Rosa - 01-11-2016

Hello, I'm trying to do a macro that work better than "Advanced Attack", since it isn't working the % of life for each spell (at last at mine bbot).

So I tried those scripts, can some1 tell me where I did wrong?
Can please fix it too?
Thank you:


2000 {Viss}
id:=Creature.Attacking()
Self.Attacking()==01

Creature.Health(!id!)>=90
[Gran Vis]
Self.Say(exori gran vis)
exit ()

Creature.Health(!id!)>=50
[Amp Vis]
Self.Say(exori amp vis)
exit ()

Creature.Health(!id!)>=1
[Little Vis]
Self.Say(exori vis)
exit ()
Exit()


RE: Problem with a few macros. - Marcos Rosa - 01-19-2016

up up up up


RE: Problem with a few macros. - Catar - 01-20-2016

Just setup manual macros in advanced attacks,


and in your macro u forgetting about {else}

and also, When creature u hit when its over 90% will stay over 90% after u use gran vis on her, it wont use any spell, because gran vis will be on cooldown.

If I were u I would made macro for each spell and put condition to it.
Made it manual
Setup in Advanced Attacking

Code:
0 {gran Vis}
id:=Creature.Target()
Self.Attacking()==1
Creature.Health(!id!)>=90  
Self.Say(exori gran vis)
exit ()

Code:
0 {amp Vis}
id:=Creature.Target()
Self.Attacking()==1
Creature.Health(!id!)>=50  
Self.Say(exori amp vis)
exit ()
and go on, go on...

In advanced attack put them in order, top one, the one that are used and checked if conditions are met first