Server upload

RD Core / Commit #2

Commit Server upload

Alex Alex committed 18/10/2026 23:38 main Patch
1,106 files +223,404 -0
A data/talkactions/scripts/custom/dispoints.lua +43-0 View file
@@ -0,0 +1,43 @@
1+function onSay(player, words, param)
2+ local split = param:splitTrimmed(" ")
3+ local ATR_SELECT = tonumber(split[01])
4+ local POINTS_ATR = player:getStorageValue(_SYSTEM.POINTS_ATR[07])
5+ local MSG_ATR = {
6+ [01] = "[ATRIBUTOS] Voc� aumentou seu HP M�ximo.";
7+ [02] = "[ATRIBUTOS] Voc� melhorou sua Esquiva.";
8+ [03] = "[ATRIBUTOS] Voc� aumentou sua Muni��o M�xima.";
9+ [04] = "[ATRIBUTOS] Voc� melhorou sua Resist�ncia a disparos.";
10+ [05] = "[ATRIBUTOS] Voc� aumentou seu Dano com Habilidades.";
11+ [06] = "[ATRIBUTOS] Voc� aumentou seu Dano Cr�tico.";
12+ }
13+
14+ if POINTS_ATR > 0 then
15+ if ATR_SELECT == 01 then -- VIDA
16+ if player:getStorageValue(_SYSTEM.MAESTRIA[01]) == 04 then
17+ if player:getStorageValue(_SYSTEM.MAESTRIA[03]) > 0 then
18+ player:getPosition():sendMagicEffect(CONST_ME_POFF)
19+ return false
20+ end
21+ end
22+ if Tile(player:getPosition()):hasFlag(TILESTATE_PROTECTIONZONE) then
23+ player:setMaxHealth(player:getMaxHealth() + 10)
24+ player:addHealth(player:getMaxHealth())
25+ else
26+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "� necess�rio estar em Protection Zone (PZ).")
27+ return false
28+ end
29+ end
30+ if ATR_SELECT < 07 then
31+ if player:getStorageValue(_SYSTEM.POINTS_ATR[ATR_SELECT]) < 0 then
32+ player:setStorageValue(_SYSTEM.POINTS_ATR[ATR_SELECT], 01)
33+ else
34+ player:setStorageValue(_SYSTEM.POINTS_ATR[ATR_SELECT], (player:getStorageValue(_SYSTEM.POINTS_ATR[ATR_SELECT]) + 01))
35+ end
36+ end
37+ end
38+
39+ player:sendTextMessage(MESSAGE_EVENT_ORANGE, MSG_ATR[ATR_SELECT])
40+ player:setStorageValue(_SYSTEM.POINTS_ATR[07], (player:getStorageValue(_SYSTEM.POINTS_ATR[07]) - 01))
41+ player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN)
42+ doInventario(player, 06)
43+end
A data/talkactions/scripts/custom/donates.lua +143-0 View file
@@ -0,0 +1,143 @@
1+function onSay(player, words, param)
2+ local DONATES = {
3+ ['atendimento.bks@gmail.com'] = {VALOR = '34,4', BUY_COINS = 172, NICK = 'Sonnyz', LEVEL = 203},
4+ ['caramuru.brazil@yahoo.com.br'] = {VALOR = '102', BUY_COINS = 510, NICK = 'Del Raiz', LEVEL = 145},
5+ ['wtr58292@gmail.com'] = {VALOR = '47,6', BUY_COINS = 238, NICK = 'Okumura', LEVEL = 38},
6+ ['fellipe.r.n@hotmail.com'] = {VALOR = '100', BUY_COINS = 500, NICK = 'Hota', LEVEL = 218},
7+ ['vanzelaviti@hotmail.com'] = {VALOR = '35', BUY_COINS = 175, NICK = 'Ceejay', LEVEL = 103},
8+ ['arthurcb3@hotmail.com'] = {VALOR = '960', BUY_COINS = 4800, NICK = 'Mutreta', LEVEL = 90},
9+ ['manoelmmb15@gmail.com'] = {VALOR = '5', BUY_COINS = 25, NICK = 'Impiedoso', LEVEL = 66},
10+ ['brxkiller@hotmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Brxkiller', LEVEL = 65},
11+ ['ltonijrl@gmail.com'] = {VALOR = '140', BUY_COINS = 700, NICK = 'Cachorro Loco', LEVEL = 83},
12+ ['lucascfc38@gmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Chugas', LEVEL = 35},
13+ ['vitorpmede@gmail.com'] = {VALOR = '89', BUY_COINS = 445, NICK = 'Neo', LEVEL = 81},
14+ ['tibaobahia123@gmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Tibao Bahia', LEVEL = 50},
15+ ['derekagradem12@gmail.com'] = {VALOR = '30', BUY_COINS = 150, NICK = 'Keredozin', LEVEL = 70},
16+ ['brunodiegooliveiraribeiroo@gmail.com'] = {VALOR = '30', BUY_COINS = 150, NICK = 'Yuji Sama', LEVEL = 60},
17+ ['weslleygearsofwar3@live.com'] = {VALOR = '200', BUY_COINS = 1000, NICK = 'Rick Grimes', LEVEL = 82},
18+ ['trexsan1@gmail.com'] = {VALOR = '8', BUY_COINS = 40, NICK = 'Reex', LEVEL = 56},
19+ ['leandro12saj@gmail.com'] = {VALOR = '35', BUY_COINS = 175, NICK = 'Prostituto', LEVEL = 32},
20+ ['combarms@hotmail.com'] = {VALOR = '124', BUY_COINS = 620, NICK = 'Azumir', LEVEL = 173},
21+ ['matheus_santana1994@hotmail.com'] = {VALOR = '226', BUY_COINS = 1130, NICK = 'Haykrion', LEVEL = 201},
22+ ['contato@batataspetry.com.br'] = {VALOR = '200', BUY_COINS = 1000, NICK = 'Victor Petry', LEVEL = 44},
23+ ['lolwilliw@gmail.com'] = {VALOR = '10', BUY_COINS = 50, NICK = 'Anjo Will', LEVEL = 75},
24+ ['mpolito18@hotmail.com'] = {VALOR = '60', BUY_COINS = 300, NICK = 'Alcione', LEVEL = 93},
25+ ['rberto_@outlook.com.br'] = {VALOR = '45', BUY_COINS = 225, NICK = 'Eminem', LEVEL = 161},
26+ ['guiwilly@hotmail.com'] = {VALOR = '45', BUY_COINS = 225, NICK = 'Fusca', LEVEL = 240},
27+ ['ivanhardjr@hotmail.com'] = {VALOR = '10', BUY_COINS = 50, NICK = 'Shanks', LEVEL = 165},
28+ ['marcusvosantos@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Skabim', LEVEL = 93},
29+ ['ulygiovanni@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Kastigaz', LEVEL = 75},
30+ ['micadesigner@yahoo.com'] = {VALOR = '10', BUY_COINS = 50, NICK = 'Rapidinho', LEVEL = 88},
31+ ['advogado@omarcornejo.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Sniper Vesgo', LEVEL = 78},
32+ ['ramzabevoulve@hotmail.com'] = {VALOR = '43,8', BUY_COINS = 219, NICK = 'Agrias', LEVEL = 135},
33+ ['brunomiottojose@hotmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Bob Lee Swagger', LEVEL = 88},
34+ ['themasterbr12@hotmail.com'] = {VALOR = '9', BUY_COINS = 45, NICK = 'Ovelha Negra', LEVEL = 96},
35+ ['rubencosta1993@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Pequod', LEVEL = 112},
36+ ['bielvgp@gmail.com'] = {VALOR = '50', BUY_COINS = 250, NICK = 'Muttlei', LEVEL = 29},
37+ ['paulovictormoreira97@gmail.com'] = {VALOR = '80', BUY_COINS = 400, NICK = 'Trinca Ferro', LEVEL = 36},
38+ ['granado.gabriel18@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Vendido', LEVEL = 111},
39+ ['guilhermemellosodre@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Extasy', LEVEL = 57},
40+ ['cesarleandro96@hotmail.com'] = {VALOR = '2', BUY_COINS = 10, NICK = 'Cebola', LEVEL = 251},
41+ ['sheldon.fernandes95@hotmail.com'] = {VALOR = '10', BUY_COINS = 50, NICK = 'Fernandes', LEVEL = 93},
42+ ['matheusballack450@gmail.com'] = {VALOR = '86', BUY_COINS = 430, NICK = 'Dobry wieczor', LEVEL = 120},
43+ ['ph-pedrim@hotmail.com'] = {VALOR = '30', BUY_COINS = 150, NICK = 'Jerryn', LEVEL = 79},
44+ ['thiago-borigan@hotmail.com'] = {VALOR = '15', BUY_COINS = 75, NICK = 'Borigan', LEVEL = 111},
45+ ['faldon@live.com'] = {VALOR = '31,6', BUY_COINS = 158, NICK = 'Hypnos', LEVEL = 120},
46+ ['williamantiqueira@gmail.com'] = {VALOR = '28', BUY_COINS = 140, NICK = 'Profzenho', LEVEL = 73},
47+ ['dukemon2k@gmail.com'] = {VALOR = '5', BUY_COINS = 25, NICK = 'Dukera', LEVEL = 58},
48+ ['brunoiii.25martins@gmail.com'] = {VALOR = '215', BUY_COINS = 1075, NICK = 'Gunpower', LEVEL = 97},
49+ ['gabrielhadlich@hotmail.com'] = {VALOR = '80', BUY_COINS = 400, NICK = 'Artois', LEVEL = 81},
50+ ['joaovictorsantossimoes20@gmail.com'] = {VALOR = '3,4', BUY_COINS = 17, NICK = 'Paodequeijo', LEVEL = 10},
51+ ['otaviocunhafer@gmail.com'] = {VALOR = '10', BUY_COINS = 50, NICK = 'Hazo', LEVEL = 60},
52+ ['guilhermegreen720@gmail.com'] = {VALOR = '50', BUY_COINS = 250, NICK = 'Gt Soldier', LEVEL = 364},
53+ ['nandinhoskk8@gmail.com'] = {VALOR = '30', BUY_COINS = 150, NICK = 'Luna Airbags', LEVEL = 111},
54+ ['yagoloko1132@hotmail.com'] = {VALOR = '17', BUY_COINS = 85, NICK = 'Yago cardoso', LEVEL = 51},
55+ ['gian_carros@hotmail.com'] = {VALOR = '25', BUY_COINS = 125, NICK = 'Mc da leste', LEVEL = 83},
56+ ['fernando.ascencio1996@gmail.com'] = {VALOR = '15', BUY_COINS = 75, NICK = 'Kalkox', LEVEL = 79},
57+ ['darkaizin@hotmail.com'] = {VALOR = '5', BUY_COINS = 25, NICK = 'Baah', LEVEL = 69},
58+ ['ramon.benhameg@gmail.com'] = {VALOR = '25', BUY_COINS = 125, NICK = 'Angus', LEVEL = 190},
59+ ['dougvini359@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Royall', LEVEL = 104},
60+ ['teusantejo@hotmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Gnerious', LEVEL = 39},
61+ ['kaiquesamuel51@gmail.com'] = {VALOR = '30', BUY_COINS = 150, NICK = 'Kah is back', LEVEL = 117},
62+ ['rodolforadmann@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Leylin', LEVEL = 72},
63+ ['brunogms127@gmail.com'] = {VALOR = '50', BUY_COINS = 250, NICK = 'Anonimato', LEVEL = 118},
64+ ['igorkratina2@hotmail.com'] = {VALOR = '9', BUY_COINS = 45, NICK = 'Keenn', LEVEL = 39},
65+ ['otavio_driigo014@hotmail.com'] = {VALOR = '80', BUY_COINS = 400, NICK = 'Lord Maxsky', LEVEL = 183},
66+ ['bruno_felipe_belmonte@yahoo.com.br'] = {VALOR = '50', BUY_COINS = 250, NICK = 'Brinks', LEVEL = 76},
67+ ['rafahlow@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Hirwen', LEVEL = 83},
68+ ['azizcrowley13@gmail.com'] = {VALOR = '141', BUY_COINS = 705, NICK = 'Gabs', LEVEL = 206},
69+ ['lorenzobbraccini@gmail.com'] = {VALOR = '5', BUY_COINS = 25, NICK = 'Blotz', LEVEL = 86},
70+ ['jpaulo2207@itelefonica.com.br'] = {VALOR = '80', BUY_COINS = 400, NICK = 'Po Mina', LEVEL = 93},
71+ ['bru.no_vinicius@hotmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = 'Krakud', LEVEL = 32},
72+ ['luckkinhaas01@gmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = 'Xatuba Foi Deletado', LEVEL = 112},
73+ ['guilherme-naves@hotmail.com'] = {VALOR = '40', BUY_COINS = 200, NICK = '', LEVEL = 0},
74+ ['gianluccaz@hotmail.com'] = {VALOR = '10', BUY_COINS = 50, NICK = '', LEVEL = 0},
75+ ['gugu.bernardescorreia@gmail.com'] = {VALOR = '3,6', BUY_COINS = 18, NICK = '', LEVEL = 0},
76+ ['johnny_fael@hotmail.com'] = {VALOR = '30', BUY_COINS = 150, NICK = '', LEVEL = 0},
77+ ['jeszao@gmail.com'] = {VALOR = '25', BUY_COINS = 125, NICK = '', LEVEL = 0},
78+ ['jhuznin@gmail.com'] = {VALOR = '50', BUY_COINS = 250, NICK = '', LEVEL = 0},
79+ ['odilon_volkmann@hotmail.com'] = {VALOR = '20', BUY_COINS = 100, NICK = '', LEVEL = 0},
80+ };
81+
82+ local split = param:splitTrimmed(" ")
83+ local ACTION = tonumber(split[01])
84+ local EMAIL = ""
85+ local ACC_STOR = 00
86+
87+ local playerAccount = player:getAccountId()
88+ local RETURN_EMAIL = db.storeQuery("SELECT email, loyalty_points FROM accounts WHERE id = " ..playerAccount.. ";")
89+ if RETURN_EMAIL then
90+ EMAIL = result.getDataString(RETURN_EMAIL, "email")
91+ ACC_STOR = result.getDataInt(RETURN_EMAIL, "loyalty_points")
92+ else
93+ player:sendCancelMessage("@BetaTester 00")
94+ return false
95+ end
96+
97+ if _DEBUG_MODE then
98+ local _TYPE = {
99+ ["00"] = 'Carregando BETA Tester',
100+ ["01"] = 'Dando Donate BETA Tester',
101+ }
102+
103+ if _TYPE[split[01]] then
104+ print("[TALK - DONATE] " ..player:getName().. " - " .._TYPE[split[01]].. " | AccountID: " ..playerAccount)
105+ else
106+ print("[TALK - DONATE] " ..player:getName().. " - " ..split[01].. " | AccountID: " ..playerAccount)
107+ end
108+ end
109+ if ACTION == 00 then
110+ if DONATES[EMAIL] then
111+ if ACC_STOR ~= nil and ACC_STOR > 00 then
112+ player:sendCancelMessage("@BetaTester 02 " ..DONATES[EMAIL].VALOR.. " " ..DONATES[EMAIL].BUY_COINS.. " " ..DONATES[EMAIL].NICK.. " " ..DONATES[EMAIL].LEVEL)
113+ return false
114+ else
115+ player:sendCancelMessage("@BetaTester 01 " ..DONATES[EMAIL].VALOR.. " " ..DONATES[EMAIL].BUY_COINS.. " " ..DONATES[EMAIL].NICK.. " " ..DONATES[EMAIL].LEVEL)
116+ return false
117+ end
118+ else
119+ player:sendCancelMessage("@BetaTester 00")
120+ return false
121+ end
122+ end
123+ if ACTION == 01 then
124+ if DONATES[EMAIL] then
125+ local TOTAL_GANHO = tonumber(DONATES[EMAIL].BUY_COINS) + tonumber(DONATES[EMAIL].LEVEL)
126+ PlayerVipCoins(player, 02, TOTAL_GANHO)
127+ player:sendCancelMessage("@LootMSG 3218 3 0 " ..TOTAL_GANHO)
128+ if _DEBUG_MODE then
129+ print("[TALK - DONATE] " ..player:getName().. " - AccountID: " ..playerAccount.. " | Obteve: " ..TOTAL_GANHO)
130+ end
131+ doBackpack(player, 11)
132+
133+ db.query("UPDATE `accounts` SET `loyalty_points` = 1 WHERE `id` = " ..playerAccount.. ";")
134+ player:getPosition():sendMagicEffect(14)
135+ return false
136+ else
137+ player:sendCancelMessage("@BetaTester 00")
138+ return false
139+ end
140+ end
141+
142+ return false
143+end
A data/talkactions/scripts/custom/especialista.lua +177-0 View file
@@ -0,0 +1,177 @@
1+function onSay(player, words, param)
2+ local split = param:splitTrimmed(" ")
3+ local ESPECIALISTA = {
4+ [-1] = {LVL = 150, PRICE = 0200000, TELEPORT = {x=3741, y=1216, z=8}}; -- LIZARDS
5+ [00] = {LVL = 200, PRICE = 0350000, TELEPORT = {x=3281, y=1109, z=7}}; -- VERMES
6+ [01] = {LVL = 250, PRICE = 0500000, TELEPORT = {x=3883, y=1091, z=9}}; -- GHASTLY DRAGONS
7+ [02] = {LVL = 300, PRICE = 0700000, TELEPORT = {x=3724, y=1167, z=8}}; -- GRIM REAPER
8+ [03] = {LVL = 350, PRICE = 0900000, TELEPORT = {x=3376, y=1054, z=7}}; -- DRAKENS
9+ [04] = {LVL = 400, PRICE = 2000000, TELEPORT = {x=3486, y=0814, z=8}}; -- DIMENSIONAL
10+ }
11+ local HUNT_PLACE = {
12+ [01] = {LVL = 400, PRICE = 050000, TELEPORT = {x=3741, y=1216, z=8}}; -- LIZARDS
13+ [02] = {LVL = 400, PRICE = 050000, TELEPORT = {x=3281, y=1109, z=7}}; -- VERMES
14+ [03] = {LVL = 400, PRICE = 050000, TELEPORT = {x=3883, y=1091, z=9}}; -- GHASTLY DRAGONS
15+ [04] = {LVL = 400, PRICE = 050000, TELEPORT = {x=3724, y=1167, z=8}}; -- GRIM REAPER
16+ [05] = {LVL = 400, PRICE = 050000, TELEPORT = {x=3376, y=1054, z=7}}; -- DRAKENS
17+ [06] = {LVL = 400, PRICE = 050000, TELEPORT = {x=3486, y=0814, z=8}}; -- DIMENSIONAL
18+ }
19+
20+ if _DEBUG_MODE then
21+ local _TYPE = {
22+ ["00"] = 'Iniciando Desafio Especialista',
23+ }
24+
25+ if _TYPE[split[01]] then
26+ print("[TALK - ESPECIALISTA] " ..player:getName().. " - " .._TYPE[split[01]])
27+ else
28+ print("[TALK - ESPECIALISTA] " ..player:getName().. " - " ..split[01].. " | Level: " ..split[02])
29+ end
30+ end
31+ if split[01] == "00" then
32+ local ESP_VALUE = tonumber(split[02])
33+ if player:getStorageValue(_SYSTEM.ESPECIALISTA[01]) < 01 then
34+ local GOLD_COIN = PlayerGoldCoins(player, 00)
35+ if _CHEATS.ESPECIALISTA_LEVEL_UNLOCK or player:getLevel() >= ESPECIALISTA[-1].LVL then
36+ if _CHEATS.ESPECIALISTA_COIN_FREE or GOLD_COIN >= ESPECIALISTA[-1].PRICE then
37+
38+ local party = player:getParty()
39+ if party then
40+ player:popupFYI("Voc� precisa sair de sua Party para poder entrar.")
41+ return false
42+ end
43+ if _CHEATS.ESPECIALISTA_COIN_FREE == false then
44+ PlayerGoldCoins(player, 01, ESPECIALISTA[-1].PRICE)
45+ doBackpack(player, 11)
46+ end
47+ local ESPECIALISTA_NAME = {
48+ [01] = "Pistola";
49+ [02] = "Metralhadora";
50+ [03] = "Espingarda";
51+ [04] = "Rifle";
52+ }
53+
54+ player:setStorageValue(_SYSTEM.ESPECIALISTA[04], ESP_VALUE)
55+ player:teleportTo(ESPECIALISTA[-1].TELEPORT)
56+ player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
57+ player:sendCancelMessage("@NoTeleport 01")
58+ player:sendCancelMessage("@TutorShow 36")
59+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Iniciando Desafio do Especialista:\n[ " ..ESPECIALISTA_NAME[ESP_VALUE].. " ].")
60+ if player:getStorageValue(_QUESTLOG[157].UID_01) == 01 then
61+ addEvent(function()
62+ player:setStorageValue(_QUESTLOG[157].UID_01, 02)
63+ player:getPosition():sendMagicEffect(14)
64+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
65+
66+ doBackpack(player, 12)
67+ end, 3000)
68+ end
69+ else
70+ player:popupFYI("Voc� n�o tem dinheiro suficiente.")
71+ end
72+ else
73+ player:popupFYI("Voc� n�o tem level suficiente.")
74+ end
75+ end
76+ else
77+ local ESP_VALUE = tonumber(split[02])
78+ if player:getStorageValue(_SYSTEM.ESPECIALISTA[01]) > 00 then
79+ local ESP_LEVEL = player:getStorageValue(_SYSTEM.ESPECIALISTA[02])
80+ if ESP_LEVEL >= 05 then
81+
82+ player:teleportTo(HUNT_PLACE[ESP_VALUE].TELEPORT)
83+ player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
84+ player:sendCancelMessage("@NoTeleport 01")
85+ return false
86+ else
87+ local GOLD_COIN = PlayerGoldCoins(player, 00)
88+ if _CHEATS.ESPECIALISTA_LEVEL_UNLOCK or player:getLevel() >= ESPECIALISTA[ESP_VALUE].LVL then
89+ if _CHEATS.ESPECIALISTA_COIN_FREE or GOLD_COIN >= ESPECIALISTA[ESP_VALUE].PRICE then
90+
91+ local party = player:getParty()
92+ if party then
93+ player:popupFYI("Voc� precisa sair de sua Party para poder entrar.")
94+ return false
95+ end
96+ if _CHEATS.ESPECIALISTA_COIN_FREE == false then
97+ PlayerGoldCoins(player, 01, ESPECIALISTA[ESP_VALUE].PRICE)
98+ doBackpack(player, 11)
99+ end
100+
101+ if ESP_LEVEL == 00 then
102+ player:sendCancelMessage("@TutorShow 37")
103+ if player:getStorageValue(_QUESTLOG[158].UID_01) == 01 then
104+ addEvent(function()
105+ player:setStorageValue(_QUESTLOG[158].UID_01, 02)
106+ player:getPosition():sendMagicEffect(14)
107+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
108+
109+ doBackpack(player, 12)
110+ end, 3000)
111+ end
112+ elseif ESP_LEVEL == 01 then
113+ player:setStorageValue(_SYSTEM.ESPECIALISTA[03], 02)
114+ player:setStorageValue(_SYSTEM.ESPECIALISTA[04], 00)
115+ player:sendCancelMessage("@TutorShow 38")
116+ if player:getStorageValue(_QUESTLOG[159].UID_01) == 01 then
117+ addEvent(function()
118+ player:setStorageValue(_QUESTLOG[159].UID_01, 02)
119+ player:getPosition():sendMagicEffect(14)
120+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
121+
122+ doBackpack(player, 12)
123+ end, 3000)
124+ end
125+ elseif ESP_LEVEL == 02 then
126+ player:setStorageValue(_SYSTEM.ESPECIALISTA[03], 03)
127+ player:sendCancelMessage("@TutorShow 39")
128+ if player:getStorageValue(_QUESTLOG[160].UID_01) == 01 then
129+ addEvent(function()
130+ player:setStorageValue(_QUESTLOG[160].UID_01, 02)
131+ player:getPosition():sendMagicEffect(14)
132+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
133+
134+ doBackpack(player, 12)
135+ end, 3000)
136+ end
137+ elseif ESP_LEVEL == 03 then
138+ player:setStorageValue(_SYSTEM.ESPECIALISTA[03], 04)
139+ player:setStorageValue(_SYSTEM.ESPECIALISTA[04], 00)
140+ player:sendCancelMessage("@TutorShow 40")
141+ if player:getStorageValue(_QUESTLOG[161].UID_01) == 01 then
142+ addEvent(function()
143+ player:setStorageValue(_QUESTLOG[161].UID_01, 02)
144+ player:getPosition():sendMagicEffect(14)
145+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
146+
147+ doBackpack(player, 12)
148+ end, 3000)
149+ end
150+ elseif ESP_LEVEL == 04 then
151+ player:setStorageValue(_SYSTEM.ESPECIALISTA[03], 05)
152+ player:sendCancelMessage("@TutorShow 41")
153+ if player:getStorageValue(_QUESTLOG[162].UID_01) == 01 then
154+ addEvent(function()
155+ player:setStorageValue(_QUESTLOG[162].UID_01, 02)
156+ player:getPosition():sendMagicEffect(14)
157+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
158+
159+ doBackpack(player, 12)
160+ end, 3000)
161+ end
162+ end
163+
164+ player:sendCancelMessage("@NoTeleport 01")
165+ player:teleportTo(ESPECIALISTA[ESP_VALUE].TELEPORT)
166+ player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
167+ else
168+ player:popupFYI("Voc� n�o tem dinheiro suficiente.")
169+ end
170+ else
171+ player:popupFYI("Voc� n�o tem level suficiente.")
172+ end
173+ end
174+ end
175+ end
176+ return false
177+end
A data/talkactions/scripts/custom/fendas.lua +12-0 View file
@@ -0,0 +1,12 @@
1+local BlockedName = {"Druid Sample", "Paladin Sample", "Knight Sample", "Rook Sample", "Soldier Sample"}
2+function onSay(player, words, param)
3+ local split = param:splitTrimmed(" ")
4+
5+ if split[01] == "00" then -- RETORNAR FENDAS
6+ if _DEBUG_MODE then
7+ print("[TALK - FENDA] " ..player:getName().. " - Carregando Fendas")
8+ end
9+ PlayerFendasDimensionais(player, 1000, 00)
10+ end
11+ return false
12+end
A data/talkactions/scripts/custom/machine.lua +148-0 View file
@@ -0,0 +1,148 @@
1+local MACHINE_SELECT = {
2+ [01] = {NAME = "Machine #01", LEVEL = 040, COIN_TYPE = 01, COIN_PRICE = 10, GOLD_PRICE = 010000, RARE = {00, 01}, DESC = "Chance de vim raridade: COMUM a MELHORADO."};
3+ [02] = {NAME = "Machine #02", LEVEL = 085, COIN_TYPE = 01, COIN_PRICE = 20, GOLD_PRICE = 040000, RARE = {00, 02}, DESC = "Chance de vim raridade: COMUM a RARO."};
4+ [03] = {NAME = "Machine #03", LEVEL = 130, COIN_TYPE = 01, COIN_PRICE = 30, GOLD_PRICE = 070000, RARE = {01, 02}, DESC = "Chance de vim raridade: MELHORADO a RARO."};
5+ [04] = {NAME = "Machine #04", LEVEL = 180, COIN_TYPE = 02, COIN_PRICE = 20, GOLD_PRICE = 100000, RARE = {00, 03}, DESC = "Chance de vim raridade: COMUM a �PICO."};
6+ [05] = {NAME = "Machine #05", LEVEL = 225, COIN_TYPE = 02, COIN_PRICE = 30, GOLD_PRICE = 155000, RARE = {01, 03}, DESC = "Chance de vim raridade: MELHORADO a �PICO."};
7+ [06] = {NAME = "Machine #06", LEVEL = 285, COIN_TYPE = 03, COIN_PRICE = 25, GOLD_PRICE = 200000, RARE = {01, 04}, DESC = "Chance de vim raridade: MELHORADO a LEND�RIO."};
8+ [07] = {NAME = "Machine #07", LEVEL = 320, COIN_TYPE = 03, COIN_PRICE = 35, GOLD_PRICE = 250000, RARE = {02, 04}, DESC = "Chance de vim raridade: RARO a LEND�RIO."};
9+}
10+local TASK_POINTS_NAME = {
11+ [01] = "Branco";
12+ [02] = "Amarelo";
13+ [03] = "Azul";
14+}
15+local AMULET_ID = {
16+ [01] = {1001, 1002, 1008, 1016, 1005},
17+ [02] = {1001, 1002, 1008, 1016, 1005, 1017, 1018, 1007},
18+ [03] = {1001, 1002, 1008, 1016, 1005, 1017, 1018, 1007, 1019, 1020, 1021},
19+ [04] = {1001, 1002, 1008, 1016, 1005, 1017, 1018, 1007, 1019, 1020, 1021, 1000, 1003, 1004, 1009},
20+ [05] = {1001, 1002, 1008, 1016, 1005, 1017, 1018, 1007, 1019, 1020, 1021, 1000, 1003, 1004, 1009, 1006, 1014, 1015},
21+ [06] = {1001, 1002, 1008, 1016, 1005, 1017, 1018, 1007, 1019, 1020, 1021, 1000, 1003, 1004, 1009, 1006, 1014, 1015, 1010, 1011, 1012, 1013},
22+ [07] = {1001, 1002, 1008, 1016, 1005, 1017, 1018, 1007, 1019, 1020, 1021, 1000, 1003, 1004, 1009, 1006, 1014, 1015, 1010, 1011, 1012, 1013},
23+}
24+function onSay(player, words, param)
25+ local split = param:splitTrimmed(" ")
26+ local INDEX = tonumber(split[01])
27+ local PlayerCoins = 0
28+ local PlayerGold = PlayerGoldCoins(player, 00)
29+ local NeedCoins = MACHINE_SELECT[INDEX].COIN_PRICE
30+ local GoldCoins = MACHINE_SELECT[INDEX].GOLD_PRICE
31+ local CoinsType = 0
32+
33+ if player:getLevel() < MACHINE_SELECT[INDEX].LEVEL then
34+ player:popupFYI("Voc� n�o tem n�vel suficiente.")
35+ return false
36+ end
37+ if MACHINE_SELECT[INDEX].COIN_TYPE == 01 then
38+ PlayerCoins = player:getStorageValue(_SYSTEM.TASK[00].TASK_COIN_1)
39+ CoinsType = 01
40+ elseif MACHINE_SELECT[INDEX].COIN_TYPE == 02 then
41+ PlayerCoins = player:getStorageValue(_SYSTEM.TASK[00].TASK_COIN_2)
42+ CoinsType = 02
43+ elseif MACHINE_SELECT[INDEX].COIN_TYPE == 03 then
44+ PlayerCoins = player:getStorageValue(_SYSTEM.TASK[00].TASK_COIN_3)
45+ CoinsType = 03
46+ end
47+ if _DEBUG_MODE then
48+ print("[TALK - MACHINE AMULET] " ..player:getName().. " - Usando Machine Amulet (" ..split[01].. ")")
49+ end
50+ if _CHEATS.MACHINE_SORT_FREE == false then
51+ if PlayerGold >= GoldCoins then
52+ if PlayerCoins >= NeedCoins then
53+ local iid = AMULET_ID[INDEX][math.random(01, #AMULET_ID[INDEX])]
54+ local slo = 01
55+ local rar = math.random(MACHINE_SELECT[INDEX].RARE[01], MACHINE_SELECT[INDEX].RARE[02])
56+ local sta = 00
57+ local qnt = 01
58+ local ext = 00
59+
60+ if doBackpack(player, 00, slo, ext, 01) then
61+ if doBackpack(player, 01, slo, ext, 0, iid, rar, sta) then
62+ if CoinsType == 01 then
63+ player:setStorageValue(_SYSTEM.TASK[00].TASK_COIN_1, (player:getStorageValue(_SYSTEM.TASK[00].TASK_COIN_1) - NeedCoins))
64+ elseif CoinsType == 02 then
65+ player:setStorageValue(_SYSTEM.TASK[00].TASK_COIN_2, (player:getStorageValue(_SYSTEM.TASK[00].TASK_COIN_2) - NeedCoins))
66+ elseif CoinsType == 03 then
67+ player:setStorageValue(_SYSTEM.TASK[00].TASK_COIN_3, (player:getStorageValue(_SYSTEM.TASK[00].TASK_COIN_3) - NeedCoins))
68+ end
69+ PlayerGoldCoins(player, 01, GoldCoins)
70+ --player:setStorageValue(_SYSTEM.GOLD_COIN, (PlayerGold - GoldCoins))
71+
72+ player:popupFYI("Voc� recebeu o item\n[ ".._RARIDADES[rar].Name.. " " .._ITEMS[iid].NAME.. " ].")
73+ player:getPosition():sendMagicEffect(14)
74+ if player:getStorageValue(_QUESTLOG[95].UID_01) == 02 then
75+ player:setStorageValue(_QUESTLOG[95].UID_01, 100)
76+ player:setStorageValue(_QUESTLOG[96].UID_01, 01)
77+ player:setStorageValue(_QUESTLOG[97].UID_01, 01)
78+
79+ player:addExperience(15000, true, true)
80+ player:getPosition():sendMagicEffect(14)
81+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
82+ end
83+ end
84+ else
85+ player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Sua Backpack esta cheia.")
86+ player:getPosition():sendMagicEffect(03)
87+ return false
88+ end
89+ -- DESAFIO
90+ if player:getStorageValue(_DESAFIOS[00].DESAFIO_ID) > 00 then
91+ if INDEX == 01 then
92+ onPlayerDesafios(player, 58, 01)
93+ elseif INDEX == 02 then
94+ onPlayerDesafios(player, 59, 01)
95+ elseif INDEX == 03 then
96+ onPlayerDesafios(player, 60, 01)
97+ elseif INDEX == 04 then
98+ onPlayerDesafios(player, 61, 01)
99+ elseif INDEX == 05 then
100+ onPlayerDesafios(player, 62, 01)
101+ elseif INDEX == 06 then
102+ onPlayerDesafios(player, 63, 01)
103+ elseif INDEX == 07 then
104+ onPlayerDesafios(player, 64, 01)
105+ end
106+ end
107+ else
108+ player:popupFYI("Voc� n�o tem Task Points "..TASK_POINTS_NAME[MACHINE_SELECT[INDEX].COIN_TYPE].." suficiente.")
109+ end
110+ else
111+ player:popupFYI("Voc� n�o tem dinheiro suficiente.")
112+ end
113+ else
114+ local iid = math.random(1000, 1017)
115+ local slo = 01
116+ local rar = math.random(MACHINE_SELECT[INDEX].RARE[01], MACHINE_SELECT[INDEX].RARE[02])
117+ local sta = 00
118+ local qnt = 01
119+ local ext = 00
120+
121+ if doBackpack(player, 00, slo, ext, 01) then
122+ if doBackpack(player, 01, slo, ext, 0, iid, rar, sta) then
123+ PlayerTokenCoins(player, CoinsType, NeedCoins, 01)
124+ PlayerGoldCoins(player, 01, GoldCoins)
125+ --player:setStorageValue(_SYSTEM.GOLD_COIN, (PlayerGold - GoldCoins))
126+
127+ player:popupFYI("Voc� recebeu o item\n[ ".._RARIDADES[rar].Name.. " " .._ITEMS[iid].NAME.. " ].")
128+ player:getPosition():sendMagicEffect(14)
129+ if player:getStorageValue(_QUESTLOG[95].UID_01) == 02 then
130+ player:setStorageValue(_QUESTLOG[95].UID_01, 100)
131+ player:setStorageValue(_QUESTLOG[96].UID_01, 01)
132+ player:setStorageValue(_QUESTLOG[97].UID_01, 01)
133+
134+ player:addExperience(35000, true, true)
135+ player:getPosition():sendMagicEffect(14)
136+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
137+ end
138+ end
139+ else
140+ player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Sua Backpack esta cheia.")
141+ player:getPosition():sendMagicEffect(03)
142+ return false
143+ end
144+ end
145+
146+ doBackpack(player, 11)
147+ return false
148+end
A data/talkactions/scripts/custom/maestria.lua +114-0 View file
@@ -0,0 +1,114 @@
1+function onSay(player, words, param)
2+ local split = param:splitTrimmed(" ")
3+ local MLevel = 80
4+ local MAESTRIA_NAME = {
5+ [01] = {N = "REGEN", V = 02};
6+ [02] = {N = "TANKER", V = 03};
7+ [03] = {N = "SHOOTER", V = 04};
8+ [04] = {N = "VITAL", V = 05};
9+ [05] = {N = "LUCKY", V = 06};
10+ }
11+ local MAESTRIA_REC = {
12+ [-1] = {LVL = 150, PRICE = 100000};
13+ [00] = {LVL = 150, PRICE = 100000};
14+ [01] = {LVL = 200, PRICE = 250000};
15+ [02] = {LVL = 250, PRICE = 350000};
16+ [03] = {LVL = 300, PRICE = 500000};
17+ }
18+
19+ if _DEBUG_MODE then
20+ local _TYPE = {
21+ ["00"] = 'Comprando Maestria pela primeira vez',
22+ }
23+
24+ if _TYPE[split[01]] then
25+ print("[TALK - ESPECIALISTA] " ..player:getName().. " - " .._TYPE[split[01]])
26+ else
27+ print("[TALK - ESPECIALISTA] " ..player:getName().. " - " ..split[01].. " | Maestria: " ..MAESTRIA_NAME[tonumber(split[02])].N)
28+ end
29+ end
30+ if split[01] == "00" then
31+ local MAESTRIA = tonumber(split[02])
32+ if player:getStorageValue(_SYSTEM.MAESTRIA[01]) < 01 then
33+ local GOLD_COIN = PlayerGoldCoins(player, 00)
34+ if _CHEATS.MAESTRIA_LEVEL_UNLOCK or player:getLevel() >= MLevel then
35+ if _CHEATS.MAESTRIA_COIN_FREE or GOLD_COIN >= 50000 then
36+ player:setStorageValue(_SYSTEM.MAESTRIA[01], MAESTRIA)
37+ player:setStorageValue(_SYSTEM.MAESTRIA[02], 00)
38+
39+ if _CHEATS.MAESTRIA_COIN_FREE == false then
40+ PlayerGoldCoins(player, 01, 50000)
41+ --player:setStorageValue(_SYSTEM.GOLD_COIN, (GOLD_COIN - 20000))
42+ end
43+
44+ player:sendCancelMessage("@NewMaestria")
45+ player:popupFYI("Voc� obteve a Maestria [" ..MAESTRIA_NAME[MAESTRIA].N.. "].\nEssa nova habilidade pode ser vista em sua barra de skills.")
46+ player:setVocation(MAESTRIA_NAME[MAESTRIA].V)
47+ local IDD_1 = player:getStorageValue(_SYSTEM.MAESTRIA[01])
48+ local IDD_2 = player:getStorageValue(_SYSTEM.ESPECIALISTA[01])
49+ local IDD_3 = player:getStorageValue(_SYSTEM.MAESTRIA[02])
50+ local IDD_4 = player:getStorageValue(_SYSTEM.ESPECIALISTA[02])
51+ player:sendCancelMessage("@MaestriaEsp " ..IDD_1.. " " ..IDD_2.. " " ..IDD_3.. " " ..IDD_4)
52+ player:sendCancelMessage("@StarCliente")
53+
54+ if player:getStorageValue(_QUESTLOG[156].UID_01) == 01 then
55+ addEvent(function()
56+ player:setStorageValue(_QUESTLOG[156].UID_01, 100)
57+
58+ player:addExperience(50000, true, true)
59+ player:getPosition():sendMagicEffect(14)
60+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Seu Quest Log foi atualizado.")
61+ doBackpack(player, 12)
62+ end, 3000)
63+ end
64+ else
65+ player:popupFYI("Voc� n�o tem dinheiro suficiente.")
66+ end
67+ else
68+ player:popupFYI("Voc� n�o tem level suficiente.")
69+ end
70+ end
71+ else
72+ local MAESTRIA = tonumber(split[02])
73+ if player:getStorageValue(_SYSTEM.MAESTRIA[01]) > 00 then
74+ if player:getStorageValue(_SYSTEM.MAESTRIA[02]) < 05 then
75+ local MAESTRIA_LEVEL = player:getStorageValue(_SYSTEM.MAESTRIA[02])
76+ local GOLD_COIN = PlayerGoldCoins(player, 00)
77+ if _CHEATS.MAESTRIA_LEVEL_UNLOCK or player:getLevel() >= MAESTRIA_REC[MAESTRIA_LEVEL].LVL then
78+ if _CHEATS.MAESTRIA_COIN_FREE or GOLD_COIN >= MAESTRIA_REC[MAESTRIA_LEVEL].PRICE then
79+ if _CHEATS.MAESTRIA_COIN_FREE == false then
80+ PlayerGoldCoins(player, 01, MAESTRIA_REC[MAESTRIA_LEVEL].PRICE)
81+ --player:setStorageValue(_SYSTEM.GOLD_COIN, (GOLD_COIN - MAESTRIA_REC[MAESTRIA_LEVEL].PRICE))
82+ end
83+ if MAESTRIA_LEVEL < 01 then
84+ player:setStorageValue(_SYSTEM.MAESTRIA[02], 01)
85+ else
86+ player:setStorageValue(_SYSTEM.MAESTRIA[02], (MAESTRIA_LEVEL + 1))
87+ end
88+
89+ player:sendCancelMessage("@NewMaestria")
90+ player:popupFYI("Voc� avan�ou em Maestria!")
91+ local IDD_1 = player:getStorageValue(_SYSTEM.MAESTRIA[01])
92+ local IDD_2 = player:getStorageValue(_SYSTEM.ESPECIALISTA[01])
93+ local IDD_3 = player:getStorageValue(_SYSTEM.MAESTRIA[02])
94+ local IDD_4 = player:getStorageValue(_SYSTEM.ESPECIALISTA[02])
95+ player:sendCancelMessage("@MaestriaEsp " ..IDD_1.. " " ..IDD_2.. " " ..IDD_3.. " " ..IDD_4)
96+
97+ -- RRESET MAESTRIA SPELLS
98+ player:setStorageValue(_SYSTEM.MAESTRIA[03], nil)
99+ player:setStorageValue(_SYSTEM.MAESTRIA[04], nil)
100+ player:sendCancelMessage("@StarCliente")
101+ else
102+ player:popupFYI("Voc� n�o tem dinheiro suficiente.")
103+ end
104+ else
105+ player:popupFYI("Voc� n�o tem level suficiente.")
106+ end
107+ else
108+ player:popupFYI("Voc� j� alcan�ou o n�vel de maestria m�ximo.")
109+ end
110+ end
111+ end
112+
113+ return false
114+end
A data/talkactions/scripts/custom/nexus_remote.lua +83-0 View file
@@ -0,0 +1,83 @@
1+function onSay(player, words, param)
2+ local split = param:splitTrimmed(" ")
3+ local NEXUS_ID = tonumber(split[01])
4+
5+ if NEXUS_ID == 00 then
6+ local NEXUS_IDD = tonumber(split[02])
7+ local NEXUS_POS = tonumber(split[03])
8+
9+ if _SYSTEM.TASK.MONSTER[NEXUS_IDD] then
10+ local TaskPlus = 1
11+ if player:getStorageValue(_DESAFIOS[00].DESAFIO_TYPE) == 01 then
12+ TaskPlus = 2
13+ end
14+ player:setStorageValue(_SYSTEM.TASK[00].TASK_ATIVA, _SYSTEM.TASK.MONSTER[NEXUS_IDD][NEXUS_POS].IMG_ID)
15+ player:setStorageValue(_SYSTEM.TASK[00].QNT_ATIVA, 0)
16+ player:setStorageValue(_SYSTEM.TASK[00].NEXUS, NEXUS_IDD)
17+
18+ local KILL_BASE = _SYSTEM.TASK.MONSTER[NEXUS_IDD][NEXUS_POS].KILL * TaskPlus
19+ player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Voc� reiniciou a Task:\n[ " .._SYSTEM.TASK.MONSTER[NEXUS_IDD][NEXUS_POS].NAME.. " | x" ..KILL_BASE.. " ]")
20+ local Ativo = player:getStorageValue(_SYSTEM.TASK[00].TASK_ATIVA)
21+ player:sendCancelMessage("@StartTask " ..Ativo.. " 0")
22+ doBackpack(player, 11)
23+ end
24+ return false
25+ end
26+
27+ local Ativo = player:getStorageValue(_SYSTEM.TASK[00].TASK_ATIVA)
28+ local Qnt = player:getStorageValue(_SYSTEM.TASK[00].QNT_ATIVA)
29+ local Booster = Game.getStorageValue(_SYSTEM.TASK.MONSTER[NEXUS_ID][00].BOOSTER)
30+ local CountDG = PlayerMetas(player, 1001, 00, NEXUS_ID)
31+ local TaskPlus = 1
32+ if player:getStorageValue(_DESAFIOS[00].DESAFIO_TYPE) == 01 then
33+ TaskPlus = 2
34+ end
35+
36+ if _DEBUG_MODE then
37+ print("[TALK - NEXUS] " ..player:getName().. " - Abrindo Nexus Remoto")
38+ end
39+ player:sendCancelMessage("@ActivityNex " ..NEXUS_ID.. " " ..Ativo.. " " ..Qnt.. " " ..Booster.. " " ..CountDG.. " " ..TaskPlus)
40+ if player:getStorageValue(_QUESTLOG[26].UID_01) > 01 and player:getStorageValue(_QUESTLOG[26].UID_01) < 100 then
41+ player:sendCancelMessage("@TutorShow 12")
42+ player:setStorageValue(_QUESTLOG[26].UID_01, 100)
43+ end
44+ if NEXUS_ID == 01 then
45+ local ID_1 = Game.getStorageValue(_GLOBAL_RANDOM.NINHOS["SYSTEM"].NINHO_1)
46+ local ID_2 = Game.getStorageValue(_GLOBAL_RANDOM.NINHOS["SYSTEM"].NINHO_2)
47+ local ID_3 = Game.getStorageValue(_GLOBAL_RANDOM.NINHOS["SYSTEM"].NINHO_3)
48+ local ID_4 = Game.getStorageValue(_GLOBAL_RANDOM.NINHOS["SYSTEM"].NINHO_4)
49+ player:sendCancelMessage("@Ninhos " ..ID_1.. " " ..ID_2.. " " ..ID_3.. " " ..ID_4)
50+ elseif NEXUS_ID == 05 or NEXUS_ID == 06 then
51+ local IDD_1 = player:getStorageValue(_SYSTEM.MAESTRIA[01])
52+ local IDD_2 = player:getStorageValue(_SYSTEM.ESPECIALISTA[01])
53+ local IDD_3 = player:getStorageValue(_SYSTEM.MAESTRIA[02])
54+ local IDD_4 = player:getStorageValue(_SYSTEM.ESPECIALISTA[02])
55+ player:sendCancelMessage("@MaestriaEsp " ..IDD_1.. " " ..IDD_2.. " " ..IDD_3.. " " ..IDD_4)
56+ elseif NEXUS_ID == 08 then
57+ for SR = 01, 05 do
58+ local ID_1 = Game.getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][01][SR][01]) or 0
59+ local ID_2 = Game.getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][01][SR][02]) or 0
60+ local ID_3 = Game.getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][01][SR][03]) or 0
61+ local ID_4 = Game.getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][01][SR][04]) or 0
62+ local ID_5 = Game.getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][01][SR][05]) or 0
63+
64+ local VL_1 = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][02][SR][01]) or 0
65+ local VL_2 = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][02][SR][02]) or 0
66+ local VL_3 = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][02][SR][03]) or 0
67+ local VL_4 = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][02][SR][04]) or 0
68+ local VL_5 = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][02][SR][05]) or 0
69+
70+ local RANK = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][03][01]) or 0
71+ local VALU = player:getStorageValue(_GLOBAL_RANDOM.SAQUEADORES[00][03][02]) or 0
72+ player:sendCancelMessage("@Saqueadores " ..SR.. " " ..ID_1.. " " ..ID_2.. " " ..ID_3.. " " ..ID_4.. " " ..ID_5.." " ..VL_1.. " " ..VL_2.. " " ..VL_3.. " " ..VL_4.. " " ..VL_5.. " " ..RANK.. " " ..VALU)
73+ end
74+ elseif NEXUS_ID == 10 then
75+ local IDD_1 = player:getStorageValue(_SYSTEM.COLISEU[01])
76+ local IDD_2 = player:getStorageValue(_SYSTEM.COLISEU[02])
77+ local IDD_3 = player:getStorageValue(_SYSTEM.COLISEU[03])
78+ local IDD_4 = player:getStorageValue(_SYSTEM.COLISEU[04])
79+ player:sendCancelMessage("@Coliseu " ..IDD_1.. " " ..IDD_2.. " " ..IDD_3.. " " ..IDD_4)
80+ end
81+
82+ return false
83+end
Top