Results 1 to 7 of 7

Thread: Help - need energy wave in creature [action/hotkey]

  1. #1
    iBot User dracondeluxe's Avatar
    Join Date
    Apr 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Help - need energy wave in creature [action/hotkey]

    i need this action or hotkey, pleeeeeeeeeeeeasee

  2. #2
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    me2 bump!"

  3. #3
    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
    Try this, not tested - pretty much the whole code is from sirmates exori hotkey so credz to him.
    Requires sirmates lib
    local PVP = true
    local CREATURES = {"dragon","dragon lord"}
    local SPELLS = {
    {
    SPELL = "exevo vis hur", -- spell words
    MANA = 250, -- mana cost
    MIN_CREATURES = 3, -- amount of creatures to hit
    },
    {
    SPELL = "exevo gran vis lux", -- spell words
    MANA = 250, -- mana cost
    MIN_CREATURES = 2, -- amount of creatures to hit
    },
    }

    for i = #SPELLS, 1, -1 do
    if (table.find({"BIG_BEAM", "BIG_WAVE", "FRONT", "SMALL_BEAM", "SMALL_WAVE", "STRIKE"}, Spell.GetByWordsOrName(SPELLS[i].SPELL):Condition())) then
    local HIGHEST_AMOUNT, BEST_DIRECTION = 0, Self.LookDirection()

    for DIRECTION, CREATURES_AMOUNT in pairs({[DIRECTION_NORTH] = 0, [DIRECTION_EAST] = 0, [DIRECTION_SOUTH] = 0, [DIRECTION_WEST] = 0}) do
    CREATURES_AMOUNT = Self.MonstersAroundSpell(Spell.GetByWordsOrName(SPELLS[i].SPELL):Condition(), DIRECTION, unpack(CREATURES))

    if (CREATURES_AMOUNT > HIGHEST_AMOUNT or (CREATURES_AMOUNT >= HIGHEST_AMOUNT and DIRECTION == Self.LookDirection())) then
    HIGHEST_AMOUNT, BEST_DIRECTION = CREATURES_AMOUNT, DIRECTION
    end
    end
    if (not(PVP) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then
    if (HIGHEST_AMOUNT >= SPELLS[i].MIN_CREATURES) then
    while (Self.LookDirection() ~= BEST_DIRECTION) do
    settargeting("no")
    Self.Turn(BEST_DIRECTION) System.Wait(10, 15)
    end

    if (Self.MonstersAroundSpell(Spell.GetByWordsOrName(SPELLS[i].SPELL):Condition(), BEST_DIRECTION, unpack(CREATURES)) >= HIGHEST_AMOUNT) then
    cast(SPELLS[i].SPELL)
    end
    settargeting("yes")
    break
    end
    else
    break
    end
    end
    end
    Last edited by soder; 03-28-2013 at 12:53 PM.

  4. #4
    iBot User dracondeluxe's Avatar
    Join Date
    Apr 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by soder View Post
    Try this, not tested - pretty much the whole code is from sirmates exori hotkey so credz to him.
    Requires sirmates lib
    local PVP = true
    local CREATURES = {"dragon","dragon lord"}
    local SPELLS = {
    {
    SPELL = "exevo vis hur", -- spell words
    MANA = 250, -- mana cost
    MIN_CREATURES = 3, -- amount of creatures to hit
    },
    {
    SPELL = "exevo gran vis lux", -- spell words
    MANA = 250, -- mana cost
    MIN_CREATURES = 2, -- amount of creatures to hit
    },
    }

    for i = #SPELLS, 1, -1 do
    if (table.find({"BIG_BEAM", "BIG_WAVE", "FRONT", "SMALL_BEAM", "SMALL_WAVE", "STRIKE"}, Spell.GetByWordsOrName(SPELLS[i].SPELL):Condition())) then
    local HIGHEST_AMOUNT, BEST_DIRECTION = 0, Self.LookDirection()

    for DIRECTION, CREATURES_AMOUNT in pairs({[DIRECTION_NORTH] = 0, [DIRECTION_EAST] = 0, [DIRECTION_SOUTH] = 0, [DIRECTION_WEST] = 0}) do
    CREATURES_AMOUNT = Self.MonstersAroundSpell(Spell.GetByWordsOrName(SPELLS[i].SPELL):Condition(), DIRECTION, unpack(CREATURES))

    if (CREATURES_AMOUNT > HIGHEST_AMOUNT or (CREATURES_AMOUNT >= HIGHEST_AMOUNT and DIRECTION == Self.LookDirection())) then
    HIGHEST_AMOUNT, BEST_DIRECTION = CREATURES_AMOUNT, DIRECTION
    end
    end
    if (not(PVP) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then
    if (HIGHEST_AMOUNT >= SPELLS[i].MIN_CREATURES) then
    while (Self.LookDirection() ~= BEST_DIRECTION) do
    settargeting("no")
    Self.Turn(BEST_DIRECTION) System.Wait(10, 15)
    end

    if (Self.MonstersAroundSpell(Spell.GetByWordsOrName(SPELLS[i].SPELL):Condition(), BEST_DIRECTION, unpack(CREATURES)) >= HIGHEST_AMOUNT) then
    cast(SPELLS[i].SPELL)
    end
    settargeting("yes")
    break
    end
    else
    break
    end
    end
    end
    OMG, worked!!!!!!!!, but is responding very slowly
    [i have sirmates lib ]
    Last edited by dracondeluxe; 03-28-2013 at 04:53 PM.

  5. #5
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Try to use low spamrate on action like: 50 to 100.

  6. #6
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    works?????

  7. #7
    iBot User dracondeluxe's Avatar
    Join Date
    Apr 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by terje View Post
    works?????
    YEAH MAN! use low spamrate !

Posting Permissions

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