Signup Now
Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Free User L!p3's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    52
    Reputation
    21
    Rep Power
    21
    Quote Originally Posted by Donatello View Post
    It is just an example, can be improved a hundred thousand more:
    How can I set to use Strong Strikes too and first than normal strikes?

  2. #12
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,202
    Reputation
    141
    Rep Power
    10
    What exactly do you want to do? Under which condition you want to shoot GFB?

  3. #13
    Free User joraanpe's Avatar
    Join Date
    Dec 2013
    Posts
    212
    Reputation
    36
    Rep Power
    21
    Quote Originally Posted by Lucas Terra View Post
    What exactly do you want to do? Under which condition you want to shoot GFB?
    well in my case what i wanted was to shoot "Area Rune" if more than X monsters, but if less monsters than X then shoot strike spells..... but the thing is that the target list should be attacked with diferent types of strikes, example: demon skeleton with exori frigo, bonebeast with exori flam and water elemental with ex. vis.....

  4. #14
    Free User
    Join Date
    Dec 2013
    Posts
    106
    Reputation
    19
    Rep Power
    21
    i want the same like joraanpe

  5. #15
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    Quote Originally Posted by timmay View Post
    its using spells but no gfb
    Fixed.

  6. #16
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    Quote Originally Posted by joraanpe View Post
    well in my case what i wanted was to shoot "Area Rune" if more than X monsters, but if less monsters than X then shoot strike spells..... but the thing is that the target list should be attacked with diferent types of strikes, example: demon skeleton with exori frigo, bonebeast with exori flam and water elemental with ex. vis.....
    init start
    local CREATURES = {"earth elemental", "nightstalker"}
    local ATK_TYPE = {RUNE = {NAME = "great fireball rune", COUNT = 2}}
    init end

    local m = $target.name
    if maround(7, unpack(CREATURES)) >= ATK_TYPE.RUNE.COUNT then
    shootarearune(ATK_TYPE.RUNE.NAME, ATK_TYPE.RUNE.COUNT, true, unpack(CREATURES))
    waitping()
    else
    if $targetingtarget.isshootable and table.find(CREATURES, $target.name) and cancastspell(beststrike(m)) then
    cast(beststrike(m))
    waitping()
    end
    end

  7. #17
    Free User joraanpe's Avatar
    Join Date
    Dec 2013
    Posts
    212
    Reputation
    36
    Rep Power
    21
    Quote Originally Posted by Donatello View Post
    init start
    local CREATURES = {"earth elemental", "nightstalker"}
    local ATK_TYPE = {RUNE = {NAME = "great fireball rune", COUNT = 2}}
    init end

    local m = $target.name
    if maround(7, unpack(CREATURES)) >= ATK_TYPE.RUNE.COUNT then
    shootarearune(ATK_TYPE.RUNE.NAME, ATK_TYPE.RUNE.COUNT, true, unpack(CREATURES))
    waitping()
    else
    if $targetingtarget.isshootable and table.find(CREATURES, $target.name) and cancastspell(beststrike(m)) then
    cast(beststrike(m))
    waitping()
    end
    end
    nice donat, appreciated, very similar to the one i made, just that i made it more "rudimentary" without the arrays, so added everything one by one hahah

  8. #18
    Free User joraanpe's Avatar
    Join Date
    Dec 2013
    Posts
    212
    Reputation
    36
    Rep Power
    21
    edit: just retested your code and seems like its not retriving and shooting the beststrike, so does nothing when you have the min amount of monsters on you. I think ill keep using my rudimentary code hehe

 

 

Posting Permissions

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