PDA

View Full Version : How to get this to work on xenobot?



biff
05-04-2016, 11:02 PM
Anyone know how to write that to xenobot

auto(300,500)
if $attacked.id ~= 0 then
useoncreature(itemid('3154'), $target)
wait(100)
end

Oscagi
05-04-2016, 11:08 PM
Anyone know how to write that to xenobot

auto(300,500)
if $attacked.id ~= 0 then
useoncreature(itemid('3154'), $target)
wait(100)
end

Self.UseItemWithTarget(item)

Add the monster to TargetingList and make a module checking the monster, and if the monster then Self.... .

Goodluck.

biff
05-04-2016, 11:11 PM
Self.UseItemWithTarget(item)

Add the monster to TargetingList and make a module checking the monster, and if the monster then Self.... .

Goodluck.

I dont know how to do that thats why i asked, hoped someone could help me rewrite it :)