Ir para conteúdo
  • Cadastre-se

MaTTch

Membro
  • Total de itens

    510
  • Registro em

  • Última visita

  • Dias Ganhos

    12

Tudo que MaTTch postou

  1. local thecombat = createCombatObject() local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FLASHARROW) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 1000) setConditionFormula(condition, -0.4, 0, -0.4, 0) setCombatCondition(combat, condition) local arr = { {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 3, 0, 0, 0} } local area = createCombatArea(arr) setComba
  2. local time = 3 -- tempo em segundos que vai ficar imovel local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, time*1000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) local function doSpell(cid, target, va
  3. local vocations = { --[id da vocation] = {lookType = newtype} [1] = {lookType = 2}, [2] = {lookType = 3}, [3] = {lookType = 4}, [4] = {lookType = 5}, } local AID = 1000 -- actionid do tile local function AddMana(cid) if not isPlayer(cid) then return true end if getTileInfo(getThingPos(cid)).actionid == AID then if getPlayerLevel(cid) >= 1 and getPlayerLevel(cid) < 50 then doCreatureAddMana(cid, 500) doSendMagicEffect(getThingPos(cid), 12) elseif getPlayerLevel(cid) >= 50 and getPlayerLevel(cid) < 100 then doCreatureAddMana(cid, 1000) doSendMagicEffect(getTh
  4. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 3) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1500.25, 6, -56.30, 6) function onCastSpell(cid, var) local cpos = {x=getThingPos(cid).x+1, y=getThingPos(cid).y+1, z=getThingPos(cid).z} local tpos = {x=getThingPos(getCreatureTarget(cid)).x+3, y=getThingPos(getCreatureTarget(cid)).y, z=getThingPos(getCreatureTarget(cid)).z} doSendMagicEffect(cpos, 00) addEvent(doCombat, 200, cid, combat, var) addEvent(doSendMagicEffect, 200, tpos
  5. Não sei se era isso mas... ai vai: local time = 5 -- tempo que vai durar as paredes function onCastSpell(cid, var) local cpos = getThingPos(cid) local dir = { {1026, {x=cpos.x, y=cpos.y-1, z=cpos.z}}, -- North (cima) {1026, {x=cpos.x, y=cpos.y+1, z=cpos.z}}, -- South (baixo) {1025, {x=cpos.x-1, y=cpos.y, z=cpos.z}}, -- West (esquerda) {1025, {x=cpos.x+1, y=cpos.y, z=cpos.z}} -- East (direita) } for _, info in ipairs(dir) do if not getTileInfo(info[2]).house and not getTilePzInfo(info[2]) then doCreateItem(info[1], 1, info[2]) addEvent(function() if getTileItemById(i
  6. local tempo = 60 -- tempo em segundos. local effect = {229} -- effect no player, caso queira apenas 1, basta remover os outros numeros. local ml = 50 -- quantos ira aumentar o skill de ML local skillfist = 50 -- quantos ira aumentar o skill de Fist local skillsword = 50 -- quantos ira aumentar o skill de Sword local skillaxe = 50 -- quantos ira aumentar o skill de Axe local skillclub = 50 -- quantos ira aumentar o skill de Club local skilldistance = 50 -- quantos ira aumentar o skill de Distance local skillshield = 50 -- quantos ira aumentar o skill de Shield local health = 100 -- A cada
  7. Em server de narutibia geralmente fica na pasta talkactions nos arquivos chamados transformar.lua e reverter.lua.
  8. <instant name="Nome da spell" words="Palavra para soltar" aggressive="0" prem="0" lvl="Level" mana="0" exhaustion="1000" event="script" value="Nome do arquivo.lua"> <vocation id="0"/> -- ID da vocação que ira usar </instant>
  9. local function isWalkable(pos, creature, proj, pz)-- by Nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and pz then return false end local n = not proj and 2 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return true end local area = { {1,1,1}
  10. Cara eu tenho a copia do server, mas se o download dele foi removido foi por um bom motivo, então não vou te passar por respeitar isso e também creio que ninguém que tenha ira te passar.
  11. local time = 5 -- tempo que vai durar as paredes function onCastSpell(cid, var) local cpos = getThingPos(cid) local dir = { [0] = {1026, from = {x=cpos.x-1, y=cpos.y-1, z=cpos.z}, to = {x=cpos.x+1, y=cpos.y-1, z=cpos.z}}, -- North (cima) [1] = {1025, from = {x=cpos.x+1, y=cpos.y-1, z=cpos.z}, to = {x=cpos.x+1, y=cpos.y+1, z=cpos.z}}, -- East (direita) [2] = {1026, from = {x=cpos.x-1, y=cpos.y+1, z=cpos.z}, to = {x=cpos.x+1, y=cpos.y+1, z=cpos.z}}, -- South (baixo) [3] = {1025, from = {x=cpos.x-1, y=cpos.y-1, z=cpos.z}, to = {x=cpos.x-1, y=cpos.y+1, z=cpos.z}}, -- West (esquerda) }
  12. O mapa ta meio deficiente nos detalhes... E sinceramente não acho mais que Tibia ta virando alguma coisa não.. (Minha opinião)
  13. Converta o script do NPC para ANSI com o notepad ou outro programa da sua preferencia.
  14. Primeiramente vá no seu config.lua e adicione isso embaixo do ProtectionLevel: protectionLevelInScript = 100 -- até que level ira proteger Agora vá em creaturescripts e crie um arquivo.LUA e cole isso dentro: function onCombat(cid, target) if not isPlayer(target) then return true end if getTileInfo(getThingPos(cid)).pvp then return true end local protect = getConfigInfo('protectionLevelInScript') if getPlayerLevel(cid) <= protect or getPlayerLevel(target) <= protect then doPlayerSendCancel(cid, "You may not attack this player.") return false end return true end Adicione a
  15. local function isSummon(cid) return cid ~= getCreatureMaster(cid) or false end local bosses = {"hydra boss"} -- caso for mais de 1 boss, adicione a virgula function onKill(cid, target) if isMonster(target) and not isSummon(target) then for i = 1, #bosses do if getCreatureName(target):lower() == bosses[i]:lower() then return doBroadcastMessage("O jogador "..getCreatureName(cid).." acaba de matar o monstro \""..getCreatureName(target).."\" !", MESSAGE_EVENT_ADVANCE) end end end return true end Você vai ter que registrar no onLogin, e não se esqueça de colocar a Tag.
  16. Você tem 2 opções: 1 - Arrumar por sources. 2 - Deixar o ProtectionLevel 0 e fazer proteger por level por script no creaturescripts.
  17. Esse manja. Acompanhando...
  18. Sim, só não foi falado quais os domínios removidos.
  19. "disainer" ... Bom.. Eu parei de jogar Tibia, então não jogaria.
  20. Não informaram ainda quais foram os domínios removidos.
  21. Alguns domínios foram removidos do no-ip.com pelo tribunal federal seguido pela microsoft. Fonte: link
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo