Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attack spell on monster
#1
Hello looking for more specifik using spell on monster when cavebotting. Its a custom spell for the server.

if cancast() then
    if paround() == 0 then
        say('exori max pox')
    else
        say('exori max pox')
    end
end


but it continue spam the spell even if im not attacking a monster.
Reply

#2
if cancast() and attacked().ismonster then
    if paround() == 0 then
        say('exori max pox')
    else
        say('exori max pox')
    end
end

or

if cancast() then
    local attacked_creature = attacked()
    if attacked_creature.id > 0 and attacked_creature.hppc > 0 and attacked_creature.ismonster then
        if paround() == 0 then
            say('exori max pox')
        else
            say('exori max pox')
        end
    end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016