Ir para conteúdo

luanluciano93

Héroi
  • Registro em

  • Última visita

Tudo que luanluciano93 postou

  1. 7.72 https://github.com/nekiro/TFS-1.5-Downgrades/tree/7.72
  2. Algo assim function ResetSystem:applyBonuses(pid) local bonus = self:getInfo(pid) if (bonus and bonus.damage_percent) then local storageTime = getPlayerStorageValue(pid, 1111) - os.time() if storageTime >= 1 then --se a storage da quest for mais ou igual a 1 bonusquest = getPlayerStorageValue(pid, 888251) -- recebe conforme a quantidade de vezes que fez a quest else bonusquest = 0; --se não seta pra 0 end setPlayerDamageMultiplier(pid, 1.0 + ((bonus.damage_percent+bonusquest) / 100.0)) else setPlayerDamageMultiplier(pid, 1.0) end end
  3. Você já faz a verificação se ele tem a storage, o que muda você trocar pela storage de tempo?
  4. Fica difícil alguém que não conhece o evento te ajudar.
  5. CLARO. talvez um evento "onTargetCombat" não resolveria toda essa verificação? Por onde você checa esse dano extra?
  6. Gesior usa os items do shop na tabela mesmo, deve estar ai
  7. A engine que uso é a do nekiro, e ele usa segue a engine do TFS da otland, e essas engines não vem com o cast. Crie um tópico no suporte referente a isso e me envie o link por PM, tentarei ajudar.
  8. Normalmente os raios são aleatórios a partir de certa frequência. Você pode criar uma globalevent com os horários determinados a a função para executar o Raid.
  9. Olá Feetads, poderia explicar melhor como funcionará? talvez tenha uma forma mais fácil. Até onde entendi é parecido com o atual daily reward do tibia global. Eu fiz algo parecido no meu server, a diferença é que ele dá uma recompensa por dia, e caso fique 24hrs em pegar, ele volta na primeira. Dê uma olhada: local days = { -- [dia] = {itemId, itemCount, "ordem"}, [1] = {2160, 1, "first"}, [2] = {2160, 2, "second"}, [3] = {2160, 3, "third"}, [4] = {2160, 4, "fourth"}, [5] = {2160, 5, "fifth"}, [6] = {12328, 6, "sixth"}, -- stamina refill [7] = {2160, 7, "seventh"} }, function onUse(player, item, fromPosition, target, toPosition, isHotkey) local timeQuest = player:getStorageValue(Storage.dailyQuestTime) > 0 and player:getStorageValue(Storage.dailyQuestTime) or 0 if (timeQuest + 86400) >= os.time() then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You still can't get the next reward.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return true elseif (timeQuest + 172800) <= os.time() then player:setStorageValue(Storage.dailyQuest, 1) end local day = player:getStorageValue(Storage.dailyQuest) > 0 and player:getStorageValue(Storage.dailyQuest) or 1 local dayReward = days[day] if dayReward then local reward = ItemType(dayReward[1]) if reward:getId() ~= 0 then if player:getFreeCapacity() < reward:getWeight() then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You don't have capacity.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return true end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You received ".. dayReward[2] .." ".. reward:getName() .. " as a reward for the ".. dayReward[3] .." day of daily quest.") player:addItem(reward:getId(), dayReward[2]) player:setStorageValue(Storage.dailyQuestTime, os.time()) if day == 7 then player:setStorageValue(Storage.dailyQuest, 1) else player:setStorageValue(Storage.dailyQuest, day + 1) end end end return true end
  10. Você pode criar invasões pelo por RAID, dê uma olhada nos exemplos do próprio otservbr https://github.com/opentibiabr/otservbr-global/tree/main/data/raids
  11. Este é um erro de website.
  12. Mude isso: local mana = getInstantSpellInfo(cid, players[cid][1]).mana doCreatureAddMana(cid, -(mana), false) doPlayerAddSpentMana(cid, mana, true) doCreatureSay(cid, getInstantSpellInfo(cid, players[cid][1]).words, TALKTYPE_MONSTER_SAY) por isso: doPlayerCastSpell(cid, players[cid][1]).words) lembrando que você tem que ter add a função acima, como comentei anteriormente ....
  13. Pode me explicar como reproduzir este erro? Estranho, pq mesmo que o valor de duração seja nulo, coloquei uma verificação para tal ... https://github.com/luanluciano93/ESTUDOS/blob/master/LUA/trade_offline/trade_offline_revscript.lua#L102
  14. Trade Offline O sistema foi testado apenas em TFS 1.5 O sistema funciona de forma semelhante ao Market System das versões atuais, porem sem exibição gráfica das ofertas in-game, para isso o sistema vai acompanhado de uma página para o Gesior AAC. Este sistema existe no fórum há um bom tempo e já é familiar pra muitos jogadores, essa versão trás consigo algumas melhorias e diferenças que irei listar abaixo. Sistema Ofertas removidas automaticamente no tempo configurado. Agora é possível vender um item exigindo outro item em troca ao invés de dinheiro. Containers com um conjunto de itens dentro agora podem ser anunciados. Agora o sistema verifica as cargas e durações dos itens antes de criar uma oferta. Novo parâmetro adicionado para verificar informações de ofertas in-game. Agora todo valor recebido vai diretamente para o banco do vendedor. Todo essa atualização de versão foi feita com base no script do WooX: TRADE_OFFLINE.LUA: https://raw.githubusercontent.com/luanluciano93/ESTUDOS/master/LUA/trade_offline/trade_offline_revscript.lua
  15. Funcionou a que eu mandei?
  16. Qual TFS? Este script é para TFS 1.X
  17. Se explicar como funciona certinho, talvez dê para melhorar ... local saga = { --- Naruto ------[Vocation] = {[1] = Roupa, effect = Efeito da transforma��o} [1] = {[1] = 71, [2] = 66, [3] = 91, [4] = 92, [5] = 40, [6] = 49, [7] = 179, [8] = 25, [9] = 291, [10] = 743, [11] = 1092, effect = 56}, [2] = {[1] = 71, [2] = 66, [3] = 91, [4] = 92, [5] = 40, [6] = 49, [7] = 179, [8] = 25, [9] = 291, [10] = 743, [11] = 1092, effect = 56}, [3] = {[1] = 71, [2] = 66, [3] = 91, [4] = 92, [5] = 40, [6] = 49, [7] = 179, [8] = 25, [9] = 291, [10] = 743, [11] = 1092, effect = 56}, --- Sasuke ---- [6] = {[1] = 2, [2] = 6, [3] = 5, [4] = 7, [5] = 94, [6] = 8, [7] = 95, [8] = 59, [9] = 178, [10] = 292, [11] = 293, effect = 164}, [7] = {[1] = 2, [2] = 6, [3] = 5, [4] = 7, [5] = 94, [6] = 8, [7] = 95, [8] = 59, [9] = 178, [10] = 292, [11] = 293, effect = 164}, [8] = {[1] = 2, [2] = 6, [3] = 5, [4] = 7, [5] = 94, [6] = 8, [7] = 95, [8] = 59, [9] = 178, [10] = 292, [11] = 293, effect = 164}, --- Sakura ---- [11] = {[1] = 175, [2] = 195, [3] = 173, [4] = 174, [5] = 169, [6] = 300, [7] = 172, [8] = 301, [9] = 170, [10] = 296, [11] = 294, effect = 13}, [12] = {[1] = 175, [2] = 195, [3] = 173, [4] = 174, [5] = 169, [6] = 300, [7] = 172, [8] = 301, [9] = 170, [10] = 296, [11] = 294, effect = 13}, [13] = {[1] = 175, [2] = 195, [3] = 173, [4] = 174, [5] = 169, [6] = 300, [7] = 172, [8] = 301, [9] = 170, [10] = 296, [11] = 294, effect = 13}, --- Rock Lee ---- [16] = {[1] = 30, [2] = 60, [3] = 82, [4] = 80, [5] = 78, [6] = 307, [7] = 190, [8] = 191, [9] = 192, [10] = 193, [11] = 295, effect = 7}, [17] = {[1] = 30, [2] = 60, [3] = 82, [4] = 80, [5] = 78, [6] = 307, [7] = 190, [8] = 191, [9] = 192, [10] = 193, [11] = 295, effect = 7}, [18] = {[1] = 30, [2] = 60, [3] = 82, [4] = 80, [5] = 78, [6] = 307, [7] = 190, [8] = 191, [9] = 192, [10] = 193, [11] = 295, effect = 7}, --- Gaara ---- [21] = {[1] = 53, [2] = 67, [3] = 72, [4] = 62, [5] = 189, [6] = 61, [7] = 188, [8] = 58, [9] = 187, [10] = 305, [11] = 306, effect = 116}, [22] = {[1] = 53, [2] = 67, [3] = 72, [4] = 62, [5] = 189, [6] = 61, [7] = 188, [8] = 58, [9] = 187, [10] = 305, [11] = 306, effect = 116}, [23] = {[1] = 53, [2] = 67, [3] = 72, [4] = 62, [5] = 189, [6] = 61, [7] = 188, [8] = 58, [9] = 187, [10] = 305, [11] = 306, effect = 116}, --- Neji ---- [26] = {[1] = 101, [2] = 102, [3] = 103, [4] = 104, [5] = 107, [6] = 107, [7] = 105, [8] = 108, [9] = 65, [10] = 77, [11] = 489, effect = 13}, [27] = {[1] = 101, [2] = 102, [3] = 103, [4] = 104, [5] = 107, [6] = 107, [7] = 105, [8] = 108, [9] = 65, [10] = 77, [11] = 489, effect = 13}, [28] = {[1] = 101, [2] = 102, [3] = 103, [4] = 104, [5] = 107, [6] = 107, [7] = 105, [8] = 108, [9] = 65, [10] = 77, [11] = 489, effect = 13}, --- Kiba ---- [31] = {[1] = 50, [2] = 50, [3] = 335, [4] = 69, [5] = 70, [6] = 84, [7] = 196, [8] = 197, [9] = 198, [10] = 200, [11] = 199, effect = 13}, [32] = {[1] = 50, [2] = 50, [3] = 335, [4] = 69, [5] = 70, [6] = 84, [7] = 196, [8] = 197, [9] = 198, [10] = 200, [11] = 199, effect = 13}, [33] = {[1] = 50, [2] = 50, [3] = 335, [4] = 69, [5] = 70, [6] = 84, [7] = 196, [8] = 197, [9] = 198, [10] = 200, [11] = 199, effect = 13}, --- Shikamaru ---- [36] = {[1] = 424, [2] = 425, [3] = 432, [4] = 426, [5] = 428, [6] = 423, [7] = 427, [8] = 427, [9] = 429, [10] = 430, [11] = 431, effect = 196}, [37] = {[1] = 424, [2] = 425, [3] = 432, [4] = 426, [5] = 428, [6] = 423, [7] = 427, [8] = 427, [9] = 429, [10] = 430, [11] = 431, effect = 196}, [38] = {[1] = 424, [2] = 425, [3] = 432, [4] = 426, [5] = 428, [6] = 423, [7] = 427, [8] = 427, [9] = 429, [10] = 430, [11] = 431, effect = 196}, --- Hinata ---- [41] = {[1] = 24, [2] = 24, [3] = 318, [4] = 319, [5] = 370, [6] = 370, [7] = 377, [8] = 378, [9] = 380, [10] = 321, [11] = 381, effect = 169}, [42] = {[1] = 24, [2] = 24, [3] = 318, [4] = 319, [5] = 370, [6] = 370, [7] = 377, [8] = 378, [9] = 380, [10] = 321, [11] = 381, effect = 169}, [43] = {[1] = 24, [2] = 24, [3] = 318, [4] = 319, [5] = 370, [6] = 370, [7] = 377, [8] = 378, [9] = 380, [10] = 321, [11] = 381, effect = 169}, --- Tenten ---- [46] = {[1] = 308, [2] = 308, [3] = 309, [4] = 310, [5] = 311, [6] = 312, [7] = 313, [8] = 314, [9] = 364, [10] = 315, [11] = 316, effect = 28}, [47] = {[1] = 308, [2] = 308, [3] = 309, [4] = 310, [5] = 311, [6] = 312, [7] = 313, [8] = 314, [9] = 364, [10] = 315, [11] = 316, effect = 28}, [48] = {[1] = 308, [2] = 308, [3] = 309, [4] = 310, [5] = 311, [6] = 312, [7] = 313, [8] = 314, [9] = 364, [10] = 315, [11] = 316, effect = 28}, --- Itachi ---- [51] = {[1] = 96, [2] = 97, [3] = 284, [4] = 98, [5] = 99, [6] = 282, [7] = 283, [8] = 297, [9] = 369, [10] = 322, [11] = 830, effect = 163}, [52] = {[1] = 96, [2] = 97, [3] = 284, [4] = 98, [5] = 99, [6] = 282, [7] = 283, [8] = 297, [9] = 369, [10] = 322, [11] = 830, effect = 163}, [53] = {[1] = 96, [2] = 97, [3] = 284, [4] = 98, [5] = 99, [6] = 282, [7] = 283, [8] = 297, [9] = 369, [10] = 322, [11] = 830, effect = 163}, --- Killer Bee ---- [56] = {[1] = 714, [2] = 714, [3] = 732, [4] = 733, [5] = 734, [6] = 735, [7] = 737, [8] = 738, [9] = 739, [10] = 740, [11] = 741, effect = 13}, [57] = {[1] = 714, [2] = 714, [3] = 732, [4] = 733, [5] = 734, [6] = 735, [7] = 737, [8] = 738, [9] = 739, [10] = 740, [11] = 741, effect = 13}, [58] = {[1] = 714, [2] = 714, [3] = 732, [4] = 733, [5] = 734, [6] = 735, [7] = 737, [8] = 738, [9] = 739, [10] = 740, [11] = 741, effect = 13}, --- Kakashi ---- [61] = {[1] = 9, [2] = 12, [3] = 12, [4] = 11, [5] = 289, [6] = 10, [7] = 13, [8] = 14, [9] = 288, [10] = 287, [11] = 299, effect = 28}, [62] = {[1] = 9, [2] = 12, [3] = 12, [4] = 11, [5] = 289, [6] = 10, [7] = 13, [8] = 14, [9] = 288, [10] = 287, [11] = 299, effect = 28}, [63] = {[1] = 9, [2] = 12, [3] = 12, [4] = 11, [5] = 289, [6] = 10, [7] = 13, [8] = 14, [9] = 288, [10] = 287, [11] = 299, effect = 28}, --- Kankuro ---- [66] = {[1] = 619, [2] = 619, [3] = 620, [4] = 621, [5] = 622, [6] = 623, [7] = 624, [8] = 662, [9] = 663, [10] = 549, [11] = 548, effect = 27}, [67] = {[1] = 619, [2] = 619, [3] = 620, [4] = 621, [5] = 622, [6] = 623, [7] = 624, [8] = 662, [9] = 663, [10] = 549, [11] = 548, effect = 27}, [68] = {[1] = 619, [2] = 619, [3] = 620, [4] = 621, [5] = 622, [6] = 623, [7] = 624, [8] = 662, [9] = 663, [10] = 549, [11] = 548, effect = 27}, --- Chouji ---- [71] = {[1] = 1218, [2] = 440, [3] = 441, [4] = 1219, [5] = 1220, [6] = 1221, [7] = 1222, [8] = 1222, [9] = 1223, [10] = 1225, [11] = 1224, effect = 12}, [72] = {[1] = 1218, [2] = 440, [3] = 441, [4] = 1219, [5] = 1220, [6] = 1221, [7] = 1222, [8] = 1222, [9] = 1223, [10] = 1225, [11] = 1224, effect = 12}, [73] = {[1] = 1218, [2] = 440, [3] = 441, [4] = 1219, [5] = 1220, [6] = 1221, [7] = 1222, [8] = 1222, [9] = 1223, [10] = 1225, [11] = 1224, effect = 12}, --- Hidan ---- [76] = {[1] = 528, [2] = 528, [3] = 538, [4] = 539, [5] = 541, [6] = 547, [7] = 540, [8] = 550, [9] = 567, [10] = 569, [11] = 570, effect = 12}, [77] = {[1] = 528, [2] = 528, [3] = 538, [4] = 539, [5] = 541, [6] = 547, [7] = 540, [8] = 550, [9] = 567, [10] = 569, [11] = 570, effect = 12}, [78] = {[1] = 528, [2] = 528, [3] = 538, [4] = 539, [5] = 541, [6] = 547, [7] = 540, [8] = 550, [9] = 567, [10] = 569, [11] = 570, effect = 12}, --- Sai ---- [81] = {[1] = 453, [2] = 453, [3] = 454, [4] = 469, [5] = 455, [6] = 456, [7] = 470, [8] = 457, [9] = 458, [10] = 459, [11] = 449, effect = 245}, [82] = {[1] = 453, [2] = 453, [3] = 454, [4] = 469, [5] = 455, [6] = 456, [7] = 470, [8] = 457, [9] = 458, [10] = 459, [11] = 449, effect = 245}, [83] = {[1] = 453, [2] = 453, [3] = 454, [4] = 469, [5] = 455, [6] = 456, [7] = 470, [8] = 457, [9] = 458, [10] = 459, [11] = 449, effect = 245}, --- Shino ---- [86] = {[1] = 416, [2] = 421, [3] = 422, [4] = 417, [5] = 439, [6] = 418, [7] = 523, [8] = 419, [9] = 957, [10] = 958, [11] = 959, effect = 68}, [87] = {[1] = 416, [2] = 421, [3] = 422, [4] = 417, [5] = 439, [6] = 418, [7] = 523, [8] = 419, [9] = 957, [10] = 958, [11] = 959, effect = 68}, [88] = {[1] = 416, [2] = 421, [3] = 422, [4] = 417, [5] = 439, [6] = 418, [7] = 523, [8] = 419, [9] = 957, [10] = 958, [11] = 959, effect = 68}, --- Kabuto ---- [91] = {[1] = 801, [2] = 802, [3] = 803, [4] = 804, [5] = 805, [6] = 806, [7] = 810, [8] = 811, [9] = 812, [10] = 813, [11] = 814, effect = 27}, [92] = {[1] = 801, [2] = 802, [3] = 803, [4] = 804, [5] = 805, [6] = 806, [7] = 810, [8] = 811, [9] = 812, [10] = 813, [11] = 814, effect = 27}, [93] = {[1] = 801, [2] = 802, [3] = 803, [4] = 804, [5] = 805, [6] = 806, [7] = 810, [8] = 811, [9] = 812, [10] = 813, [11] = 814, effect = 27}, --- Obito ---- [96] = {[1] = 1228, [2] = 1229, [3] = 1230, [4] = 1231, [5] = 1232, [6] = 1233, [7] = 1234, [8] = 1235, [9] = 1258, [10] = 1236, [11] = 1217, effect = 227}, [97] = {[1] = 1228, [2] = 1229, [3] = 1230, [4] = 1231, [5] = 1232, [6] = 1233, [7] = 1234, [8] = 1235, [9] = 1258, [10] = 1236, [11] = 1217, effect = 227}, [98] = {[1] = 1228, [2] = 1229, [3] = 1230, [4] = 1231, [5] = 1232, [6] = 1233, [7] = 1234, [8] = 1235, [9] = 1258, [10] = 1236, [11] = 1217, effect = 227}, --- Kakuzo ---- [101] = {[1] = 606, [2] = 608, [3] = 613, [4] = 614, [5] = 634, [6] = 642, [7] = 643, [8] = 652, [9] = 764, [10] = 1227, [11] = 1226, effect = 21}, [102] = {[1] = 606, [2] = 608, [3] = 613, [4] = 614, [5] = 634, [6] = 642, [7] = 643, [8] = 652, [9] = 764, [10] = 1227, [11] = 1226, effect = 21}, [103] = {[1] = 606, [2] = 608, [3] = 613, [4] = 614, [5] = 634, [6] = 642, [7] = 643, [8] = 652, [9] = 764, [10] = 1227, [11] = 1226, effect = 21}, --- Deidara ---- [106] = {[1] = 774, [2] = 775, [3] = 776, [4] = 777, [5] = 780, [6] = 672, [7] = 785, [8] = 778, [9] = 772, [10] = 784, [11] = 779, effect = 12}, [107] = {[1] = 774, [2] = 775, [3] = 776, [4] = 777, [5] = 780, [6] = 672, [7] = 785, [8] = 778, [9] = 772, [10] = 784, [11] = 779, effect = 12}, [108] = {[1] = 774, [2] = 775, [3] = 776, [4] = 777, [5] = 780, [6] = 672, [7] = 785, [8] = 778, [9] = 772, [10] = 784, [11] = 779, effect = 12}, --- Ino ---- [111] = {[1] = 630, [2] = 631, [3] = 632, [4] = 633, [5] = 629, [6] = 627, [7] = 533, [8] = 670, [9] = 532, [10] = 534, [11] = 667, effect = 13}, [112] = {[1] = 630, [2] = 631, [3] = 632, [4] = 633, [5] = 629, [6] = 627, [7] = 533, [8] = 670, [9] = 532, [10] = 534, [11] = 667, effect = 13}, [113] = {[1] = 630, [2] = 631, [3] = 632, [4] = 633, [5] = 629, [6] = 627, [7] = 533, [8] = 670, [9] = 532, [10] = 534, [11] = 667, effect = 13}, --- Shisui ---- [116] = {[1] = 1246, [2] = 1248, [3] = 1249, [4] = 1250, [5] = 1251, [6] = 1252, [7] = 1253, [8] = 1254, [9] = 1255, [10] = 1256, [11] = 1257, effect = 13}, [117] = {[1] = 1246, [2] = 1248, [3] = 1249, [4] = 1250, [5] = 1251, [6] = 1252, [7] = 1253, [8] = 1254, [9] = 1255, [10] = 1256, [11] = 1257, effect = 13}, [118] = {[1] = 1246, [2] = 1248, [3] = 1249, [4] = 1250, [5] = 1251, [6] = 1252, [7] = 1253, [8] = 1254, [9] = 1255, [10] = 1256, [11] = 1257, effect = 13}, --- Kisame ---- [121] = {[1] = 687, [2] = 688, [3] = 551, [4] = 611, [5] = 552, [6] = 553, [7] = 554, [8] = 555, [9] = 556, [10] = 557, [11] = 558, effect = 27}, [122] = {[1] = 687, [2] = 688, [3] = 551, [4] = 611, [5] = 552, [6] = 553, [7] = 554, [8] = 555, [9] = 556, [10] = 557, [11] = 558, effect = 27}, [123] = {[1] = 687, [2] = 688, [3] = 551, [4] = 611, [5] = 552, [6] = 553, [7] = 554, [8] = 555, [9] = 556, [10] = 557, [11] = 558, effect = 27}, --- Orochimaru ---- [126] = {[1] = 19, [2] = 213, [3] = 340, [4] = 344, [5] = 354, [6] = 360, [7] = 361, [8] = 574, [9] = 575, [10] = 576, [11] = 577, effect = 27}, [127] = {[1] = 19, [2] = 213, [3] = 340, [4] = 344, [5] = 354, [6] = 360, [7] = 361, [8] = 574, [9] = 575, [10] = 576, [11] = 577, effect = 27}, [128] = {[1] = 19, [2] = 213, [3] = 340, [4] = 344, [5] = 354, [6] = 360, [7] = 361, [8] = 574, [9] = 575, [10] = 576, [11] = 577, effect = 27}, --- Konan ---- [131] = {[1] = 838, [2] = 840, [3] = 841, [4] = 1237, [5] = 1238, [6] = 1239, [7] = 1240, [8] = 1241, [9] = 1242, [10] = 1243, [11] = 1244, effect = 200}, [132] = {[1] = 838, [2] = 840, [3] = 841, [4] = 1237, [5] = 1238, [6] = 1239, [7] = 1240, [8] = 1241, [9] = 1242, [10] = 1243, [11] = 1244, effect = 200}, [133] = {[1] = 838, [2] = 840, [3] = 841, [4] = 1237, [5] = 1238, [6] = 1239, [7] = 1240, [8] = 1241, [9] = 1242, [10] = 1243, [11] = 1244, effect = 200}, --- Nagato ---- [136] = {[1] = 853, [2] = 854, [3] = 856, [4] = 857, [5] = 858, [6] = 859, [7] = 861, [8] = 862, [9] = 863, [10] = 864, [11] = 865, effect = 68}, [137] = {[1] = 853, [2] = 854, [3] = 856, [4] = 857, [5] = 858, [6] = 859, [7] = 861, [8] = 862, [9] = 863, [10] = 864, [11] = 865, effect = 68}, [138] = {[1] = 853, [2] = 854, [3] = 856, [4] = 857, [5] = 858, [6] = 859, [7] = 861, [8] = 862, [9] = 863, [10] = 864, [11] = 865, effect = 68}, --- Yamato ---- [141] = {[1] = 463, [2] = 464, [3] = 464, [4] = 468, [5] = 468, [6] = 519, [7] = 462, [8] = 465, [9] = 466, [10] = 466, [11] = 467, effect = 27}, [142] = {[1] = 463, [2] = 464, [3] = 464, [4] = 468, [5] = 468, [6] = 519, [7] = 462, [8] = 465, [9] = 466, [10] = 466, [11] = 467, effect = 27}, [143] = {[1] = 463, [2] = 464, [3] = 464, [4] = 468, [5] = 468, [6] = 519, [7] = 462, [8] = 465, [9] = 466, [10] = 466, [11] = 467, effect = 27}, --- Temari ---- [146] = {[1] = 578, [2] = 578, [3] = 579, [4] = 579, [5] = 580, [6] = 581, [7] = 582, [8] = 583, [9] = 673, [10] = 584, [11] = 585, effect = 13}, [144] = {[1] = 578, [2] = 578, [3] = 579, [4] = 579, [5] = 580, [6] = 581, [7] = 582, [8] = 583, [9] = 673, [10] = 584, [11] = 585, effect = 13}, [145] = {[1] = 578, [2] = 578, [3] = 579, [4] = 579, [5] = 580, [6] = 581, [7] = 582, [8] = 583, [9] = 673, [10] = 584, [11] = 585, effect = 13}, --- Suigetsu ---- [151] = {[1] = 1362, [2] = 1363, [3] = 1364, [4] = 1366, [5] = 1367, [6] = 1368, [7] = 1370, [8] = 1371, [9] = 1372, [10] = 1373, [11] = 1374, effect = 6}, [152] = {[1] = 1362, [2] = 1363, [3] = 1364, [4] = 1366, [5] = 1367, [6] = 1368, [7] = 1370, [8] = 1371, [9] = 1372, [10] = 1373, [11] = 1374, effect = 6}, [153] = {[1] = 1362, [2] = 1363, [3] = 1364, [4] = 1366, [5] = 1367, [6] = 1368, [7] = 1370, [8] = 1371, [9] = 1372, [10] = 1373, [11] = 1374, effect = 6}, --- Kimimaro ---- [156] = {[1] = 1048, [2] = 1049, [3] = 1050, [4] = 1051, [5] = 1052, [6] = 1053, [7] = 1054, [8] = 1055, [9] = 1056, [10] = 1057, [11] = 1064, effect = 27}, [157] = {[1] = 1048, [2] = 1049, [3] = 1050, [4] = 1051, [5] = 1052, [6] = 1053, [7] = 1054, [8] = 1055, [9] = 1056, [10] = 1057, [11] = 1064, effect = 27}, [158] = {[1] = 1048, [2] = 1049, [3] = 1050, [4] = 1051, [5] = 1052, [6] = 1053, [7] = 1054, [8] = 1055, [9] = 1056, [10] = 1057, [11] = 1064, effect = 27}, --- Vocs Vips ---- --- Minato ---- [161] = {[1] = 559, [2] = 560, [3] = 564, [4] = 561, [5] = 596, [6] = 565, [7] = 563, [8] = 562, [9] = 709, [10] = 710, [11] = 708, effect = 227}, [162] = {[1] = 559, [2] = 560, [3] = 564, [4] = 561, [5] = 596, [6] = 565, [7] = 563, [8] = 562, [9] = 709, [10] = 710, [11] = 708, effect = 227}, [163] = {[1] = 559, [2] = 560, [3] = 564, [4] = 561, [5] = 596, [6] = 565, [7] = 563, [8] = 562, [9] = 709, [10] = 710, [11] = 708, effect = 227}, --- Madara ---- [166] = {[1] = 476, [2] = 477, [3] = 478, [4] = 479, [5] = 480, [6] = 481, [7] = 482, [8] = 483, [9] = 484, [10] = 485, [11] = 486, effect = 27}, [167] = {[1] = 476, [2] = 477, [3] = 478, [4] = 479, [5] = 480, [6] = 481, [7] = 482, [8] = 483, [9] = 484, [10] = 485, [11] = 486, effect = 27}, [168] = {[1] = 476, [2] = 477, [3] = 478, [4] = 479, [5] = 480, [6] = 481, [7] = 482, [8] = 483, [9] = 484, [10] = 485, [11] = 486, effect = 27}, --- Tobirama ---- [171] = {[1] = 635, [2] = 230, [3] = 231, [4] = 232, [5] = 790, [6] = 791, [7] = 792, [8] = 649, [9] = 793, [10] = 794, [11] = 795, effect = 6}, [172] = {[1] = 635, [2] = 230, [3] = 231, [4] = 232, [5] = 790, [6] = 791, [7] = 792, [8] = 649, [9] = 793, [10] = 794, [11] = 795, effect = 6}, [173] = {[1] = 635, [2] = 230, [3] = 231, [4] = 232, [5] = 790, [6] = 791, [7] = 792, [8] = 649, [9] = 793, [10] = 794, [11] = 795, effect = 6}, --- Hashirama ---- [181] = {[1] = 750, [2] = 751, [3] = 753, [4] = 754, [5] = 755, [6] = 756, [7] = 757, [8] = 758, [9] = 759, [10] = 760, [11] = 761, effect = 28}, [182] = {[1] = 750, [2] = 751, [3] = 753, [4] = 754, [5] = 755, [6] = 756, [7] = 757, [8] = 758, [9] = 759, [10] = 760, [11] = 761, effect = 28}, [183] = {[1] = 750, [2] = 751, [3] = 753, [4] = 754, [5] = 755, [6] = 756, [7] = 757, [8] = 758, [9] = 759, [10] = 760, [11] = 761, effect = 28}, --- Jiraiya ---- [186] = {[1] = 815, [2] = 817, [3] = 819, [4] = 820, [5] = 821, [6] = 823, [7] = 822, [8] = 824, [9] = 825, [10] = 826, [11] = 827, effect = 54}, [187] = {[1] = 815, [2] = 817, [3] = 819, [4] = 820, [5] = 821, [6] = 823, [7] = 822, [8] = 824, [9] = 825, [10] = 826, [11] = 827, effect = 54}, [188] = {[1] = 815, [2] = 817, [3] = 819, [4] = 820, [5] = 821, [6] = 823, [7] = 822, [8] = 824, [9] = 825, [10] = 826, [11] = 827, effect = 54}, --- Tsunade ---- [191] = {[1] = 587, [2] = 586, [3] = 588, [4] = 589, [5] = 590, [6] = 591, [7] = 592, [8] = 593, [9] = 594, [10] = 595, [11] = 1147, effect = 5}, [192] = {[1] = 587, [2] = 586, [3] = 588, [4] = 589, [5] = 590, [6] = 591, [7] = 592, [8] = 593, [9] = 594, [10] = 595, [11] = 1147, effect = 5}, [193] = {[1] = 587, [2] = 586, [3] = 588, [4] = 589, [5] = 590, [6] = 591, [7] = 592, [8] = 593, [9] = 594, [10] = 595, [11] = 1147, effect = 5}, --- Sasori ---- [196] = {[1] = 1149, [2] = 1151, [3] = 1153, [4] = 1154, [5] = 1155, [6] = 1156, [7] = 1157, [8] = 1158, [9] = 1162, [10] = 1163, [11] = 1164, effect = 28}, [197] = {[1] = 1149, [2] = 1151, [3] = 1153, [4] = 1154, [5] = 1155, [6] = 1156, [7] = 1157, [8] = 1158, [9] = 1162, [10] = 1163, [11] = 1164, effect = 28}, [198] = {[1] = 1149, [2] = 1151, [3] = 1153, [4] = 1154, [5] = 1155, [6] = 1156, [7] = 1157, [8] = 1158, [9] = 1162, [10] = 1163, [11] = 1164, effect = 28}, --- Guy ---- [201] = {[1] = 1302, [2] = 1302, [3] = 1303, [4] = 1303, [5] = 1304, [6] = 1304, [7] = 1305, [8] = 1306, [9] = 1306, [10] = 1307, [11] = 1308, effect = 7}, [202] = {[1] = 1302, [2] = 1302, [3] = 1303, [4] = 1303, [5] = 1304, [6] = 1304, [7] = 1305, [8] = 1306, [9] = 1306, [10] = 1307, [11] = 1308, effect = 7}, [203] = {[1] = 1302, [2] = 1302, [3] = 1303, [4] = 1303, [5] = 1304, [6] = 1304, [7] = 1305, [8] = 1306, [9] = 1306, [10] = 1307, [11] = 1308, effect = 7}, --- Guren ---- [206] = {[1] = 1335, [2] = 1335, [3] = 1336, [4] = 1336, [5] = 1337, [6] = 1337, [7] = 1338, [8] = 1338, [9] = 1339, [10] = 1339, [11] = 1340, effect = 316}, [207] = {[1] = 1335, [2] = 1335, [3] = 1336, [4] = 1336, [5] = 1337, [6] = 1337, [7] = 1338, [8] = 1338, [9] = 1339, [10] = 1339, [11] = 1340, effect = 316}, [208] = {[1] = 1335, [2] = 1335, [3] = 1336, [4] = 1336, [5] = 1337, [6] = 1337, [7] = 1338, [8] = 1338, [9] = 1339, [10] = 1339, [11] = 1340, effect = 316}, --- Hiruzen ---- [211] = {[1] = 1271, [2] = 1273, [3] = 1274, [4] = 1276, [5] = 1277, [6] = 1278, [7] = 1279, [8] = 1281, [9] = 1282, [10] = 1283, [11] = 1284, effect = 68}, [212] = {[1] = 1271, [2] = 1273, [3] = 1274, [4] = 1276, [5] = 1277, [6] = 1278, [7] = 1279, [8] = 1281, [9] = 1282, [10] = 1283, [11] = 1284, effect = 68}, [213] = {[1] = 1271, [2] = 1273, [3] = 1274, [4] = 1276, [5] = 1277, [6] = 1278, [7] = 1279, [8] = 1281, [9] = 1282, [10] = 1283, [11] = 1284, effect = 68}, --- Darui ---- [216] = {[1] = 1386, [2] = 1401, [3] = 1387, [4] = 1388, [5] = 1389, [6] = 1390, [7] = 1391, [8] = 1392, [9] = 1393, [10] = 1394, [11] = 1395, effect = 3}, [217] = {[1] = 1386, [2] = 1401, [3] = 1387, [4] = 1388, [5] = 1389, [6] = 1390, [7] = 1391, [8] = 1392, [9] = 1393, [10] = 1394, [11] = 1395, effect = 3}, [218] = {[1] = 1386, [2] = 1401, [3] = 1387, [4] = 1388, [5] = 1389, [6] = 1390, [7] = 1391, [8] = 1392, [9] = 1393, [10] = 1394, [11] = 1395, effect = 3}, --- Anbu ---- [221] = {[1] = 1171, [2] = 1171, [3] = 147, [4] = 1466, [5] = 1467, [6] = 148, [7] = 163, [8] = 1173, [9] = 273, [10] = 1174, [11] = 1175, effect = 12}, [222] = {[1] = 1171, [2] = 1171, [3] = 147, [4] = 1466, [5] = 1467, [6] = 148, [7] = 163, [8] = 1173, [9] = 273, [10] = 1174, [11] = 1175, effect = 12}, [223] = {[1] = 1171, [2] = 1171, [3] = 147, [4] = 1466, [5] = 1467, [6] = 148, [7] = 163, [8] = 1173, [9] = 273, [10] = 1174, [11] = 1175, effect = 12}, --- Raikage ---- [226] = {[1] = 1180, [2] = 1181, [3] = 1182, [4] = 1183, [5] = 1184, [6] = 1185, [7] = 1186, [8] = 1187, [9] = 1188, [10] = 1189, [11] = 1190, effect = 101}, [227] = {[1] = 1180, [2] = 1181, [3] = 1182, [4] = 1183, [5] = 1184, [6] = 1185, [7] = 1186, [8] = 1187, [9] = 1188, [10] = 1189, [11] = 1190, effect = 101}, [228] = {[1] = 1180, [2] = 1181, [3] = 1182, [4] = 1183, [5] = 1184, [6] = 1185, [7] = 1186, [8] = 1187, [9] = 1188, [10] = 1189, [11] = 1190, effect = 101}, --- Haku ---- [231] = {[1] = 1417, [2] = 1418, [3] = 1419, [4] = 1421, [5] = 1422, [6] = 1423, [7] = 1424, [8] = 1425, [9] = 1426, [10] = 1427, [11] = 1428, effect = 391}, [232] = {[1] = 1417, [2] = 1418, [3] = 1419, [4] = 1421, [5] = 1422, [6] = 1423, [7] = 1424, [8] = 1425, [9] = 1426, [10] = 1427, [11] = 1428, effect = 391}, [233] = {[1] = 1417, [2] = 1418, [3] = 1419, [4] = 1421, [5] = 1422, [6] = 1423, [7] = 1424, [8] = 1425, [9] = 1426, [10] = 1427, [11] = 1428, effect = 391}, --- Jugo ---- [241] = {[1] = 1404, [2] = 1405, [3] = 1406, [4] = 1407, [5] = 1408, [6] = 1409, [7] = 1410, [8] = 1411, [9] = 1412, [10] = 1413, [11] = 1414, effect = 17}, [242] = {[1] = 1404, [2] = 1405, [3] = 1406, [4] = 1407, [5] = 1408, [6] = 1409, [7] = 1410, [8] = 1411, [9] = 1412, [10] = 1413, [11] = 1414, effect = 17}, [243] = {[1] = 1404, [2] = 1405, [3] = 1406, [4] = 1407, [5] = 1408, [6] = 1409, [7] = 1410, [8] = 1411, [9] = 1412, [10] = 1413, [11] = 1414, effect = 17}, --- Danzo ---- [251] = {[1] = 1524, [2] = 1525, [3] = 1526, [4] = 1527, [5] = 1528, [6] = 1529, [7] = 1530, [8] = 1531, [9] = 1532, [10] = 1533, [11] = 1534, effect = 27}, [252] = {[1] = 1524, [2] = 1525, [3] = 1526, [4] = 1527, [5] = 1528, [6] = 1529, [7] = 1530, [8] = 1531, [9] = 1532, [10] = 1533, [11] = 1534, effect = 27}, [253] = {[1] = 1524, [2] = 1525, [3] = 1526, [4] = 1527, [5] = 1528, [6] = 1529, [7] = 1530, [8] = 1531, [9] = 1532, [10] = 1533, [11] = 1534, effect = 27}, --- Tsuchikage ---- [256] = {[1] = 1124, [2] = 1125, [3] = 1126, [4] = 1127, [5] = 1128, [6] = 1129, [7] = 1130, [8] = 1131, [9] = 1132, [10] = 1133, [11] = 1134, effect = 454}, [257] = {[1] = 1124, [2] = 1125, [3] = 1126, [4] = 1127, [5] = 1128, [6] = 1129, [7] = 1130, [8] = 1131, [9] = 1132, [10] = 1133, [11] = 1134, effect = 454}, [258] = {[1] = 1124, [2] = 1125, [3] = 1126, [4] = 1127, [5] = 1128, [6] = 1129, [7] = 1130, [8] = 1131, [9] = 1132, [10] = 1133, [11] = 1134, effect = 454}, --- Asuma ---- [260] = {[1] = 1538, [2] = 1539, [3] = 1540, [4] = 1541, [5] = 1542, [6] = 1543, [7] = 1544, [8] = 1545, [9] = 1546, [10] = 1547, [11] = 1548, effect = 400}, [261] = {[1] = 1538, [2] = 1539, [3] = 1540, [4] = 1541, [5] = 1542, [6] = 1543, [7] = 1544, [8] = 1545, [9] = 1546, [10] = 1547, [11] = 1548, effect = 400}, [262] = {[1] = 1538, [2] = 1539, [3] = 1540, [4] = 1541, [5] = 1542, [6] = 1543, [7] = 1544, [8] = 1545, [9] = 1546, [10] = 1547, [11] = 1548, effect = 400}, --- Yagura ---- [270] = {[1] = 1552, [2] = 1553, [3] = 1554, [4] = 1555, [5] = 1556, [6] = 1557, [7] = 1563, [8] = 1565, [9] = 1558, [10] = 1559, [11] = 1561, effect = 477}, [271] = {[1] = 1552, [2] = 1553, [3] = 1554, [4] = 1555, [5] = 1556, [6] = 1557, [7] = 1563, [8] = 1565, [9] = 1558, [10] = 1559, [11] = 1561, effect = 477}, [272] = {[1] = 1552, [2] = 1553, [3] = 1554, [4] = 1555, [5] = 1556, [6] = 1557, [7] = 1563, [8] = 1565, [9] = 1558, [10] = 1559, [11] = 1561, effect = 477} } local level = 50 -- Limite para liberar uma saga nova function onSay(player, words, param) if param == '' then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Digite o número da saga que você deseja.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end local sagaVocation = saga[getPlayerVocation(cid)] if not sagaVocation then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Você não pode trocar de saga.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end local word = param:splitTrimmed(",") if word[2] then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Não pude entender.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end local sagaNumber = tonumber(word[1]) if not sagaNumber then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Digite o número da saga que você deseja.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end if sagaNumber > #sagaVocation or sagaNumber < 1 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Essa saga não existe.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end if BlockRunesInArea(cid) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Você não pode mudar de Saga dentro do evento.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end local sagaLevel = sagaNumber * level if player:getLevel() >= sagaLevel then local condition = Condition(CONDITION_OUTFIT) condition:setOutfit({lookType = sagaVocation[sagaNumber]}) condition:setTicks(-1) player:addCondition(condition) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Você escolheu uma nova saga!") player:getPosition():sendMagicEffect(sagaVocation.effect) player:say("Saga!", TALKTYPE_ORANGE_1) else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, "Desculpe, você precisa de level ".. sagaLevel .." usar essa saga.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return false end return true end
  18. Qual a versão do TFS/OTX? Explique melhor o que quer ... você coloca um ring ID x no "ring slot" e o ring ID x muda o ID para y?
  19. O problema esta na função acima, pq ele mostra a spell apenas como uma "palavra" e não aciona ela em si. Com essa função que tem na otland e algumas alterações é possível fazer o que você .... https://otland.net/threads/doplayercastspell-cid-spell.80043/

Informação Importante

Confirmação de Termo