Results 1 to 8 of 8

Thread: Quick help on targeting!

  1. #1
    Normal User
    Join Date
    Dec 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Quick help on targeting!

    Hello. Im lvl 90+ and I wanna hunt dls, but the thing is: I cant tank 1 dl and 2 dragons, so what should I do? I was thinking about, if there is any way of my bot kill DLS on SD and "Keep Away" if there are 1 DL and 2 dragons.

  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
    You can use setsettings()

    local monstersToConsider = {"Dragon", "Dragon Lord"}

    if maround(7, unpack(monstersToConsider)) >= 3 then
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\Settings0\\Spell List, "Sudden Death")
    else
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\Settings0\\Spell List, "normal spell or whatever")
    end

    You will need to chagne the path though, because im sure ive done it wrong

  3. #3
    Normal User
    Join Date
    Dec 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    ye i get the logic love ya bro

    i changed the path and its not working :s
    Last edited by jakinha1234; 12-12-2013 at 10:59 AM.

  4. #4
    Normal User
    Join Date
    Dec 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Guys does anyone know what might be wrong here?

    local monstersToConsider = {"Dragon", "Dragon Lord", "Dragon Hatchling"}

    if maround(7, unpack(monstersToConsider)) >= 2 then
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\ListSpell\\Spell1, "Sudden Death Rune")
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\ListSpell\\Spell0, "Sudden Death Rune")
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\Stance, "Keep Away")
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\Stance, "Keep Away")

    else
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\ListSpell\\Spell1, "Ice Strike")
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\ListSpell\\Spell0, "Ice Strike")
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\Stance, "Circle")
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\Stance, "Approach")
    end
    this is how my targeting is:
    Click image for larger version. 

Name:	Sem título.png 
Views:	7 
Size:	27.9 KB 
ID:	18408
    Set2 is for +2 dls so no need to change that
    Last edited by jakinha1234; 12-12-2013 at 11:23 AM.

  5. #5
    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
    Quote Originally Posted by jakinha1234 View Post
    Guys does anyone know what might be wrong here?


    this is how my targeting is:
    Click image for larger version. 

Name:	Sem título.png 
Views:	7 
Size:	27.9 KB 
ID:	18408
    Set2 is for +2 dls so no need to change that
    dont use "||", there should be "\\"

  6. #6
    Normal User
    Join Date
    Dec 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    it is \\ its just the quote that does that

    this might give you a better look

    PHP Code:
    local monstersToConsider = {"Dragon""Dragon Lord""Dragon Hatchling"}

    if 
    maround(7unpack(monstersToConsider)) >= 2 then
        setsettings
    (Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\ListSpell\\Spell1"Sudden Death Rune")
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\ListSpell\\Spell0"Sudden Death Rune")
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\Stance"Keep Away")
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\Stance"Keep Away")
       
    else
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\ListSpell\\Spell1"Ice Strike")
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\ListSpell\\Spell0"Ice Strike")
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\Stance"Circle")
        
    setsettings(Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\Stance"Approach")
    end 
    Last edited by jakinha1234; 12-12-2013 at 11:33 AM.

  7. #7
    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
    u forget '..' action should be:
    Lua Code:
    local monstersToConsider = {"Dragon", "Dragon Lord", "Dragon Hatchling"}
     
    if maround(7, unpack(monstersToConsider)) >= 2 then
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\ListSpell\\Spell1', 'Sudden Death Rune')
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\ListSpell\\Spell0', 'Sudden Death Rune')
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\Stance', 'Keep Away')
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\Stance', 'Keep Away')
     
    else
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\ListSpell\\Spell1', 'Ice Strike')
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\ListSpell\\Spell0', 'Ice Strike')
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set1\\Stance', 'Circle')
        setsettings('Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Set3\\Stance', 'Approach')
    end


    Cheers

  8. #8
    Normal User
    Join Date
    Dec 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    thanksssssssssssssssssssssssssssssssssssssssssssss ss!!

Posting Permissions

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