Ir para conteúdo

Caronte

Membro
  • Registro em

  • Última visita

Tudo que Caronte postou

  1. Fez o enem?
  2. Caronte postou uma resposta no tópico em Playground (Off-topic)
    Eu acho que seria melhor uma despartidarização, assim ficaria muito mais difícil usar apoios como do partido e partidos aliados, na hora de votar numa proposta, teria um pensamento individual. É ridículo também, eles votarem coisas que afetam eles mesmos, como o salário: -QUEM VOTA PARA O NOSSO SALÁRIO SER MAIOR? -OK, FOI UNÂNIME, 513 X 0 VOTOS, VAMOS AUMENTAR NOSSO SALÁRIO PARA 40K http://m.politica.estadao.com.br/noticias/geral,deputados-articulam-aumento-de-salario-no-congresso-e-no-executivo,1598014 Ridículo. Mano, não dá pra crer como não tem manifestação 24h... Os caras acham que por causa da inflação eles tem que aumentar os salários deles, para eles não sentirem a merda que o sistema financeiro faz? Aumenta também os salários de todos os brasileiros, pra a inflação ser "neutralizada"... Né? Ou seria diferente? Gostaria de um país sem salários para políticos, onde as leis e propostas fossem votadas pelos cidadãos na urna. Kk, já viu o comercial do democratas? Agora em vez de apresentar propostas, ataca-se uma pessoa/partido odiada, para ganhar crédito. Não tirando a culpa do PT ou Dilma. Eu simplesmente acho que não tem como um simples partido fazer tanta merda sozinho...
  3. Caronte postou uma resposta no tópico em Playground (Off-topic)
  4. Caronte postou uma resposta no tópico em Suporte Tibia OTServer
    Meu OT de teste não tinha, então eu fiz. ban.lua function onSay(cid, words, param, channel) local param = string.explode(param, ",") local bantypes = { ["ip"] = function() doAddIpBanishment(getIpByName(param[2]) ) return true end,--, mask[, length[, reason[, comment[, admin[, statement]]]]]]), ["name"] = function() doAddPlayerBanishment(param[2]) return true end,--}, type[, length[, reason[, action[, comment[, admin[, statement]]]]]]]), ["account"] = function() doAddAccountBanishment(getAccountIdByName(param[2]) ) return true end,--, playerId[, length[, reason[, action[, comment[, admin[, statement]]]]]]]), } --[[ doRemoveIpBanishment(ip[, mask]) doRemovePlayerBanishment(name/guid, type) doRemoveAccountBanishment(accountId[, playerId]) ]] for i, j in pairs(bantypes) do if words == "/ban" then if (string.lower(param[1]) == i) then doRemoveCreature(getCreatureByName(param[2]), true) return j() and doBroadcastMessage(" [BAN ADVISE]--> O Staff: ["..getCreatureName(cid).."] Baniu o player ["..param[2].."] por "..i..".", MESSAGE_STATUS_WARNING) end end if param[2] == "info" or "bans" or "/types" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You can use: /ban + "..i..", playername .") end end return true end talkactions.xml <talkaction log="yes" access="5" words="/ban" event="script" value="ban.lua"/> /ban info /ban bans /ban /types mostra como usar o comando.
  5. Na próxima eu tenho que dar meu palpite mais cedo, eu ia acertar
  6. A função está bem na cara: function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end Tente isto: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) if isPremium(cid) then npcHandler:onCreatureSay(cid, type, msg) else doTeleportThing(cid, {x = 160, y = 54, z = 7}) end end function onThink() npcHandler:onThink() end -- OTServ event handling functions end -- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions! local travelNode = keywordHandler:addKeyword({'thais'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you seek a passage to Thais for 80 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 80, destination = {x=32312, y=32213, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'ab\'dendriel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Ab\'dendriel for 70 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 70, destination = {x=32731, y=31668, z=6} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'edron'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Edron for 170 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 170, destination = {x=33174, y=31766, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'venore'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Venore for 110 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 110, destination = {x=32953, y=32021, z=6} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'port hope'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Port Hope for 190 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 1000, destination = {x=32532, y=32785, z=6} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'svargrond'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Svargrond for 150 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 150, destination = {x=32344, y=31123, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'liberty bay'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Liberty Bay for 210 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 2000, destination = {x=32313, y=32895, z=6} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'yalahar'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Yalahar for 210 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 3000, destination = {x=32817, y=31270, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'darashia'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to sail to Darashia for 170 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 1000, destination = {x=33290, y=32481, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) local travelNode = keywordHandler:addKeyword({'ankrahmun'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you seek a passage to Ankrahmun for 150 golds?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, level = 0, cost = 1000, destination = {x=33091, y=32883, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'We would like to serve you some time.'}) keywordHandler:addKeyword({'sail'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Where do you want to go? To Thais, Ab\'Dendriel, Venore, Svargrond, Yalahar or Edron?'}) keywordHandler:addKeyword({'passage'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Where do you want to go? To Thais, Ab\'Dendriel, Venore, Svargrond, Yalahar or Edron?'}) keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I\'m the captain of this sailing ship.'}) keywordHandler:addKeyword({'captain'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I\'m the captain of this sailing ship.'}) npcHandler:addModule(FocusModule:new()) Procure por {x = 160, y = 54, z = 7} , dentro do script, e altere para onde você quer que ele vá...
  7. Caronte postou uma resposta no tópico em Suporte Tibia OTServer
    Creio que você encurtou demais, não vai funcionar nem a pau, releia e veja o que você fez... Tente esse: local firstItems = { [0] = {2173, 2525, 2428, 2124, 2460, 2478, 2643}, [1] = {2173, 2525, 2190, 2124, 2460, 2478, 2643}, [2] = {2173, 2525, 2182, 2124, 2460, 2478, 2643}, [3] = {2173, 2525, 2389, 2124, 2460, 2478, 2643}, [4] = {2173, 2525, 2428, 2124, 2460, 2478, 2643}, } function onLogin(cid) if getPlayerStorageValue(cid, 30001) == -1 then for i = 1, #firstItems[getPlayerVocation(cid)] do doPlayerAddItem(cid, firstItems[getPlayerVocation(cid)][i], 1) end if getPlayerSex(cid) == 0 then doPlayerAddItem(cid, 2465, 1) else doPlayerAddItem(cid, 2465, 1) end local bag = doPlayerAddItem(cid, 10518, 1) doAddContainerItem(bag, 2160, 10) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 7618, 1) doAddContainerItem(bag, 2383, 1) setPlayerStorageValue(cid, 30001, 1) end return TRUE end
  8. Caronte postou uma resposta no tópico em Suporte Tibia OTServer
    Qual é o callback da WoE ? Qual é o caminho do arquivo, segundo o seu computador?
  9. Mano, eu juro que era o resultado que eu ia chutar... mas um endiabrado comentou antes, aí coloquei outro empate...
  10. Opa, desculpa, burrice minha. Agora ambos estão configuráveis: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local itemsp = { [1] = {2666, 2}, [2] = {2671, 2}, [3] = {2681, 2}, [4] = {2695, 2}, [5] = {2667, 2}, [6] = {2676, 2}, [7] = {2675, 2}, } -- os 7 items que precisam. s = "" for k, v in pairs(itemsp) do s = s.."{"..v[2].." ".. getItemNameById(v[1]) .."}".. (#itemsp ~= k and ", " or "") end function pegaritems() for k, v in pairs(itemsp) do doPlayerRemoveItem(cid, v[1], v[2]) end end function temitem() for k, v in pairs(itemsp) do if not (getPlayerItemCount(cid, v[1]) >= v[2]) then return false end end return true end local tab = { [2] = {7454, 1}, -- axe [3] = {2376, 1}, -- sword [4] = {2389, 1}, -- spear } if (msgcontains(msg, "troca") or msgcontains(msg, "trocar") or msgcontains(msg, "yes")) and talkState[talkUser] == nil then npcHandler:say("Ok, preciso de {7 items} em troca de: ("..getItemArticleById(tab[2][1]).." {"..getItemNameById(tab[2][1]).."} - ID: "..tab[2][1].."), ("..getItemArticleById(tab[3][1]).." {"..getItemNameById(tab[3][1]).."} - ID: "..tab[3][1]..") ou ("..getItemArticleById(tab[4][1]).." {"..getItemNameById(tab[4][1]).."} - ID: "..tab[4][1]..")", cid) talkState[talkUser] = 1 elseif (msgcontains(msg, tostring(getItemNameById(tab[2][1])))) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por um {"..getItemNameById(tab[2][1]).."}?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, tostring(getItemNameById(tab[3][1])))) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por uma {"..getItemNameById(tab[3][1]).."}?", cid) talkState[talkUser] = 3 elseif (msgcontains(msg, tostring(getItemNameById(tab[4][1])))) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por uma {"..getItemNameById(tab[4][1]).."}?", cid) talkState[talkUser] = 4 elseif (msgcontains(msg, "yes")) and tab[talkState[talkUser]] then for k, v in pairs(itemsp) do if not temitem() then doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) npcHandler:say("Voce nao tem todos os items, desculpe, nada feito.", cid) npcHandler:onCreatureDisappear(cid) talkState[talkUser] = nil return true elseif temitem() then pegaritems() for i = 1, tab[talkState[talkUser]][2] do doPlayerAddItem(cid, tab[talkState[talkUser]][1]) end npcHandler:say("Uhuul, troca feita, obrigado.", cid) npcHandler:onCreatureDisappear(cid) talkState[talkUser] = nil return true end end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  11. Caronte postou uma resposta no tópico em Design Show Off
    Usei o Photoshop CC, sou ruim em colorir... Um dia ainda compro um mediapad pra desenhar melhor...
  12. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local itemsp = {2666, 2671, 2681, 2695, 2667, 2676, 2675} -- os 7 items que precisam. s = "" for k, v in pairs(itemsp) do s = s.."{".. getItemNameById(v) .."}".. (#itemsp ~= k and ", " or "") end function pegaritems() for k, v in pairs(itemsp) do doPlayerRemoveItem(cid, v, 1) end end function temitem() for k, v in pairs(itemsp) do if not (getPlayerItemCount(cid, v) >= 1) then return false end end return true end local tab = { [2] = {7454, 4}, -- axe [3] = {2376, 2}, -- sword [4] = {2389, 2}, -- spear } if (msgcontains(msg, "troca") or msgcontains(msg, "trocar") or msgcontains(msg, "yes")) and talkState[talkUser] == nil then npcHandler:say("Ok, preciso de {7 items} em troca de: ("..getItemArticleById(tab[2][1]).." {"..getItemNameById(tab[2][1]).."} - ID: "..tab[2][1].."), ("..getItemArticleById(tab[3][1]).." {"..getItemNameById(tab[3][1]).."} - ID: "..tab[3][1]..") ou ("..getItemArticleById(tab[4][1]).." {"..getItemNameById(tab[4][1]).."} - ID: "..tab[4][1]..")", cid) talkState[talkUser] = 1 elseif (msgcontains(msg, tostring(getItemNameById(tab[2][1])))) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por um {"..getItemNameById(tab[2][1]).."}?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, tostring(getItemNameById(tab[3][1])))) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por uma {"..getItemNameById(tab[3][1]).."}?", cid) talkState[talkUser] = 3 elseif (msgcontains(msg, tostring(getItemNameById(tab[4][1])))) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por uma {"..getItemNameById(tab[4][1]).."}?", cid) talkState[talkUser] = 4 elseif (msgcontains(msg, "yes")) and tab[talkState[talkUser]] then for k, v in pairs(itemsp) do if not temitem() then doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) npcHandler:say("Voce nao tem todos os items, desculpe, nada feito.", cid) npcHandler:onCreatureDisappear(cid) talkState[talkUser] = nil return true elseif temitem() then pegaritems() for i = 1, tab[talkState[talkUser]][2] do doPlayerAddItem(cid, tab[talkState[talkUser]][1]) end npcHandler:say("Uhuul, troca feita, obrigado.", cid) npcHandler:onCreatureDisappear(cid) talkState[talkUser] = nil return true end end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  13. Caronte postou uma resposta no tópico em Design Show Off
    Qual cor seria melhor?
  14. Só to avisando, tem gente com 0 posts participando, e usar outro ip é fácil. Tem um inteligente que deu dois palpites...
  15. Lucas, melhor determinar o tempo de cadastro do fórum.
  16. Ainda pode? Eu chutaria Brasil 0 Argentina 0 Já que chutaram os placares +/-
  17. Caronte postou uma resposta no tópico em Playground (Off-topic)
    Então... Sobre o fórum: Não sei se percebeu... Mas o fórum atualizou... E matheus alterou o nick dele... E parece que ele tá mais ativo. Agora o playground você já tá atualizado.
  18. Só clicar em gostei no lado direito do post de quem você quer dar Rep+.
  19. Aqui está: Npc.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local itemsp = {2666, 2671, 2681, 2695, 2667, 2676, 2675} -- os 7 items que precisam. s = "" for k, v in pairs(itemsp) do s = s.."{".. getItemNameById(v) .."}".. (#itemsp ~= k and ", " or "") end function pegaritems() for k, v in pairs(itemsp) do doPlayerRemoveItem(cid, v, 1) end end function temitem() for k, v in pairs(itemsp) do if not (getPlayerItemCount(cid, v) >= 1) then return false end end return true end local tab = { [2] = 7454, -- axe [3] = 2376, -- sword [4] = 2389, -- spear } if (msgcontains(msg, "troca") or msgcontains(msg, "trocar") or msgcontains(msg, "yes")) and talkState[talkUser] == nil then npcHandler:say("Ok, preciso de {7 items} em troca de: ("..getItemArticleById(tab[2]).." {"..getItemNameById(tab[2]).."} - ID: "..tab[2].."), ("..getItemArticleById(tab[3]).." {"..getItemNameById(tab[3]).."} - ID: "..tab[3]..") ou ("..getItemArticleById(tab[4]).." {"..getItemNameById(tab[4]).."} - ID: "..tab[4]..")", cid) talkState[talkUser] = 1 elseif (msgcontains(msg, "axe")) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por um {axe}?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, "sword")) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por uma {sword}?", cid) talkState[talkUser] = 3 elseif (msgcontains(msg, "spear")) and talkState[talkUser] == 1 then npcHandler:say("Voce quer trocar: ".. s .." por uma {spear}?", cid) talkState[talkUser] = 4 elseif (msgcontains(msg, "yes")) and tab[talkState[talkUser]] then for k, v in pairs(itemsp) do if not temitem() then doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) npcHandler:say("Voce nao tem todos os items, desculpe, nada feito.", cid) npcHandler:onCreatureDisappear(cid) talkState[talkUser] = nil return true elseif temitem() then pegaritems() doPlayerAddItem(cid, tab[talkState[talkUser]]) npcHandler:say("Uhuul, troca feita, obrigado.", cid) npcHandler:onCreatureDisappear(cid) talkState[talkUser] = nil return true end end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Npc.Xml <?xml version="1.0"?> <npc name="Troque aqui" script="trocador de item.lua" walkinterval="2000"> <mana now="800" max="800" /> <health now="200" max="200" /> <look type="132" head="0" body="0" legs="0" feet="0" addons="3" /> <parameters> <parameter key="message_greet" value="Ola, |PLAYERNAME|, gostaria de fazer uma {troca}?" /> <parameter key="message_farewell" value="Ate mais, |PLAYERNAME|!" /> <parameter key="message_walkaway" value="Valeu!" /> </parameters>
  20. Caronte postou uma resposta no tópico em Playground (Off-topic)
    wtf que brisa
  21. Caronte postou uma resposta no tópico em Design Show Off
    Críticas, sugestões e comentários, por favor.
  22. Caronte postou uma resposta no tópico em Suporte Tibia OTServer
    Não tem como pegar o próprio /i ?? se é diferente do que você quer avise antes, para evitar a prolongação do tópico.
  23. Caronte postou uma resposta no tópico em Ferramentas OpenTibia
    Opa, faz assim, monta sua spell, e coloca isso nela: local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) setConditionFormula(condition, -0.9, 0, -0.9, 0) setCombatCondition(combat, condition) Para editar a lentidão é só mudar onde tem os 9, e o tempo, onde tem o 20000, é em milisegundos. tenta aí. Obrigado pelo feedback, eu realmente não posso fazer nada para derivados, tenho pouca experiência com derivados, mas acho que buga na parte dos efeitos, que o programa deve rejeitar o número extra.
  24. Uma leve edição na imagem:

Informação Importante

Confirmação de Termo