BBot - The best bot of the world
Macro ava if x monster in strike field of ava - 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: Macro ava if x monster in strike field of ava (/thread-12339.html)



Macro ava if x monster in strike field of ava - Preze$ - 10-25-2013

Hello!
Any1 have macro that it atack avalanche only if there are x monster on the strike sqm's of ava.
I mean it will use ava only if it will dmg 3 monsteer, and if if 2 it won't atack ava.


RE: Macro ava if x monster in strike field of ava - Thiaguin- - 10-25-2013

(10-25-2013, 12:12 PM)Preze$ Wrote: Hello!
Any1 have macro that it atack avalanche only if there are x monster on the strike sqm's of ava.
I mean it will use ava only if it will dmg 3 monsteer, and if if 2 it won't atack ava.

500 {Avalanche} monsterCount:=3 shootID:=3161 Creatures.ByName("creature name")>=!monsterCount! target:=Creature.Attacking() Creature.ShootOn(!target!, !shootID!)

if i understand what you want this script can solve. if 3 creature on screen character go use avalanche .. Smile


RE: Macro ava if x monster in strike field of ava - Preze$ - 10-25-2013

not only on screen, shoot ava only if all 3 target's will get dmg not 1 , not 2 but 3 monster have to get damage.


RE: Macro ava if x monster in strike field of ava - Thiaguin- - 10-25-2013

(10-25-2013, 12:46 PM)Preze$ Wrote: not only on screen, shoot ava only if all 3 target's will get dmg not 1 , not 2 but 3 monster have to get damage.


ok i try make.. give me a sec Big Grin (testing 1 script Sad)

creatures has same name? if not you tell me the name of the creatures (all)

500 {Avalanche Attack} Creatures.Beside()>=3 shootID:=3161 Creatures.ByName(Rotworm)>=!Creatures.Beside! target:=Creature.Attacking() Creature.ShootOn(!target!, !shootID!)

change Creatures.ByName("creature name")

obs: if 3 rotworms attack is going to use avalanche (the bot must attack the creature ie if the killer is not marking the rotworm to attack will not use)