Results 1 to 3 of 3

Thread: AoE, Spell and Rune Action

  1. #1
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0

    AoE, Spell and Rune Action

    PHP Code:
    -- AUTHORPROMB
    -- SCRIPTAOESINGLE TARGET RUNE SPELL
    -- VERSION1.4
    -- PROFILE [url]http://www.tibiaibot.com/forum/member.php?72149-PromB[/url]
    -- OFFICIAL WEBSITE: [url]www.TibiaiBot.com[/url]

    local CONFIG = {              

                    
    MONSTER = { "wasp""sandcrawler""nomad""dromedary" },
                    
    AOE_AMOUNT 3,
                    
    AOE_RUNE "avalanche rune",
                    
    SINGLE_RUNE "sudden death rune",
                    
    SINGLE_AMOUNT 1,
                    
    SPELL "exori flam",
                    
    PVP false,
                    
    PLAYER_RANGE 14,
                    
    MONSTER_RANGE 5,
                    
    LT_PLAYER 60000,

                    }
                   
                    -- 
    ENGINE             
                    
                    
    if (CONFIG.PVP) and (paround(CONFIG.PLAYER_RANGEtrue) == 0) and maround(CONFIG.MONSTER_RANGEfalseunpack(CONFIG.MONSTER)) >= CONFIG.AOE_AMOUNT and lasttimeplayeronscreen >= CONFIG.LT_PLAYER and taget.id ~= and Self.isCooledDown(SPELL_GROUP_ATTACK) == 0 then
                        shootarearune
    (CONFIG.AOE_RUNECONFIG.AOE_AMOUNTunpack(CONFIG.MONSTER))
                        
    updateworld()
                    else
                        if (
    paround(CONFIG.PLAYER_RANGEtrue) == 1) or itemcount(CONFIG.AOE_RUNE) == or lasttimeplayeronscreen CONFIG.LT_PLAYER and maround(CONFIG.MONSTER_RANGEfalseunpack(CONFIG.MONSTER)) >= CONFIG.SINGLE_AMOUNT and target.id ~= and Self.isCooledDown(SPELL_GROUP_ATTACK) == 0 then
                        useitemontarget
    (CONFIG.SINGLE_RUNEtable.MONSTER)
                    else
                        if 
    itemcount((CONFIG.SINGLE_RUNE) == 0) and maround(MONSTER_RANGEfalseunpack(CONFIG.MONSTER)) >= CONFIG.SINGLE_AMOUNT and target.id ~= and Self.isCooledDown(SPELL_GROUP_ATTACK) == and cancast(CONFIG.SPELLthen
                        cast
    (CONFIG.SPELL)
                
    end
            end
        end
                   
    if (not CONFIG.PVP) and maround(CONFIG.MONSTER_RANGEfalseunpack(CONFIG.MONSTER)) >= CONFIG.AOE_AMOUNT and target.id ~= and Self.isCooledDown(SPELL_GROUP_ATTACK) == 0 then
                       shootarearune
    (CONFIG.AOE_RUNECONFIG.AOE_AMOUNTunpack(CONFIG.MONSTER))
                   else
                       if 
    itemcount(CONFIG.AOE_RUNE) == and maround(CONFIG.MONSTER_RANGEfalseunpack(CONFIG.MONSTER)) >= CONFIG.SINGLE_AMOUNT and target.id ~= and Self.isCooledDown(SPELL_GROUP_ATTACK) == 0 then
                       useitemontarget
    (CONFIG.SINGLE_RUNEtable.MONSTER)
                   else
                       if (
    not CONFIG.PVP) and itemcount(CONFIG.SINGLE_RUNE) == and maround(MONSTER_RANGEfalseunpack(CONFIG.MONSTER)) >= CONFIG.SINGLE_AMOUNT and target.id ~= and Self.isCooledDown(SPELL_GROUP_ATTACK) == and cancast(CONFIG.SPELLthen
                       cast
    (CONFIG.SPELL)
               
    end
           end
       end 
    Last edited by PromB; 07-27-2013 at 03:29 AM.

  2. #2
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    Explanation

    0. MONSTER = { "wasp", "sandcrawler", "nomad", "dromedary" },
    1. AOE_AMOUNT = 3,
    2. AOE_RUNE = "avalanche rune",
    3. SINGLE_RUNE = "sudden death rune",
    4. SINGLE_AMOUNT = 1,
    5. SPELL = "exori flam",
    6. PVP = false,
    7. PLAYER_RANGE = 14,
    8. MONSTER_RANGE = 5,
    9. LT_PLAYER = 60000,

    0. Monsters to be considered valid targets for runes & spells.
    1. Amount of monsters to use AoE on.
    2. What AoE rune to use. E.G. Great fireball, Avalanche rune, Thunderstorm rune.
    3. What single target rune to use when there's a player on screen or incase you've no AoE runes left. E.G. Heavy magic missile.
    4. Doesn't need to be changed.
    5. What single target spell to use incase you've no single target runes left. E.G. Exori Flam.
    6. Non-pvp = false and pvp = true, it will consider players when using AoE runes.
    7. The players range to consider when using AoE runes.
    8. The monsters range to consider when using AoE runes, single runes and spell.
    9. Last time player on screen, value in miliseconds only considered when using AoE rune.
    Last edited by PromB; 06-16-2013 at 05:56 AM.

  3. #3
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    updated

Posting Permissions

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