BBot - The best bot of the world
Pausar CaveBot - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Pausar CaveBot (/thread-6403.html)



Pausar CaveBot - popohat - 01-05-2013

Como eu faço para quando tiver com 20/hp pausar o cavebot e quando tiver com mais de 50/hp voltar o cavebot ?


RE: Pausar CaveBot - spiff26 - 01-06-2013

pode usar esse macro
[macro]1000 {pause/start cavebot} StopOnHealth:=20 StartOnHealth:=30 Self.Health()<=!StopOnHealth! [start] Cavebot.Stop() Exit() {start} Self.Health()>=!StartOnHealth! Cavebot.Start() Exit()[/macro]


RE: Pausar CaveBot - Kimoszin - 01-06-2013

Esse macro ai, se quando o Health for maior ele SEMPRE vai começar o CaveBot, tem que fazer uma verificação...


RE: Pausar CaveBot - spiff26 - 01-06-2013

sim, mas se se já estiver ativado não vai ter efeito nenhum, não?


RE: Pausar CaveBot - Kimoszin - 01-06-2013

Nessa versão eu não sei, mas o Mega já fez um macro assim:
http://forums.bmega.net/showthread.php?tid=7785


RE: Pausar CaveBot - spiff26 - 01-06-2013

Ah, entendi.
Então, popohat, você pode usar o macro que o Mega fez, só trocar o Self.Mana por Self.Health()


RE: Pausar CaveBot - popohat - 01-06-2013

Isso brigadao