Results 1 to 2 of 2

Thread: im having problems with stop attacking :S

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

    im having problems with stop attacking :S

    well i skills char with char but ibot doesnt stop attacking when hp its lower than x%
    can somebody check if that works on you or can help me with this

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    local xpc = 50 -- % to stop attack

    if target.hppc < xpc
    then stopattack()
    end

    The problem you are probably having is that it stops attack and starts attacking again.

    If that is the case, change your targeting settings to have 2 different settings. 1 for 50 to 100% and 1 for 0 to 50%, where the second doesn't attack.

    If you still have issues, provide more information. There are too many ways you can do something.

Posting Permissions

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