Results 1 to 6 of 6

Thread: Safe Exori on Retro PVP server

  1. #1
    iBot User
    Join Date
    Jan 2015
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    2

    Safe Exori on Retro PVP server

    Hi. Could someone edit this action to a safe exori? It working good but tested with friend and it taken a skull

    thx

    local creaturesToHit = {"Haunted Treeling", "Demon Skeleton", "Slime", "Tarantula", "Scorpion"}

    if maround(1, unpack(creaturesToHit)) >= toexoricount and paround(1) == 0 then cast("exori")
    elseif not pvpworld and maround(1, unpack(creaturesToHit)) >= toexoricount then cast("exori") end

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    local creaturesToHit = {"Haunted Treeling", "Demon Skeleton", "Slime", "Tarantula", "Scorpion"}
    local pvpworld = true -- true for retro, false for rest

    if maround(1, unpack(creaturesToHit)) >= toexoricount and paround(10,true) == 0 and lasttimeplayeronscreen > 10000 and pvpworld then
    cast("exori")
    elseif not pvpworld and maround(1, unpack(creaturesToHit)) >= toexoricount then
    cast("exori")
    end
    Last edited by Eli; 02-23-2015 at 10:12 AM.

  3. #3
    iBot User
    Join Date
    Jan 2015
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    2
    Now not working at all. Dont casts exori. ;p

  4. #4
    iBot User
    Join Date
    Jan 2015
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    2
    i changed lastimeplayeronscreen to lasttimeplayeronscreen and now it casts exori, soon i will test it with friend and then post reply

  5. #5
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    as missed one letter sorry for that @Tomiz

  6. #6
    iBot User
    Join Date
    Jan 2015
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    2
    Hello again, could you make this action safe on retro pvp? Thanks!

    local MonstersToConsider = {"Frost Dragon", "Frost Dragon Hatchling"}
    local function Min()
    local HIGHEST_AMOUNT, BEST_DIRECTION = 0, Self.LookDirection()

    for DIRECTION, CREATURES_AMOUNT in pairs({[DIRECTION_NORTH] = 0, [DIRECTION_EAST] = 0, [DIRECTION_SOUTH] = 0, [DIRECTION_WEST] = 0}) do
    CREATURES_AMOUNT = Self.MonstersAroundSpell("FRONT", DIRECTION, unpack(MonstersToConsider))

    if (CREATURES_AMOUNT > HIGHEST_AMOUNT or (CREATURES_AMOUNT >= HIGHEST_AMOUNT and DIRECTION == Self.LookDirection())) then
    HIGHEST_AMOUNT, BEST_DIRECTION = CREATURES_AMOUNT, DIRECTION
    end
    end

    if (HIGHEST_AMOUNT >= 3) and cancast("exori min") then
    while (Self.LookDirection() ~= BEST_DIRECTION and cancast('exori min')) do
    Self.Turn(BEST_DIRECTION)
    updateworld()
    end

    if cancast("exori min") and Self.LookDirection() == BEST_DIRECTION and maround(1, unpack(MonstersToConsider)) >= 2 then
    cast("exori min")
    end
    elseif (HIGHEST_AMOUNT == 2) and cancast("exori min") then
    while (Self.LookDirection() ~= BEST_DIRECTION and cancast('exori min')) do
    Self.Turn(BEST_DIRECTION)
    updateworld()
    end

    if cancast('exori min') and Self.LookDirection() == BEST_DIRECTION and maround(1, unpack(MonstersToConsider)) >= 2 then
    cast('exori min')
    end
    else
    return false
    end
    end

    function TILESHOOTABLE()
    for POSX, POSY, POSZ in Tile.ScreenArea() do
    if Tile.GetByPosition(target.POSX, target.POSY, target.POSZ):isShootable() then
    return true
    end
    end
    return false
    end

    if Self.CoolDown(SPELL_GROUP_ATTACK) <= 1 then
    if standtime >= 2300 or getsettings("Settings\\Targeting\\Enabled") == "yes" or target.id ~= 0 then
    if maround(1, unpack(MonstersToConsider)) >= Exori_gran_count and cancast("exori gran") and ((paround(10, true) == 0) or not PvP_Server) and Exori_gran and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
    cast("exori gran")
    wait(100)
    updateworld()
    elseif maround(1, unpack(MonstersToConsider)) >= Exori_count and cancast("exori") and ((paround(10, true) == 0) or not PvP_Server) and Exori and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
    cast("exori")
    wait(100)
    updateworld()
    elseif Min() ~= false and maround(1, unpack(MonstersToConsider)) >= Exori_min_count and cancast("exori min") and ((paround(10, true) == 0 ) or not PvP_Server) and Exori_min and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
    Min()
    wait(100)
    updateworld()
    elseif (maround(2, unpack(MonstersToConsider)) >= Exori_ico_count) and cancast("exori ico") and target.id ~= 0 and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
    cast("exori ico")
    wait(100)
    elseif ((maround(5, unpack(MonstersToConsider)) >= Exori_hur_count)) and cancast("exori hur") and target.id ~= 0 and TILESHOOTABLE() and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
    cast("exori hur")
    wait(100)
    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
  •