Ir para conteúdo

Script De Mágia


828598

Posts Recomendados

Gente eu queria que um de voces fazem uma magia pra mim que chamasse Pirulito .. pq o server chama pirulito.. ^^

 

e ela tem que ser pra sorc e druid e tem que ser um efeito bem legal........e ser ORIGINAL..!!

 

valew manda o script ae pra mim....

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

huh.png

 

BOM EU ACHU QUE DEVE SER ASSIM

 

VAI EM SPELLS>SCRIPTS>ATTACK

 

DAI SE PROCURA UM ESCRITO GREAT FIREBALL

 

DAI VC CRIA UM ATALHO DELA E RENOMEIA

 

PARA pirulito

 

 

MEU AMIGO EM DISSE QUE ERA ASSIM

lol.gif

 

 

CONCERTEZA NAUM É ASSIM MAS SE FOR POR FAVOR

 

 

ME AVISE E DE REP++ mdr.gif drunk.gif he.gif rules.gif

Link para o comentário
Compartilhar em outros sites

EU TENHO 1 MAGIA BEM LEGAL

 

VAI EM OT/DATA/SPELLS/SCRIPT/ATTACK

 

COPIA 1 E RENOMEIA PARA PIRULITO E COLOCA ASSIM DENTRO

 

 

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 43)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 43)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 43)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 43)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, 17)

setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_EFFECT, 17)

setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -5.9, -68, -4.9, 109)

 

local combat7 = createCombatObject()

setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 17)

setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -5.9, -68, -4.9, 109)

 

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, 17)

setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -5.9, -68, -4.9, 109)

 

local arr1 = {

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

{0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0},

{0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0},

{0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},

{1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0},

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

{0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0},

{0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0},

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

}

local arr8 = {

{1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0},

{0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0},

{0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0},

{1, 1, 1, 1, 1, 3, 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},

}

 

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

local area3 = createCombatArea(arr3)

local area4 = createCombatArea(arr4)

local area5 = createCombatArea(arr5)

local area6 = createCombatArea(arr6)

local area7 = createCombatArea(arr7)

local area8 = createCombatArea(arr8)

 

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

setCombatArea(combat4, area4)

setCombatArea(combat5, area5)

setCombatArea(combat6, area6)

setCombatArea(combat7, area7)

setCombatArea(combat8, area8)

 

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

 

local function onCastSpell6(parameters)

doCombat(parameters.cid, parameters.combat6, parameters.var)

end

 

local function onCastSpell7(parameters)

doCombat(parameters.cid, parameters.combat7, parameters.var)

end

 

local function onCastSpell8(parameters)

doCombat(parameters.cid, parameters.combat8, parameters.var)

end

 

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var,combat1 = combat1,combat2 = combat2,combat3 = combat3,combat4 = combat4,combat5 = combat5,combat6 = combat6,combat7 = combat7,combat8 = combat8 }

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 200, parameters)

addEvent(onCastSpell3, 300, parameters)

addEvent(onCastSpell4, 400, parameters)

addEvent(onCastSpell5, 500, parameters)

addEvent(onCastSpell6, 600, parameters)

addEvent(onCastSpell7, 700, parameters)

addEvent(onCastSpell8, 800, parameters)

end

 

 

 

E Voce depois e so editar ali em cima os numero 50 etc..

 

 

Vai data/spells/spells

 

 

E Cole Isso Dentro

 

 

 

 

</instant>

<instant name="Pirulito" FDPwords="Pirulito" lvl="10000" mana="350" prem="1" selftarget="1" exhaustion="900" needlearn="0" script="attack/pirulito.lua">

 

 

 

e tem outra

 

 

fas a mesma coisa copia e cola em attack e renomeia para catavento e cole isto dentro

 

 

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -50.9, -80, -50.9, 160)

 

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -5.9, -68, -4.9, 109)

 

local combat7 = createCombatObject()

setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -5.9, -68, -4.9, 109)

 

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, 34)

setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -5.9, -68, -4.9, 109)

 

local arr1 = {

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

}

local arr7 = {

{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, 3, 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},

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

}

local arr8 = {

{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, 1, 3, 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},

}

 

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

local area3 = createCombatArea(arr3)

local area4 = createCombatArea(arr4)

local area5 = createCombatArea(arr5)

local area6 = createCombatArea(arr6)

local area7 = createCombatArea(arr7)

local area8 = createCombatArea(arr8)

 

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

setCombatArea(combat4, area4)

setCombatArea(combat5, area5)

setCombatArea(combat6, area6)

setCombatArea(combat7, area7)

setCombatArea(combat8, area8)

 

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

 

local function onCastSpell6(parameters)

doCombat(parameters.cid, parameters.combat6, parameters.var)

end

 

local function onCastSpell7(parameters)

doCombat(parameters.cid, parameters.combat7, parameters.var)

end

 

local function onCastSpell8(parameters)

doCombat(parameters.cid, parameters.combat8, parameters.var)

end

 

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var,combat1 = combat1,combat2 = combat2,combat3 = combat3,combat4 = combat4,combat5 = combat5,combat6 = combat6,combat7 = combat7,combat8 = combat8 }

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 200, parameters)

addEvent(onCastSpell3, 300, parameters)

addEvent(onCastSpell4, 400, parameters)

addEvent(onCastSpell5, 500, parameters)

addEvent(onCastSpell6, 600, parameters)

addEvent(onCastSpell7, 700, parameters)

addEvent(onCastSpell8, 800, parameters)

end

 

 

 

E Vai EM

 

 

</instant>

<instant name="Cata Vento" FDPwords="Catavento" lvl="10000" mana="350" prem="1" selftarget="1" exhaustion="400" needlearn="0" script="attack/Catavento.lua">

 

 

 

 

 

ta pronto as 2 magia

 

 

Ajudei Rep+

 

GENTE ERREI ALI NOS DEOIS

</instant>

<instant name="Pirulito" words="Pirulito" lvl="10000" mana="350" prem="1" selftarget="1" exhaustion="900" needlearn="0" script="attack/pirulito.lua">

 

AGORA TA SERTO

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...