Results 1 to 3 of 3

Thread: Cast exori flam if mana > x & attacking a creature.

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Cast exori flam if mana > x & attacking a creature.

    As the topic says I'd need a hotkey to make it cast exori flam as kind of a mana trainer if I'm targeting a monster and my mana % is > x

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Code:
    local MpToCast = 95 -- In %
    
    if (mppc > MpToCast) and (target.id > 0) and (cancast("exori flam")) then
    cast("exori flam")
    end

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks a lot mate!

Posting Permissions

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