|
|
Linha 1: |
Linha 1: |
| [[Página principal|<span style="font-size: 18px;">Voltar</span>]]
| | <div class="mw-custom-box"> |
| | | '''Script Lua:''' |
| <a href="javascript:void(0);" onclick="showScriptPrompt();">Mostrar Script</a>
| | <pre> |
| | |
| <script type="text/javascript"> | |
| function showScriptPrompt() {
| |
| var scriptCode = `
| |
| setDefaultTab("Tools") | | setDefaultTab("Tools") |
| local outfit = { | | local outfit = { |
Linha 25: |
Linha 21: |
| setOutfit(outfit); | | setOutfit(outfit); |
| end) | | end) |
| `;
| | </pre> |
| | </div> |
|
| |
|
| var promptWindow = window.open('', 'Script', 'width=600,height=400');
| |
| promptWindow.document.open();
| |
| promptWindow.document.write('<pre>' + scriptCode + '</pre>');
| |
| promptWindow.document.close();
| |
| }
| |
| </script>
| |
|
| |
|
|
| |
|
Revisão das 12h13min de 16 de setembro de 2023
Script Lua:
setDefaultTab("Tools")
local outfit = {
head = 0,
body = 1,
legs = 2,
feet = 3,
type = 134, -- outfit id
auxType = 0,
addons = 3, -- 1, 2, or 3 for all
mount = 0, -- mount id
}
macro(100, "RainbowOutfit", function()
outfit.head = (outfit.head + 1) % 133;
outfit.body = (outfit.body + 1) % 133;
outfit.legs = (outfit.legs + 1) % 133;
outfit.feet = (outfit.feet + 1) % 133;
setOutfit(outfit);
end)
Para que a macro funcione corretamente, será necessário:
Possuir a Addon 1 e Addon 2 ou alterar a linha addons = 3, -- 1, 2, or 3 for all para addons = 0, -- 1, 2, or 3 for all
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).
Alterar o ID do Outfit conforme a tabela abaixo.
Outfits IDs
Nome
|
|
Vip
|
ID Male
|
ID Female
|
Afflicted Outifit
|
|
|
430
|
431
|
Assassin Outifit
|
|
|
152
|
156
|
Barbarian Outifit
|
|
|
143
|
147
|
Battle Mage Outifit
|
|
|
1069
|
1070
|
Beggar Outifit
|
|
|
153
|
157
|
Brotherhood Outifit
|
|
|
278
|
279
|
Cave Explorer Outifit
|
|
|
574
|
575
|
Citizen Outifit
|
|
|
128
|
136
|
Crystal Warlord Outifit
|
|
|
512
|
513
|
Deepling Outifit
|
|
|
463
|
464
|
Demon Outifit
|
|
|
541
|
542
|
Demonhunter Outifit
|
|
|
289
|
288
|
Discoverer Outifit
|
|
|
1094
|
1095
|
Dream Warden Outifit
|
|
|
577
|
578
|
Druid Outifit
|
|
|
144
|
148
|
Elementalist Outifit
|
|
|
432
|
433
|
Entrepreneur Outifit
|
|
|
472
|
471
|
Falconer Outifit
|
|
|
1282
|
1283
|
Festive Outifit
|
|
|
931
|
929
|
Glooth Engineer Outifit
|
|
|
610
|
618
|
Hunter Outifit
|
|
|
129
|
137
|
Insectoid Outifit
|
|
|
465
|
466
|
Jester Outifit
|
|
|
273
|
270
|
Knight Outifit
|
|
|
131
|
139
|
Mage Outifit
|
|
|
130
|
138
|
Makeshift Warrior Outifit
|
|
|
1042
|
1043
|
Nightmare Outifit
|
|
|
268
|
269
|
Nobleman Outifit
|
|
|
132
|
140
|
Norseman Outifit
|
|
|
251
|
252
|
Oriental Outifit
|
|
|
146
|
150
|
Percht Raider Outifit
|
|
|
1161
|
1162
|
Pirate Outifit
|
|
|
151
|
155
|
Rift Warrior Outifit
|
|
|
846
|
845
|
Shaman Outifit
|
|
|
154
|
158
|
Soil Guardian Outifit
|
|
|
516
|
514
|
summoner Outifit
|
|
|
133
|
141
|
Tradicionalist Outifit
|
|
|
1251
|
1252
|
Warmaster Outifit
|
|
|
335
|
336
|
Warrior Outifit
|
|
|
134
|
142
|
Wayfarer Outifit
|
|
|
366
|
367
|
Wizard Outifit
|
|
|
145
|
149
|
Yalaharian Outifit
|
|
|
324
|
325
|