Results 1 to 6 of 6

Thread: Need help on action!

  1. #1
    Banned
    Join Date
    Jul 2012
    Posts
    402
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    16 Post(s)
    Reputation
    27
    Rep Power
    0

    Need help on action!

    Hello, Im boting my 60 paladin in Helheim and I want to use exori san on some monsters if more than X monsters, and if more than Y monsters, use exevo mas san.. If someone can help me.. Thanks!

    PD: with no player on screen because i play on pvp!

  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
    PHP Code:
    local CONFIG = {
        
    CREATURES = {"ghoul","mummy","crypt chambler","demon skeleton"},
        
    EXORI_SAN_AMOUNT 3,
        
    EXEVO_MAS_SAN_AMOUNT 5,
        
    PVP true,
    }

    if (
    maround(2,false,unpack(CONFIG.CREATURES)) >= CONFIG.EXEVO_MAS_SAN_AMOUNT and mp >= 160 and cancast("exevo mas san") and (not(CONFIG.PVP) or (paround(10,true) == and lasttimeplayeronscreen <= 10000))) then
        cast
    ("exevo mas san")
    elseif (
    maround(5,false,unpack(CONFIG.CREATURES)) >= CONFIG.EXORI_SAN_AMOUNT and target.id and mp >= 20 and table.find(CONFIG.CREATURES,target.name:lower()) and cancast("exori san") and (not(CONFIG.PVP) or (paround(10,true) == and lasttimeplayeronscreen <= 10000))) then
        cast
    ("exori san")
    end 
    Last edited by soder; 12-11-2012 at 06:22 PM.

  3. #3
    Banned
    Join Date
    Jul 2012
    Posts
    402
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    16 Post(s)
    Reputation
    27
    Rep Power
    0
    thanks man, I will try it tomorrow, work fine?

  4. #4
    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
    Should work fine, if it doesnt just reply here and I'll fix it.

  5. #5
    Banned
    Join Date
    Jul 2012
    Posts
    402
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    16 Post(s)
    Reputation
    27
    Rep Power
    0
    It doesn't work, someone can fix me?

  6. #6
    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
    What errors do you get in debug console?

    Also fixed a bug that I missed before, try the updated code above.
    Last edited by soder; 12-11-2012 at 06:22 PM. Reason: typo

Tags for this Thread

Posting Permissions

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