Results 1 to 2 of 2

Thread: Need an action that casts exori mort on creature if theres < 3 monsters on screen

  1. #1
    iBot User
    Join Date
    Jul 2012
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Need an action that casts exori mort on creature if theres < 3 monsters on screen

    I'm using this script now to attack 3 cyclops with gfb rune,
    Code:
    Code:
    local monsters = {"Cyclops", "Cyclops Smith", "Cyclops Drone"}
    shootarearune("Great Fireball Rune", 3, unpack(monsters))
    So i had to remove my targetting settings to cast exori mort on the monsters, so it would successfully cast GFB's

    Can someone make a script that uses "exori mort" on target if theres less than 3 monsters on screen?

  2. #2
    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
    Code:
    if (target.id ~= 0 and target.dist <= 3 and maround(3,"Cyclops", "Cyclops Smith", "Cyclops Drone") < 3 and cancast("exori mort")) then
        cast("exori mort")
    elseif (target.id ~= 0 and target.dist <= 3 and maround(3,"Cyclops", "Cyclops Smith", "Cyclops Drone") >= 3) then
        shootarearune("Great Fireball Rune", 3, unpack(monsters))
    end

Posting Permissions

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