Ir para conteúdo

Novas Magias Para Ot 8.0


diabolico00

Posts Recomendados

Nome das MAgias! Versão 8.0

 

 

Sharingan:


local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 500)
setConditionParam(condition, CONDITION_PARAM_SPEED, -200)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat1, condition)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -200)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat2, condition)


local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 2000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -200)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat3, condition)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition4 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 3000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -200)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat4, condition)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition5 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 4000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -200)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat5, condition)

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


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


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

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

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

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

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

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5,}
addEvent(onCastSpell1, 500, parameters)
addEvent(onCastSpell2, 1000, parameters)
addEvent(onCastSpell3, 2000, parameters)
addEvent(onCastSpell4, 3000, parameters)
addEvent(onCastSpell5, 4000, parameters)

end

 

Sharingan Tag:


local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 0)
setConditionParam(condition, CONDITION_PARAM_SPEED, -500)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat1, condition)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 500)
setConditionParam(condition, CONDITION_PARAM_SPEED, -500)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat2, condition)


local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -500)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat3, condition)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition4 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 2000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -500)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat4, condition)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition5 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 3000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -800)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat5, condition)

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

arr2 = {
{ 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 },
{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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 }
}

arr5 = {
{ 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0 },
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 },
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
{ 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0 }
}


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


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

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

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

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

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

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5,}
addEvent(onCastSpell1, 0, parameters)
addEvent(onCastSpell2, 500, parameters)
addEvent(onCastSpell3, 1000, parameters)
addEvent(onCastSpell4, 2000, parameters)
addEvent(onCastSpell5, 3000, parameters)

end

 

Magenkyu Sharingan TAg..


local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 0)
setConditionParam(condition, CONDITION_PARAM_SPEED, -800)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat1, condition)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 250)
setConditionParam(condition, CONDITION_PARAM_SPEED, -800)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat2, condition)


local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 500)
setConditionParam(condition, CONDITION_PARAM_SPEED, -800)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat3, condition)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition4 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -800)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat4, condition)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

local condition5 = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 2000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -800)
setConditionFormula(condition, 0, 0, 0, 0)
setCombatCondition(combat5, condition)

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


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


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

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

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

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

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

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5,}
addEvent(onCastSpell1, 0, parameters)
addEvent(onCastSpell2, 250, parameters)
addEvent(onCastSpell3, 500, parameters)
addEvent(onCastSpell4, 1000, parameters)
addEvent(onCastSpell5, 2000, parameters)

end

 

 

Sharin-gan Tag

 

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PROTECT)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)




local condition = createConditionObject(CONDITION_MANASHIELD)
setConditionParam(condition, CONDITION_PARAM_TICKS, 60000)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

 

 

<instant name="Protect Friend" words="utamo sio" aggressive="0" params="1" needtarget="1" lvl="25" maglv="15" mana="100" soul="0" exhaustion="1" prem="0" enabled="1" script="protectfriend.lua"><vocation id="2"/><vocation id="6"/><vocation id="10"/></instant>

 

comecei a mecher com magias onte ontem =P

 

 

A magia Utamo sio a msma coisa q utamo vita + no seu amigo!!!

 

PS: quem perde mana eh ele nao vc xD

 

Se alguem souber algum jeito de fazer o seu personagem perde mana ao inves do seu amigo

 

me de um toque!!!

 

!

 

OBS: eu num vi nenhuma magia igual a Utamo Sio!!

 

Por isso ah fiz!!

 

 

Creditos: Todos Meu "ADM Razlen"

 

Qualquer Bug Duvidas ou etc... Me avise!!

 

OBS: Essas Sao minhas primeiras magias!

Link para o comentário
Compartilhar em outros sites

  • 3 weeks later...

Obrigado Pelo coment!!

 

Eu estava viajando e fiquei sem tempo de entrar no forum!!!

 

E ateh na internet! + agora eu voltei e vou criar novas magias depois eu posto aqui!!!

 

Flw e um abraço a todos do forum!!!

 

---------------------------------

Obrigado por lembrar vou atualizar

xD Thx

Editado por diabolico00
Link para o comentário
Compartilhar em outros sites

Eu gostei

por mim APROVADO

agora tem que ver algum moderador pra ve se eles aprova né,mas concerteza vão =D

 

(OBS> so um detalhe sua sing ta desatualizada tah assim

Metas:

[ ] 5 posts

[ ] 10 posts

[ ] 20 posts

[ ] 30 posts

[ ] 40 posts

[ ] 50 posts

[ ] 60 posts

[ ] 70 posts

[ ] 80 posts

[ ] 90 posts

[ ] 100 posts

 

vc ja tem 12 post é bom atualiza de veis enquando

Link para o comentário
Compartilhar em outros sites

  • 2 months later...
×
×
  • Criar Novo...