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
Castareaspell exori vis?
#1
Having trouble to get character to turn and hit monsters with exoris on 8.0 where they are only in front of char

I'm trying this:
castareaspell("exori vis",1,true,true,1)

but doesn't seem to work what am I doing wrong?
Reply

#2
Hello.

Exori vis is not area spell, but I may add in future.

I recommend you to use Targeting -> (Creature):
-- Stance: Strike
-- Spell: Energy Strike.
-- Atk Mode: Stand/Defensive.

Strike stance will reach the monster then face and turn to monster whenever Energy Strike may cast the spell.
Reply

#3
Thanks a lot for this. I managed to get it to work by fixing 2 bugs. The turning directions were wrong.(Turned north when monster was east, south when west, east when north etc) and player posx() posy() functions were called using incorrect syntax.  I also used the safe exori script to make this a safe "exori vis"
-- [ Settings ] --

local SafeList = { "bla", "blabla" } -- Your safelist

local SafeHealth = 70 -- Only if your HP % is higher or equal to this valaue.
local PVP = true -- PVP world?
local CheckAllFloor = true -- Checks all floors for players?

-- [ Safe Exori by Mrcn and fixed by Arkilys ] --       

if not PVP or paroundignore(CheckAllFloor, unpack(SafeList)) == 0 then
    local attackedCreature = attacked()
    if attackedCreature.id > 0 then
        local diffX = posx()-attackedCreature.posx
        local diffY = posy()-attackedCreature.posy

        local diffAbsX = math.abs(diffX)
        local diffAbsY = math.abs(diffY)

        if (diffAbsX == 1 and diffAbsY == 0) or (diffAbsX == 0 and diffAbsY == 1) then
            local sideMustBeTurned = -1
            if diffX == 0 and diffY == 1 then
                sideMustBeTurned = 2
            elseif diffX == 0 and diffY == -1 then
                sideMustBeTurned = 0
            elseif diffX == 1 and diffY == 0 then
                sideMustBeTurned = 3
            elseif diffX == -1 and diffY == 0 then
                sideMustBeTurned = 1
            end

            if sideMustBeTurned >= 0 and sideMustBeTurned <= 3 then
                if dir() ~= sideMustBeTurned then
                    turn(tostring(sideMustBeTurned))
                    wait(300, 500)
                end
                if dir() == sideMustBeTurned then
                    cast('exori vis')
                    wait(1100)
                end
            end
        end
    end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016