Results 1 to 2 of 2

Thread: shoot strike if end of sds

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    shoot strike if end of sds

    i need a action that is shooting sds, but if i got no sds it will for example shoot exori frigo, exori gran frigo.

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    local targets = {"monster1", "monster2"}
    local runename = "sudden death rune"

    if itemcount(runename) > 0 and table.find(targets, target.name) and target.isshootable then
    useitemontarget(runename, target.id)
    wait(750,1500)
    elseif itemcount(runename) == 0 and table.find(targets, target.name) and target.isshootable and target.dist <= 3 and cancast("exori gran frigo") then cast("exori gran frigo")
    elseif itemcount(runename) == 0 and table.find(targets, target.name) and target.isshootable and target.dist <= 3 and cancast("exori frigo") then cast("exori frigo")
    end


    please check if it works, I write it without test, post debg window if action doesnt work
    Last edited by RafiXWPT; 03-30-2013 at 11:09 AM.

Posting Permissions

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