BBot - The best bot of the world
Preference pots - 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: Preference pots (/thread-12158.html)



Preference pots - artsuprimentos - 10-11-2013

I was using this macro to heal.

1000
{heal life/mana}
minMana:=80
minLife:=60
manaPotionID:=268
healthPotionID:=7643
Self.Health%()<=!minLife! [heal mana]
Target.Self()
Target.Shoot(!healthPotionID!)
Exit()
{heal mana}
Self.Mana%()<=!minMana!
Target.Self()
Target.Shoot(!manaPotionID!)
Exit()


But now dont function anymore.
someone can make me an macro to stop heal mana and heal hp when have <x Hp?


RE: Preference pots - Kimoszin - 10-11-2013

You have to use Creature now.
http://wiki.bmega.net/doku.php?id=macros_commands#working_with_creatures


RE: Preference pots - artsuprimentos - 10-11-2013

(10-11-2013, 07:08 PM)Kimoszin Wrote: You have to use Creature now.
http://wiki.bmega.net/doku.php?id=macros_commands#working_with_creatures

i try that . . .

1000
{heal life/mana}
minMana:=80
minLife:=60
manaPotionID:=268
healthPotionID:=7643
Self.Health%()<=!minLife! [heal mana]
Creature.Target() = 99
Creature.ShootOn(!healthPotionID!)
Exit()
{heal mana}
Self.Mana%()<=!minMana!
Creature.Target() = 99
Creature.ShootOn(!manaPotionID!)
Exit()

what wrong?


RE: Preference pots - Dexter - 10-11-2013

Change Target.Shoot() by Creature.ShootOn(ID, Ammo)


RE: Preference pots - artsuprimentos - 10-11-2013

(10-11-2013, 08:05 PM)Dexter Wrote: Change Target.Shoot() by Creature.ShootOn(ID, Ammo)

i try, i edit my post, and still dont working =/
can anyone write for me pls?


RE: Preference pots - artsuprimentos - 10-12-2013

All players have ID = 99 how bbot can select me?
Help pls


RE: Preference pots - Kimoszin - 10-12-2013

Code:
target:=Creature.Self()
Creature.ShootOn(!target!, Ammo)



RE: Preference pots - artsuprimentos - 10-12-2013

(10-12-2013, 12:54 AM)Kimoszin Wrote:
Code:
target:=Creature.Self()
Creature.ShootOn(!target!, Ammo)

Ty man, rep+