Results 1 to 2 of 2

Thread: Safe Exori Not Working [Notice casting spells not working either]

  1. #1
    iBot User
    Join Date
    Sep 2013
    Posts
    1
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Safe Exori Not Working [Notice casting spells not working either]

    Hey all,

    I have been having problems with this safe exori script.

    local spellName = "exori gran" -- Spell to use
    local spellRange = 1
    local spellCount = 1
    local pvpServer = true -- PvP Server? true/false
    local creaturesToHit = {"Deepling", "Deepling Warrior", "Deepling Spellsinger"} -- List of monsters to hit

    if pvpServer and maround(spellRange, unpack(creaturesToHit)) >= spellCount and paround(7, true) == 0 and cancast(spellName) then
    cast(spellName)
    elseif not pvpServer and maround(spellRange, unpack(creaturesToHit)) >= spellCount and cancast(spellName) then
    cast(spellName)
    end

    As i was testing a few things, I noticed that if I create a script such as:

    cast('exori')
    end

    It doesn't even cast the spell with no conditions.


    Please help!

    Thanks.

  2. #2
    iBot User Sonne747's Avatar
    Join Date
    Apr 2015
    Location
    Uberlândia - MG, Brasil
    Posts
    170
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    66 Post(s)
    Reputation
    20
    Rep Power
    2

    Ek Strikes Action

    @Xitzeh
    For exori and strike actions you can use this. As you can see you have to add the name of the monsters your script hunts.


    local use_gran = true --Use exori gran
    local gran_amount = 4 --Amount of monsters for exori gran
    local use_exori = true --Use exori
    local exori_amount = 3 --Amount of monsters for exori

    local use_ico = true --Use exori ico
    local ico_hppc = 100 --Hp percentage of monster to use exori ico
    local use_hur = true --Use exori hur
    local hur_hppc = 20 --Hp percentage of monster to use exori hur

    local monstersnames = {'Dragon', 'Dragon Lord', 'Frost Dragon'} --Names of monsters, need to be with capital letters in correct spot

    for i=1,#monstersnames do

    if (paround(10, true) == 0 and lasttimeplayeronscreen > 4000) then -- Will only cast if 0 players on screen and no player has been on screen for 4seconds

    if cancast('exori gran') and use_gran and maround(1,unpack(monstersnames)) >= gran_amount then
    cast('exori gran')
    updateworld()
    elseif cancast('exori') and use_exori and maround(1, unpack(monstersnames)) >= exori_amount then
    cast('exori')
    updateworld()
    elseif cancast('exori ico') and use_ico and target.dist == 1 and target.hppc <= ico_hppc and target.name == monstersnames[i] then
    cast('exori ico')
    updateworld()
    elseif cancast('exori hur') and use_hur and target.dist <= 5 and target.hppc <= hur_hppc and target.name == monstersnames[i] then
    cast('exori hur')
    updateworld()
    end

    end
    end
    "Finally I understand the feelings of the few.
    Ashes and diamonds
    Foe and friend
    We were all equal in the end."



    SS Project.

Posting Permissions

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