Results 1 to 9 of 9

Thread: Make mage use great haste when no target on screen or mana over x

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

    Make mage use great haste when no target on screen or mana over x

    Hey I cant figure out how to create or implement this kind of hotkey... all help and guidance appreciated.

  2. #2
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    PHP Code:
    if (target.id == 0) or (mana Xthen
          
    if (cancast("utani gran hur")) then
                    cast
    ("utani gran hur")
                    
    wait(400,800)
          
    end
    end 

  3. #3
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    no target on screen meaning:

    no players on screen or
    not attacking anyone?

  4. #4
    Normal User
    Join Date
    Jan 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Yes to "No targets" on screen

  5. #5
    Normal User
    Join Date
    Jan 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Hey balbek thanks so much dude i will give it a try now

  6. #6
    Normal User
    Join Date
    Jan 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    MMmm it worked... partially but he began to spam the spell. I guess it needs to be able to read if it already has haste activated.

  7. #7
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    add:

    and not hasted


  8. #8
    Normal User
    Join Date
    Oct 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    PHP Code:
    if target.id == and cancast("utani gran hur") and not hasted then
        cast
    ("utani gran hur")
    end 

  9. #9
    Normal User
    Join Date
    Jan 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Wow that easy huh! perfect...

Posting Permissions

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