SCRIPT TARGET COM RUNA


Tibia RPG Brasil

Recommended Posts

ta usando o modulo de scripts ? é melhor pra colocar esse tipo de script, segue um pra SD, pra usar com avalanche muda o id 3155 para 3161

local RUNEID = 3155
cycleEvent(
  function()
    local p = g_game.getLocalPlayer()
    if g_game.isOnline() and g_game.isAttacking() then
      g_game.useInventoryItemWith(RUNEID, g_game.getAttackingCreature())
    end
  end  
, 500)

  • Like 3
Link to comment
Share on other sites

5 minutos atrás, Faramir disse:

ta usando o modulo de scripts ? é melhor pra colocar esse tipo de script, segue um pra SD, pra usar com avalanche muda o id 3155 para 3161

local RUNEID = 3155
cycleEvent(
  function()
    local p = g_game.getLocalPlayer()
    if g_game.isOnline() and g_game.isAttacking() then
      g_game.useInventoryItemWith(RUNEID, g_game.getAttackingCreature())
    end
  end  
, 500)

Te amo cara, vlw

Link to comment
Share on other sites

17 horas atrás, Faramir disse:

ta usando o modulo de scripts ? é melhor pra colocar esse tipo de script, segue um pra SD, pra usar com avalanche muda o id 3155 para 3161

local RUNEID = 3155
cycleEvent(
  function()
    local p = g_game.getLocalPlayer()
    if g_game.isOnline() and g_game.isAttacking() then
      g_game.useInventoryItemWith(RUNEID, g_game.getAttackingCreature())
    end
  end  
, 500)

pedido sanado!

Topico trancado.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.