BBot - The best bot of the world
Need macro attack (name monster) when traped - 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: Need macro attack (name monster) when traped (/thread-14113.html)



Need macro attack (name monster) when traped - dzejson - 02-22-2014

Hiho!
Can someone put here macro for attack x monster only when get trap by this monster ?
(sorry for my eng)


RE: Need macro attack (name monster) when traped - Nobody93 - 02-22-2014

Code:
monsterName:=MONSTER_NAME_HERE
Misc.StandTime()>8
Creatures.ByRangeName(1, !monsterName!)>=1
target:=Creature.ByName(!monsterName!)
Creature.Attack(!target!)

Try this


RE: Need macro attack (name monster) when traped - dzejson - 02-22-2014

btw ^^ good?


monsterName:=Lesser Swarmer
Misc.StandTime()>8
Creatures.ByRangeName(1, !Lesser Swarmer!)>=1
target:=Creature.ByName(!Lesser Swarmer!)
Creature.Attack(!target!)


RE: Need macro attack (name monster) when traped - Nobody93 - 02-22-2014

You can add in killer Lesser Swarmer and set priority to avoid.