Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Este tópico foi movido para a área correta. Esta é uma mensagem automática!
Pedimos que leia as regras do fórum!

Spoiler

This topic has been moved to the correct area. This is an automated message!
Please read the forum rules.

 

Link para o post
Compartilhar em outros sites
7 horas atrás, Wakon disse:

Este tópico foi movido para a área correta. Esta é uma mensagem automática!
Pedimos que leia as regras do fórum!

  Mostrar conteúdo oculto

This topic has been moved to the correct area. This is an automated message!
Please read the forum rules.

 

A area antes estava correta, pois eu estou pedindo SPELLS.

 

Link para o post
Compartilhar em outros sites
  • 4 months later...

data/spell/spell.xml   tag

 

                  <!-- obito -->

 

<instant name="katon bakufu ranbu" words="katon bakufu ranbu" lvl="200" mana="9500" aggressive="1" needtarget="1" range="5" exhaustion="1500" needlearn="0" blockwalls="1" event="script" value="obito/spell 200.lua">
<vocation id="170"/>
</instant>

 

<instant name="tsukuyomi trap" words="tsukuyomi trap" lvl="250" mana="9000" aggressive="1" needtarget="1" range="2" exhaustion="1500" needlearn="0" blockwalls="1" event="script" value="obito/spell 250.lua">
<vocation id="170"/>
</instant>

 

<instant name="fissury" words="fissury" lvl="300" mana="9500" aggressive="1" needtarget="1" range="5" exhaustion="1500" needlearn="0" blockwalls="1" event="script" value="obito/spell 300.lua">
<vocation id="170"/>
</instant>

 

<instant name="kamui sharingan" words="kamui sharingan" lvl="500" mana="8500" aggressive="1" direction="1" exhaustion="1500" needlearn="0" blockwalls="1" event="script" value="obito/area 500.lua">
<vocation id="170"/>
</instant>

 

 

 

data/spell/script     

 

spell 200 

 

local combat = createCombatObject()
local combat = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z}
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 0)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -30.3, 1, -44.3, 1)

function onCastSpell(cid, var)
local position1 = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z}
doSendMagicEffect(position1, 84)
return doCombat(cid, combat, var)
end

 

 


spell 250

 

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 5000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -5000)

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)
local targetpos = getCreaturePosition(target)
local efepos = {x=targetpos.x+1, y=targetpos.y+1, z=targetpos.z}
local time = 5 -- tempo paralyzado

if isPlayer(cid) and exhaustion.check(cid, 12000) == TRUE then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, 12000) .. " segundos para usar novamente.")
return FALSE
end

local function No_Move_Target()
if isCreature(target) then
doCreatureSetNoMove(target, 0)
end
return TRUE
end

exhaustion.set(cid, 12000, 8)
doCreatureSetNoMove(target, 1)
doAddCondition(target, condition)
doSendMagicEffect(efepos, 192)
addEvent(No_Move_Target, time*1000)
return TRUE
end

 

 

spell 300

 

 

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 43)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -20.3, 1, -23.3, 1)

arr = {
{3}
}


local area = createCombatArea(arr)
setCombatArea(combat, area)
 
local function onCastSpell1(parameters)
return isCreature(parameters.cid) and doCombat(parameters.cid, combat, parameters.var)
end


function onCastSpell(cid, var)
if isPlayer(cid) and exhaustion.check(cid, 13133) == TRUE then
doPlayerSendCancel(cid, "Você esta exausto.")
doSendMagicEffect(getCreaturePosition(cid), 2)
return false
end

local position = getPlayerPosition(cid)
local parameters = { cid = cid, var = var}
exhaustion.set(cid, 13133, 1)
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell1, 300, parameters)
addEvent(onCastSpell1, 500, parameters)
addEvent(onCastSpell1, 700, parameters)
addEvent(onCastSpell1, 900, parameters)
addEvent(onCastSpell1, 1200, parameters)
addEvent(onCastSpell1, 1500, parameters)
addEvent(onCastSpell1, 1700, parameters)
addEvent(onCastSpell1, 1900, parameters)
addEvent(onCastSpell1, 2200, parameters)
addEvent(onCastSpell1, 2500, parameters)
addEvent(onCastSpell1, 2800, parameters)
return TRUE
end
 

 

 

spell 500

 

 

local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 235)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -75.3, 1, -95.3, 1)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 30)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 235)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 30)

arr1 = {
{0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0},
{0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{0, 0, 1, 0, 0, 2, 0, 0, 0, 1, 0},
{0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0},
{1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0},
{0, 0, 0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0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0},
}


arr5 = {
{0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0},
{0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0},
{0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0},
}

local area = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
setCombatArea(combat1, area)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)

local function onCastSpell2(parameters)
return isCreature(parameters.cid) and doCombat(parameters.cid, combat2, parameters.var)
end

local function onCastSpell1(parameters)
return isCreature(parameters.cid) and doCombat(parameters.cid, combat1, parameters.var)
end

local function onCastSpell3(parameters)
return isCreature(parameters.cid) and doCombat(parameters.cid, combat3, parameters.var)
end

local function onCastSpell4(parameters)
return isCreature(parameters.cid) and doCombat(parameters.cid, combat4, parameters.var)
end

local function onCastSpell5(parameters)
return isCreature(parameters.cid) and doCombat(parameters.cid, combat5, parameters.var)
end


function onCastSpell(cid, var)
local parameters = {cid = cid, var = var}
local position = getCreaturePosition(cid)


if isPlayer(cid) and exhaustion.check(cid, 13114) == TRUE then
doPlayerSendCancel(cid, "Você esta exausto.")
doSendMagicEffect(getCreaturePosition(cid), 2)
return FALSE
end

exhaustion.set(cid, 13114, 1)
addEvent(onCastSpell1, 200, parameters)
addEvent(onCastSpell2, 100, parameters)
addEvent(onCastSpell3, 200, parameters)
addEvent(onCastSpell4, 1000, parameters)
addEvent(onCastSpell5, 1000, parameters)
addEvent(onCastSpell2, 1000, parameters)
for i = 1, 40 do
doSendDistanceShoot(position, {x=position.x+math.random(-5,5), y=position.y+math.random(-5,5), z=position.z}, 99)
end
return TRUE
end

 

 

 

 

 

sequencia da tag e a msm das spell abaixo 

 

 

 

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.


  • Conteúdo Similar

    • Por Ragnar Lothbrook
      Bom pessoal, estou com um problema um pouco sério.
       
      Abri um OT na minha maquina, com internet compartilhada. Mas eu liberei umas portas no roteador, que acabam fixando meu IP. Quando abro o OT, eu entro normalmente, assim como qualquer pessoa, sem hamachi nem nada. Apenas o IP normal. Mas no meu site ninguém consegue entrar, além de mim. Eu uso Xampp, e minha maquina não tem modem normal, o modem é o ARRIS TG862, da NET COMBO, para internet de 30 mega+. Então não tem modem fixo. O modem ja é roteador. Ja tentei de tudo. Liberei as portas 443, 4499, 80 e 8090 no firewall e no modem, mas o site continua off pra todo mundo. Apenas eu consigo acessar.
       
      Ja mudei tudo que era possivel mudar nas configurações do xampp, coloquei port 8090, 80, 8080... Todas as possibilidades que encontrei. Mas não consegui concertar.
       
      Se alguém puder me ajudar, eu agradeceria muito. É um pouco urgente.
       
      Agradeço desde já.
       
      (rep+ pra solução)
    • Por snaikpp9
      600 MOEDA NO OTSERVLIST DA PRA COLOCA AKELES NEGOCIO DE TEMPO PRO SERVIDOR ABRIR E NOME AMARELO ?


    • Por GustavoColetti
      TO FICANDO LOUCO TENTANDO RESOLVER ISSO
      ALGUEM ME AJUDAR PELO AMOR DE DEUS UHAUH
       

    • Por GustavoColetti
      Bom, estou com muita dificuldade em conseguir mecher no site do wodbo rox 8.6 ( Encontrado aqui no tibia king ) 
      Alguem poderia por favor fazer um tutorial do inicio me ensinando a mecher e colocar o site online??
      Por favor !!
       

       
      Muito Obrigado..
    • Por shoorkill
      Consigo criar conta normalmente pelo site,mas quando e crio ela fica na pasta do site ao inves de ir para a pasta de accounts do meu servidor, uso swelia aac,alguem poderia me ajudar? agradeço desde ja!
       
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo