PDA

View Full Version : exani tera for rope



zxzero
05-26-2013, 10:53 PM
Title explains all. The bot should be able to use exani tera as a rope also, this saves on space and CAP, might not matter too much on a knight, but it def helps mages at lower levels and even higher!

Nakuu
05-26-2013, 10:56 PM
It's already possible. Instead of Rope in waypoints, make Stand on rope spot and then add script
Self.Say("exani tera")

zxzero
05-26-2013, 11:43 PM
It's already possible. Instead of Rope in waypoints, make Stand on rope spot and then add script
Self.Say("exani tera")

gawd, I love you, you keep helping me out more and more. Thanks. :D

XtrmJosh
05-27-2013, 08:50 AM
while (Self.Position().z == 7) do
if (Self.Position().z == 7 and Self.Position().y == 12345 and Self.Position().x == 12345) then
Self.Say("exani tera")
else
Walker.GotoLabel("StandOnRopeSpot")
end
end


This is a bit safer, since if someone tries to push you while you stand on rope spot you may not rope up and end up getting stuck and potentially killed, with this method you can insert a label called "StandOnRopeSpot" before your stand waypoint, and if you do not reach the rope spot it will try to walk on it again, when it does reach it it will cast exani tera. Set the z, y, and x coordinates to the square of the rope spot (same as the stand waypoint), and don't forget to change the first z to the right floor.

zxzero
05-28-2013, 05:23 AM
while (Self.Position().z == 7) do
if (Self.Position().z == 7 and Self.Position().y == 12345 and Self.Position().x == 12345) then
Self.Say("exani tera")
else
Walker.GotoLabel("StandOnRopeSpot")
end
end


This is a bit safer, since if someone tries to push you while you stand on rope spot you may not rope up and end up getting stuck and potentially killed, with this method you can insert a label called "StandOnRopeSpot" before your stand waypoint, and if you do not reach the rope spot it will try to walk on it again, when it does reach it it will cast exani tera. Set the z, y, and x coordinates to the square of the rope spot (same as the stand waypoint), and don't forget to change the first z to the right floor.

Thanks :)

Infernal Bolt
05-28-2013, 08:32 AM
If you are going to use the script above then use Self.Cast intead of Self.Say and specify the mana needed to cast and it wont stand there spamming if you happen to be out of mana.

XtrmJosh
05-28-2013, 02:29 PM
while (Self.Position().z == 7) do
if (Self.Position().z == 7 and Self.Position().y == 12345 and Self.Position().x == 12345 and Self.Mana() >= 20) then
Self.Cast("exani tera")
else
Walker.GotoLabel("StandOnRopeSpot")
end
end


I think Self.Cast() can take extra parameters, ie priority, mana required etc, too? Not sure if this will work. Worth a try.