I have this macro, what it does? Throw an item (id 11372) near a monster(demon), 2 sqm to the right and 1 to the north , but i dont know why isnt working, instead of trowing the item near the demon, it throws it near me :c
I give rep !
PHP Code:
ID:=11372
COUNT:= 1
X:=Self.X() VarAdd(X, 2)
Y:=Self.Y() VarAdd(Y, 1)
Z:=Self.Z()
Creatures.ByName(Demon)>0
Map.Thrown(!ID!, !COUNT!, !X!, !Y!, !Z!)
I give rep !