Results 1 to 6 of 6

Thread: Safe Skull - Anti pk system - Free Strike

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

    Safe Skull - Anti pk system - Free Strike

    I looking for way to hunt in peace without get skull, I'm using this action to attack Earth Elemental's. But always any idiot stay in my front.

    ANYONE CAN FIX IT TO: "IF NO PLAYER NEAR then CAST~"

    Please fix it!

    Code:
    if target.id ~= 0 and target.name == "Earth Elemental" and target.dist <= 3 and cancast ("exori flam")
    then cast ('exori flam')
    end

  2. #2
    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 paround(1) == 0


    (1) is the range around you, so there has to be 0 people around you. Feel free to change it to a higher number if you want!

  3. #3
    Normal User
    Join Date
    Apr 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I'm testing, very thanks!

  4. #4
    iBot User
    Join Date
    Apr 2012
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by Spunker View Post
    I'm testing, very thanks!
    can you post the action for me?

  5. #5
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
     if target.id ~= 0 and target.name == "Earth Elemental" and target.dist <= 3 and paround(2) == 0 and cancast ("exori flam")
    then cast ('exori flam')
    end

  6. #6
    Normal User felipelokkx's Avatar
    Join Date
    Apr 2012
    Location
    Itajuípe, Bahia, Brasil
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    it's in Actions, or targeting?
    [CENTER]Lokkx ;]

Posting Permissions

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