Results 1 to 4 of 4

Thread: Multi Spell Targeting with Cooldown control

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

    Multi Spell Targeting with Cooldown control

    I wanna hit hydras with exori gran con when its off its cooldown, and with exori con while its on cooldown..
    How should I make it?

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by brunbrasil1 View Post
    I wanna hit hydras with exori gran con when its off its cooldown, and with exori con while its on cooldown..
    How should I make it?
    local monstername = {'Hydra'}

    for i=1,#monstername do
    if target.name == monstername[i] and target.dist <= 7 and target.isshootable then
    if cancast('exori gran con') then
    cast('exori gran con')
    updateworld
    elseif cancast('exori con') then
    cast('exori con')
    updateworld
    end
    end
    end

  3. #3
    iBot User
    Join Date
    Jan 2015
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    2
    Thanks a lot @Drakke

  4. #4
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by brunbrasil1 View Post
    Thanks a lot @Drakke
    No problem man!

Posting Permissions

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