Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Jun 2016
    Posts
    20
    Reputation
    10
    Rep Power
    0

    Exori san if no player/exori con if player on screen

    Bot gonna use exori san if there is not a single player on screen and when someone shows up it will cast exori con. Is there any scripts for that? Thanks in advance

  2. #2
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    Sure you can, this I think will be enough for you:

    init start
    local shootCreatures = {'dragon', 'dragon lord'}
    table.lower(shootCreatures)
    init end

    auto(500)

    foreach settingsentry s 'Targeting/Creatures' do
    local name = get(s, 'Name')

    if name and table.find(shootCreatures, name:lower()) then
    set(s, 'Setting1/FirstSpell', paround() == 0 and 'Divine Missile' or 'Ethereal Spear')
    end
    end

  3. #3
    Free User
    Join Date
    Jun 2016
    Posts
    20
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by mistgun View Post
    Sure you can, this I think will be enough for you:

    init start
    local shootCreatures = {'dragon', 'dragon lord'}
    table.lower(shootCreatures)
    init end

    auto(500)

    foreach settingsentry s 'Targeting/Creatures' do
    local name = get(s, 'Name')

    if name and table.find(shootCreatures, name:lower()) then
    set(s, 'Setting1/FirstSpell', paround() == 0 and 'Divine Missile' or 'Ethereal Spear')
    end
    end
    Thanks a lot works perfect !

 

 

Posting Permissions

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