Exura Sio

Fonte: Wot Wiki
Revisão em 12h41min de 16 de setembro de 2023 por Igorlabanca (discussão | contribs)
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
Saltar para a navegação Saltar para a pesquisa

Voltar


Script Lua:

setDefaultTab("Main")

macro(100, "Ligar Sio", nil, function()
  local friend = getPlayerByName(storage.healFriend)    
  if friend and friend:getHealthPercent() < tonumber(storage.healFriendPercent) then
      say("Exura Gran Sio \"" .. storage.healFriend)
      delay(700)
  end
end)
addLabel("sioname", "Nome do Jogador:", warTab)
addTextEdit("healfriend", storage.healFriend or "", function(widget, text)    
  storage.healFriend = text
end) 
addLabel("siopercent", "Porcentagem da vida (%):", warTab)
addTextEdit("healfriendpercent", storage.healFriendPercent or "", function(widget, text)    
  storage.healFriendPercent = text
end) 

Para que a macro funcione corretamente, será necessário:

Inserir a macro em Tolls > Ingame script editor (Caso possua outros scripts, você deverá rolar a barra até o final, saltar alguns espaços e colar o nome em seguida).

Informar o nome do jogador e o % de HP.