Results 1 to 4 of 4

Thread: Changing Attack Spells.

  1. #1
    iBot User ronnblad's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    11
    Rep Power
    5

    Changing Attack Spells.

    hello could i just got an idea that might help may ppl when it is about switching from attack spells to attack runes.
    this is my idea:

    PHP Code:
    local creaturesToHit = {"Deepling Elite""Deepling Guard""Deepling Spellsinger""Deepling Tyrant""Deepling Warrior"
    local minimumAround 

    if (maround(7unpack(creaturesToHit)) >= minimumAround)) 
    then 
        setsettings
    ("Settings\\Targeting\\Monsters\\Deepling Warrior\\ListSettings\\Setting0\\ListSpell\\Spell0\\Sudden Death Rune")
        and
        
    setsettings("Settings\\Targeting\\Monsters\\Deepling Elite\\ListSettings\\Setting0\\ListSpell\\Spell0\\Sudden Death Rune")
        and
        
    setsettings("Settings\\Targeting\\Monsters\\Deepling Tyrant\\ListSettings\\Setting0\\ListSpell\\Spell0\\Sudden Death Rune")
        else 
        
    setsettings("Settings\\Targeting\\Monsters\\Deepling Warrior\\ListSettings\\Setting0\\ListSpell\\Spell0\\Exori vis")
        and
        
    setsettings("Settings\\Targeting\\Monsters\\Deepling Elite\\ListSettings\\Setting0\\ListSpell\\Spell0\\Exori vis"
        and
        
    setsettings("Settings\\Targeting\\Monsters\\Deepling Tyrant\\ListSettings\\Setting0\\ListSpell\\Spell0\\Exori vis"
        
    wait(1000
    end 
    all i need is some pro script to get it to work
    Ronnblads Free Script Thread. - Gentlemen start your Ibots <-- OLD

  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
    PHP Code:
    local creaturesToHit = {"Deepling Elite""Deepling Guard""Deepling Spellsinger""Deepling Tyrant""Deepling Warrior"}  
    local minimumAround 2   


    for 1#creaturesToHit do 
        
    if (maround(7unpack(creaturesToHit)) >= minimumAroundthen   
            setsettings
    ("Settings\\Targeting\\Monsters\\"..creaturesToHit[i].."\\ListSettings\\Setting0\\ListSpell\\Spell0","Sudden Death Rune"
        else 
            
    setsettings("Settings\\Targeting\\Monsters\\"..creaturesToHit[i].."\\ListSettings\\Setting0\\ListSpell\\Spell0","Energy Strike"
        
    end
    end 
    Last edited by soder; 10-16-2012 at 05:12 AM.

  3. #3
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    i am sure this well work but if not clipboard your debug so that the mods can tell you whats it doing wrong
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

  4. #4
    iBot User ronnblad's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    121
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by soder View Post
    PHP Code:
    local creaturestohit = {"deepling elite""deepling guard""deepling spellsinger""deepling tyrant""deepling warrior"
    local minimumaround 3  


    for 1#creaturestohit do
        
    if (maround(7unpack(creaturestohit)) >= minimumaround)) then  
            setsettings
    ("settings\\targeting\\monsters\\"..creaturestohit[i].."\\listsettings\\setting0\\listspell\\spell0","sudden death rune")
        else
            
    setsettings("settings\\targeting\\monsters\\"..creaturestohit[i].."\\listsettings\\setting0\\listspell\\spell0","energy strike")
        
    end
    end 

    thanks soder, il test it now! :d
    Ronnblads Free Script Thread. - Gentlemen start your Ibots <-- OLD

Posting Permissions

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