Results 1 to 5 of 5

Thread: Change SD attack to SPELL ATTACK

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

    Change SD attack to SPELL ATTACK

    Hello.. I want an action to change my SD ATTACK to SPELL ATTACK, when my SD's charges end...

    e.g: Im hunting lizards and my SDs finished. So my bot changes to "exori max vis, exori gran vis, exori amp vis" attacks...

    can somebody help me?

    thansk

  2. #2
    iBot User Canu13's Avatar
    Join Date
    Nov 2012
    Location
    Barcelona
    Posts
    273
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    39
    Rep Power
    5
    Edit the monster name, and the spells for your needs
    PHP Code:
    local minSD 0

    if itemcount("Sudden Death Rune") > minSD then
        setsettings
    ("Settings\\Targeting\\Monsters\\Monster Name\\ListSettings\\Setting0\\ListSpell\\Spell0","Sudden Death Rune")
        
    setsettings("Settings\\Targeting\\Monsters\\Monster Name\\ListSettings\\Setting0\\ListSpell\\Spell1","No Action")
        
    setsettings("Settings\\Targeting\\Monsters\\Monster Name\\ListSettings\\Setting0\\ListSpell\\Spell2","No Action")
    else
        
    setsettings("Settings\\Targeting\\Monsters\\Monster Name\\ListSettings\\Setting0\\ListSpell\\Spell0","Ultimate Energy Strike")
        
    setsettings("Settings\\Targeting\\Monsters\\Monster Name\\ListSettings\\Setting0\\ListSpell\\Spell1","Strong Energy Strike")
        
    setsettings("Settings\\Targeting\\Monsters\\Monster Name\\ListSettings\\Setting0\\ListSpell\\Spell2","Energy Strike")
    end 

    Eli Scripts Last Releases Vocation
    New Water Elemental ED - MS
    Glooth Bandits x3 ED - MS
    Meriana Gargoyle Cave ED - MS
    Glooth Bandits x2 ED-MS

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    omg dude ill try this, if it works youre the man.
    anyway thanks


    @edit:

    ye man! its working! thanks alot! rep+
    how can i do with 3 different monsters?

    can u check if its correct?
    local minSD = 0

    if itemcount("Sudden Death Rune") > minSD then
    setsettings("Settings\\Targeting\\Monsters\\Lizard Legionnaire\\ListSettings\\Setting0\\ListSpell\\Sp ell0","Sudden Death Rune")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Legionnaire\\ListSettings\\Setting0\\ListSpell\\Sp ell1","No Action")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Legionnaire\\ListSettings\\Setting0\\ListSpell\\Sp ell2","No Action")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Dragon Priest\\ListSettings\\Setting0\\ListSpell\\Spell0","Sudden Death Rune")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Dragon Priest\\ListSettings\\Setting0\\ListSpell\\Spell1","No Action")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Dragon Priest\\ListSettings\\Setting0\\ListSpell\\Spell2","No Action")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Zaogun\\ListSettings\\Setting0\\ListSpell\\Spell0","Sudden Death Rune")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Zaogun\\ListSettings\\Setting0\\ListSpell\\Spell1","No Action")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Zaogun\\ListSettings\\Setting0\\ListSpell\\Spell2","No Action")
    else
    setsettings("Settings\\Targeting\\Monsters\\Lizard Legionnaire\\ListSettings\\Setting0\\ListSpell\\Sp ell0","Ultimate Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Legionnaire\\ListSettings\\Setting0\\ListSpell\\Sp ell1","Strong Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Legionnaire\\ListSettings\\Setting0\\ListSpell\\Sp ell2","Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Dragon Priest\\ListSettings\\Setting0\\ListSpell\\Spell0","Ultimate Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Dragon Priest\\ListSettings\\Setting0\\ListSpell\\Spell1","Strong Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Dragon Priest\\ListSettings\\Setting0\\ListSpell\\Spell2","Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Zaogun\\ListSettings\\Setting0\\ListSpell\\Spell0","Ultimate Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Zaogun\\ListSettings\\Setting0\\ListSpell\\Spell1","Strong Energy Strike")
    setsettings("Settings\\Targeting\\Monsters\\Lizard Zaogun\\ListSettings\\Setting0\\ListSpell\\Spell2","Energy Strike")
    end
    thannks!!
    Last edited by 280202; 03-30-2014 at 07:25 PM.

  4. #4
    iBot User Canu13's Avatar
    Join Date
    Nov 2012
    Location
    Barcelona
    Posts
    273
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    39
    Rep Power
    5
    When setting the bot to attack Lizard Legionnaire with spells, you should delete the space on Spell0, Spell1 and Spell2, other is correct I think

    Eli Scripts Last Releases Vocation
    New Water Elemental ED - MS
    Glooth Bandits x3 ED - MS
    Meriana Gargoyle Cave ED - MS
    Glooth Bandits x2 ED-MS

  5. #5
    Normal User
    Join Date
    May 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks!!! i didnt noticed that

Posting Permissions

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