Results 1 to 5 of 5

Thread: Problem with actions (Ava + settings changer)

  1. #1
    iBot User Xaoo's Avatar
    Join Date
    May 2014
    Location
    London
    Posts
    136
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    63 Post(s)
    Reputation
    21
    Rep Power
    3

    Problem with actions (Ava + settings changer)

    Hello.

    Lua Code:
    CreatureToAvA = 2 
    creaturesToHit = {"Vampire", "Demon Skeleton", "Lich", "Bonebeast", "Banshee", "Necromancer", "Ghost"} 
     
    if((maround(7,unpack(creaturesToHit)) >= CreatureToAva)) then
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "No Action") 
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell0", "No Action") 
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell1", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell1", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Mummy\\ListSettings  \\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Demon Skeleton\\ListSettings\\Setting0\\ListSpell\\Spell  0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Stalker\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Crypt Shambler\\ListSettings\\Setting0\\ListSpell\\Spell  0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Ghost\\ListSettings  \\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\ListSett  ings\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell1", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell2", "No Action")
     
    elseif((maround(7, unpack(creaturesToHit)) < CreatureToAva)) then
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell0", "Ultimate Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell1", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell0", "Strong Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell1", "Flame Strike") 
        setsettings("Settings\\Targeting\\Monsters\\Mummy\\ListSettings  \\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Demon Skeleton\\ListSettings\\Setting0\\ListSpell\\Spell  0", "Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Stalker\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Crypt Shambler\\ListSettings\\Setting0\\ListSpell\\Spell  0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Ghost\\ListSettings  \\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\ListSett  ings\\Setting0\\ListSpell\\Spell0", "Flame Strike")e
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "Energy Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "Ultimate Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell1", "Strong Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell2", "Energy Strike")
    end


    When on the screen is more than 2 monsters action donnt change the spells on 'No Action'. I dont really know why.. The point is to strike only ava when >2.
    Last edited by Xaoo; 06-15-2014 at 10:38 AM.

  2. #2
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    Lua Code:
     
    CreatureToAvA = 2 
    creaturesToHit = {"Vampire", "Demon Skeleton", "Lich", "Bonebeast", "Banshee", "Necromancer", "Ghost"} 
     
    if  maround(7,unpack(creaturesToHit)) >= CreatureToAva then
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "No Action") 
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell0", "No Action") 
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell1", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell1", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Mummy\\ListSettings  \\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Demon Skeleton\\ListSettings\\Setting0\\ListSpell\\Spell  0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Stalker\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Crypt Shambler\\ListSettings\\Setting0\\ListSpell\\Spell  0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Ghost\\ListSettings  \\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\ListSett  ings\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell1", "No Action")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell2", "No Action")
    elseif maround(7, unpack(creaturesToHit)) < CreatureToAva then
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Vampire\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell0", "Ultimate Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Lich\\ListSettings\  \Setting0\\ListSpell\\Spell1", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell0", "Strong Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Necromancer\\ListSe  ttings\\Setting0\\ListSpell\\Spell1", "Flame Strike") 
        setsettings("Settings\\Targeting\\Monsters\\Mummy\\ListSettings  \\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Demon Skeleton\\ListSettings\\Setting0\\ListSpell\\Spell  0", "Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Stalker\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Crypt Shambler\\ListSettings\\Setting0\\ListSpell\\Spell  0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Ghost\\ListSettings  \\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\ListSett  ings\\Setting0\\ListSpell\\Spell0", "Flame Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting0\\ListSpell\\Spell0", "Energy Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell0", "Ultimate Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell1", "Strong Ice Strike")
        setsettings("Settings\\Targeting\\Monsters\\Banshee\\ListSettin  gs\\Setting1\\ListSpell\\Spell2", "Energy Strike")
    end


    you mean no action when monsters >= 2 and strikes only when monsters < 2?

  3. #3
    iBot User Xaoo's Avatar
    Join Date
    May 2014
    Location
    London
    Posts
    136
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    63 Post(s)
    Reputation
    21
    Rep Power
    3
    ya, When monsters >= 2 then use only avalanche runes otherwise use spells.

  4. #4
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    did you checked the edited action?

  5. #5
    iBot User Xaoo's Avatar
    Join Date
    May 2014
    Location
    London
    Posts
    136
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    63 Post(s)
    Reputation
    21
    Rep Power
    3
    It doenst work.. whyyy

    //EDIT.. LOL In my action was CreatureToAva instead CreatureToAvA. That's why it wasn't working.. WTF

Posting Permissions

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