Exura Sio: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
(Criou a página com "<span style="font-size: 18px;">Voltar</span> <div class="mw-custom-box"> '''Script Lua:''' <pre> 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",...") |
Sem resumo de edição |
||
Linha 30: | Linha 30: | ||
[[File:v.png|12px]] 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). | [[File:v.png|12px]] 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). | ||
[[file: | [[file:Sio.png]] | ||
[[File:v.png|12px]] Informar o nome do jogador e o % de HP. | [[File:v.png|12px]] Informar o nome do jogador e o % de HP. |
Edição atual desde as 12h41min de 16 de setembro de 2023
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).