Results 1 to 3 of 3

Thread: preciso da action para usar exori min

  1. #1
    Premium User
    Join Date
    Apr 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    preciso da action para usar exori min

    Alguem pode me passar a action para virar na direção q tiver mais monstros e usar exori min?
    Pvp world

  2. #2
    Normal User
    Join Date
    Mar 2012
    Location
    Goiânia - GO
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Tenta esse Aqui



    PHP Code:
    local monsterspell = { 'destroyer''demon' }
    local spellstrike 'exori min'

    function turnsidespell(mdx,mdy,mdid)
        
    local mdxmdymdidturnspell mdxmdymdid0
        local bcor 
    = {-1,1,0}
        if 
    mdid == target.id then
            
    if posx+(bcor[2]) == mdx and (posy+(bcor[1]) == mdy or posy+(bcor[3]) == mdy or posy+(bcor[2]) == mdythen
                turnspell 
    'e'
            
    elseif posx+(bcor[1]) == mdx and (posy+(bcor[1]) == mdy or posy+(bcor[3]) == mdy or posy+(bcor[2]) == mdythen
                turnspell 
    'w'
            
    elseif posy+(bcor[2]) == mdy and (posx+(bcor[1]) == mdx or posx+(bcor[3]) == mdx or posx+(bcor[3]) == mdxthen
                turnspell 
    's'
            
    elseif posy+(bcor[1]) == mdy and (posx+(bcor[1]) == mdx or posx+(bcor[3]) == mdx or posx+(bcor[3]) == mdxthen
                turnspell 
    'n'
            
    end
        end
        
    return turnspell
    end
    if maround(1falseunpack(monsterspell)) > and cancast(spellstrikethen
        local mx
    mymid target.posxtarget.posytarget.id
        local mt 
    turnsidespell(mx,my,mid)
        
    turn(mt)
        
    cast(spellstrike)
        
    wait(1000,1500)
    end 

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    waw.

    mudei pra exori mas e ficou tesão !

    OBRIGADO DO MESMO JEITO.

    REP ++++++++++++++++++

Posting Permissions

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