Results 1 to 2 of 2

Thread: Attack spells!

  1. #1
    Normal User
    Join Date
    Jun 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4

    Attack spells!

    Hi everyone.

    I just started tibia and botting again and I am currently just trying to get my stuff back (lost everything on dice, lol) so I am botting crystal spiders.
    Anywho, I have a script for ED and I need to change the attack so that it Does exori gran vis then exori vis on both the Ice golems and the Crystal spiders, anyone could care to help me, it would be greatly appreciated, the script currently looks like this;

    local Monsters = {"Ice Golem", "Crystal Spider"}
    local MonsterToSD = {"Crystal Spider"}

    table.lower(MonsterToSD)

    if (Self.CoolDown(SPELL_GROUP_ATTACK)) == 0 and target.isshootable then
    if maround(10, unpack(MonsterToSD)) >= MobsToSd then
    if target.hppc >= 7 and target.id ~= 0 and table.find(MonsterToSD, target.name:lower()) then
    useitemontarget("sudden death rune", target.id)
    updateworld()
    end
    if target.hppc < 7 and target.dist <= 3 and target.id ~= 0 then
    if cancast("exori vis") then
    cast("exori vis")
    end
    end
    end
    if target.id ~= 0 and target.dist <= 3 then
    if cancast("exori vis") then
    cast("exori vis")
    end
    end
    end

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Code:
    --[[ INIT START ]]--
    	local CONFIG = {
    		CREATURES = {"crystal spider", "ice golem"},
    		SPELLS = {"exori gran vis", "exori vis"},
    	}
    --[[ INIT END ]]--
    
    for _, v in ipairs(CONFIG.SPELLS) do
    	if table.find(CONFIG.CREATURES, target.name) and target.hppc > 0 then
    		if cancast(v) then
    			cast(v)
    			wait(666, 999)
    		end
    	end
    end

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •