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
Sd Target At %
#1
I remember back in the day idk if Elfbot or Magebot but there was a script that it would take whatever target you are attacking and at let's say 30% SD, is there a way to request that script?

Toggleable so that when I'm in a fight and I have my target clicked/attacking it would wait till x% and cast SD from inventory
Reply

#2
Hello.

It's possible, but you need to use two scripts: on Persistents to check to shoot and on hotkeys to toggle the persistent.

1. Create a new Persistent with code below and name it as "SHOOT_SD_TARGET" (without quotes!)
local MIN_HEALTH_PC = 30
local RUNE = 'sudden death rune'

if cancast() then
    local creature = attacked()
    if creature.id > 0 and creature.isshootable and creature.hppc <= MIN_HEALTH_PC then
        useitemoncreatire(RUNE, creature.id)
    end
end

2. Create a new hotkey on Hotkeys tab, select type LUA Script and pastee the script below.
local path = 'Hotkeys/SHOOT_SD_TARGET/Enabled'

setsettings(path, getsettings(path) == false)

The hotkey that you created will toggle the persistent and the persistent will shoot SD on current target if its hp% is equal or lower than 30%.
Reply

#3
Work's great thank you
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Smile" title="Smile" class="smilie smilie_1" />
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016