Results 1 to 2 of 2

Thread: (Pedido) Action anti thief

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

    (Pedido) Action anti thief

    Olá, alguem tem uma action que impeça que roubem o loot dos bichos mortos jogando coisas em cima? eu encontrei uma no forum que usa desintegrate rune, mas ela nao funciona de jeito nenhum..
    se alguem puder ajudar eu agradeço =)

  2. #2
    Premium User
    Join Date
    Sep 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    a action que encontrei eh essa, caso alguem saiba oq esta errado..

    local MONSTERS = {'dead medusa', 'dead serpent spawn'}
    local RUNE = 'Desintegrate Rune'
    local CHECK_TILE = gettile(posx, posy, posz).count

    if lootbodies > 0 then
    settargeting('no')
    reachgrounditem(unpack(MONSTERS))
    if CHECK_TILE == 1 then
    settargeting('yes')
    end
    end
    else
    if lootbodies > 0 then
    if windowcount(unpack(MONSTERS)) < 0 then
    settargeting('no')
    reachgrounditem(unpack(MONSTERS))
    while CHECK_TILE > 2 do
    useitemon(RUNE, posx, posy, posz)
    openitem(unpack(MONSTERS), posx, posz, posy)
    settargeting('yes')
    end
    end
    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
  •