BBot - The best bot of the world

Full Version: Macro for waves. OT edition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MACRO FOR OT!!!!!
WHEN TESTED FULLY ON OTS AND CONFIRMED BY USERS IT WORK ILL WRITE A CONFIRMATION HERE!!!
NOTE ITS IN BETA TEST PLEASE CONSIDER IT AS HELP IN TESTING




Hello, today im adding my AutoWave Macro.
Macro automaticaly detects monster position and sets himself to wave it.

Set macro in attack sequence before casting wasve spell.

0 {WaveItBaby}
MonID:=Creature.Attacking()
!MonID!>0
{Move}
X:=Self.X()
Y:=Self.Y()
Z:=Self.Z()
MX:=Creature.X(!MonID!)
MY:=Creature.Y(!MonID!)
!X!>!MX! [n]
!Y!>!MY! [n]
Self.MoveW()
Self.TurnN()
{n}
!X!==!MX! [ne]
!Y!>!MY! [ne]
Self.TurnN()
{ne}
!X!<!MX! [w]
!Y!>!MY! [w]
Self.MoveE()
Self.TurnN()
{w}
!X!>!MX! [e]
!Y!==!MY! [e]
Self.TurnW()
{e}
!X!<!MX! [sw]
!Y!==!MY! [sw]
Self.TurnE()
{sw}
!X!>!MX! [s]
!Y!<!MY! [s]
Self.MoveS()
Self.TurnW()
{s}
!X!==!MX! [se]
!Y!<!MY! [se]
Self.TurnS()
{se}
!X!<!MX! [exit]
!Y!<!MY! [exit]
Self.MoveS()
Self.TurnE()
{exit}
Exit()


Informations:
Grid with position X,Y

X-1 Y-1 | X Y-1 | X+1 Y-1
--------------------------------------
X-1 Y | PLAYER X Y | X+1 Y
--------------------------------------
X-1 Y+1 | X Y+1 | X+1 Y+1