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
used skill shooter in any target
#1
I need a script that uses a target skill, like 'exori holy', only when I target and on any player or creature.
Reply

#2
Hello.

local SPELL = 'exori holy'
local MIN_MANA = 100 -- Only cast spell if your mana is equal or higher than this
local MIN_HEALTH_PC = 50 -- Only cast spells if your health percent is equal or higher than this.

if hppc() >= MIN_HEALTH_PC and mp() >= MIN_MANA and cancast() then
    local creature = attacked()
    if creature.id > 0 and creature.isshootable then
        say(SPELL)
    end
end
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.

Thanks!
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016