Ir para conteúdo

[Spell] Chidori And Rasengan!


Newtonnotwen

Posts Recomendados

Essas spells são baseados nos jutsus de naruto, chidori e rasengan.

 

chidorirasengan.png

 

Testado em TSF 8.6

 

(Um vídeo demonstrativo se localiza no final do tópico)

 

Em data/spells/scripts crie um arquivo.lua nomeie para rasengan e adicione:

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 1)

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 1)

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 1)

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 1)

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, 1)

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_EFFECT, 1)

local combat7 = createCombatObject()

setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 1)

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, 1)

local combat9 = createCombatObject()

setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat9, COMBAT_PARAM_EFFECT, 10)

setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

local combat10 = createCombatObject()

setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat10, COMBAT_PARAM_EFFECT, 10)

setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

local combat11 = createCombatObject()

setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat11, COMBAT_PARAM_EFFECT, 5)

setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

local combat12 = createCombatObject()

setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat12, COMBAT_PARAM_EFFECT, 17)

setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

 

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

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

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

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

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

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

}

 

arr11 = {

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

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

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

}

 

arr12 = {

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

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

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

}

 

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)

local area9 = createCombatArea(arr9)

local area10 = createCombatArea(arr10)

local area11 = createCombatArea(arr11)

local area12 = createCombatArea(arr12)

 

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

setCombatArea(combat4, area4)

setCombatArea(combat5, area5)

setCombatArea(combat6, area6)

setCombatArea(combat7, area7)

setCombatArea(combat8, area8)

setCombatArea(combat9, area9)

setCombatArea(combat10, area10)

setCombatArea(combat11, area11)

setCombatArea(combat12, area12)

 

 

local function onCastSpell1(parameters)

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

end

local function onCastSpell2(parameters)

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

end

local function onCastSpell3(parameters)

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

end

local function onCastSpell4(parameters)

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

end

local function onCastSpell5(parameters)

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

end

local function onCastSpell6(parameters)

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

end

local function onCastSpell7(parameters)

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

end

local function onCastSpell8(parameters)

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

end

local function onCastSpell9(parameters)

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

end

local function onCastSpell10(parameters)

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

end

local function onCastSpell11(parameters)

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

end

local function onCastSpell12(parameters)

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

end

 

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var}

addEvent(onCastSpell1, 14850, parameters)

addEvent(onCastSpell2, 14825, parameters)

addEvent(onCastSpell3, 14800, parameters)

addEvent(onCastSpell4, 14775, parameters)

addEvent(onCastSpell5, 14750, parameters)

addEvent(onCastSpell6, 14725, parameters)

addEvent(onCastSpell7, 14700, parameters)

addEvent(onCastSpell8, 14675, parameters)

addEvent(onCastSpell1, 14650, parameters)

addEvent(onCastSpell2, 14625, parameters)

addEvent(onCastSpell3, 14600, parameters)

addEvent(onCastSpell4, 14575, parameters)

addEvent(onCastSpell5, 14550, parameters)

addEvent(onCastSpell6, 14525, parameters)

addEvent(onCastSpell7, 14500, parameters)

addEvent(onCastSpell8, 14475, parameters)

addEvent(onCastSpell1, 14450, parameters)

addEvent(onCastSpell2, 14400, parameters)

addEvent(onCastSpell3, 14350, parameters)

addEvent(onCastSpell4, 14300, parameters)

addEvent(onCastSpell5, 14250, parameters)

addEvent(onCastSpell6, 14200, parameters)

addEvent(onCastSpell7, 14150, parameters)

addEvent(onCastSpell8, 14100, parameters)

addEvent(onCastSpell1, 14050, parameters)

addEvent(onCastSpell2, 14000, parameters)

addEvent(onCastSpell3, 13950, parameters)

addEvent(onCastSpell4, 13900, parameters)

addEvent(onCastSpell5, 13850, parameters)

addEvent(onCastSpell6, 13750, parameters)

addEvent(onCastSpell7, 13700, parameters)

addEvent(onCastSpell8, 13650, parameters)

addEvent(onCastSpell1, 13600, parameters)

addEvent(onCastSpell2, 13500, parameters)

addEvent(onCastSpell3, 13400, parameters)

addEvent(onCastSpell4, 13300, parameters)

addEvent(onCastSpell5, 13200, parameters)

addEvent(onCastSpell6, 13100, parameters)

addEvent(onCastSpell7, 13000, parameters)

addEvent(onCastSpell8, 12900, parameters)

addEvent(onCastSpell1, 12800, parameters)

addEvent(onCastSpell2, 12700, parameters)

addEvent(onCastSpell3, 12600, parameters)

addEvent(onCastSpell4, 12500, parameters)

addEvent(onCastSpell5, 12400, parameters)

addEvent(onCastSpell6, 12300, parameters)

addEvent(onCastSpell7, 12200, parameters)

addEvent(onCastSpell8, 12100, parameters)

addEvent(onCastSpell1, 12000, parameters)

addEvent(onCastSpell2, 11750, parameters)

addEvent(onCastSpell3, 11500, parameters)

addEvent(onCastSpell4, 11250, parameters)

addEvent(onCastSpell5, 11000, parameters)

addEvent(onCastSpell6, 10750, parameters)

addEvent(onCastSpell7, 10500, parameters)

addEvent(onCastSpell8, 10250, parameters)

addEvent(onCastSpell1, 10000, parameters)

addEvent(onCastSpell2, 9750, parameters)

addEvent(onCastSpell3, 9500, parameters)

addEvent(onCastSpell4, 9250, parameters)

addEvent(onCastSpell5, 9000, parameters)

addEvent(onCastSpell6, 8750, parameters)

addEvent(onCastSpell7, 8500, parameters)

addEvent(onCastSpell8, 8250, parameters)

addEvent(onCastSpell1, 8000, parameters)

addEvent(onCastSpell2, 7500, parameters)

addEvent(onCastSpell3, 7000, parameters)

addEvent(onCastSpell4, 6500, parameters)

addEvent(onCastSpell5, 6000, parameters)

addEvent(onCastSpell6, 5500, parameters)

addEvent(onCastSpell7, 5000, parameters)

addEvent(onCastSpell8, 4500, parameters)

addEvent(onCastSpell1, 4000, parameters)

addEvent(onCastSpell2, 3500, parameters)

addEvent(onCastSpell3, 3000, parameters)

addEvent(onCastSpell4, 2500, parameters)

addEvent(onCastSpell5, 2000, parameters)

addEvent(onCastSpell6, 1500, parameters)

addEvent(onCastSpell7, 1000, parameters)

addEvent(onCastSpell8, 500, parameters)

addEvent(onCastSpell9, 15900, parameters)

addEvent(onCastSpell10, 16100, parameters)

addEvent(onCastSpell11, 16300, parameters)

addEvent(onCastSpell12, 16500, parameters)

return TRUE

end

 

Editando:

 

-Verde: Efeito que fica girando (/z)

-Vermelho: Efeitos finais que tiram hit (/z)

-Laranja: Formula de attack.

 

Em data/spells/scripts crie um arquivo.lua nomeie para chidori e adicione:

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 11)

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 11)

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 11)

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 11)

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, 11)

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_EFFECT, 11)

local combat7 = createCombatObject()

setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, 11)

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, 11)

local combat9 = createCombatObject()

setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat9, COMBAT_PARAM_EFFECT, 47)

setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

local combat10 = createCombatObject()

setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat10, COMBAT_PARAM_EFFECT, 48)

setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

local combat11 = createCombatObject()

setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat11, COMBAT_PARAM_EFFECT, 37)

setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

local combat12 = createCombatObject()

setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat12, COMBAT_PARAM_EFFECT, 37)

setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -999.3, -999.160, -999, -999)

 

arr1 = {

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

}

 

arr12 = {

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

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

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

}

 

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)

local area9 = createCombatArea(arr9)

local area10 = createCombatArea(arr10)

local area11 = createCombatArea(arr11)

local area12 = createCombatArea(arr12)

 

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

setCombatArea(combat4, area4)

setCombatArea(combat5, area5)

setCombatArea(combat6, area6)

setCombatArea(combat7, area7)

setCombatArea(combat8, area8)

setCombatArea(combat9, area9)

setCombatArea(combat10, area10)

setCombatArea(combat11, area11)

setCombatArea(combat12, area12)

 

 

local function onCastSpell1(parameters)

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

end

local function onCastSpell2(parameters)

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

end

local function onCastSpell3(parameters)

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

end

local function onCastSpell4(parameters)

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

end

local function onCastSpell5(parameters)

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

end

local function onCastSpell6(parameters)

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

end

local function onCastSpell7(parameters)

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

end

local function onCastSpell8(parameters)

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

end

local function onCastSpell9(parameters)

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

end

local function onCastSpell10(parameters)

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

end

local function onCastSpell11(parameters)

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

end

local function onCastSpell12(parameters)

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

end

 

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var}

addEvent(onCastSpell1, 14850, parameters)

addEvent(onCastSpell2, 14825, parameters)

addEvent(onCastSpell3, 14800, parameters)

addEvent(onCastSpell4, 14775, parameters)

addEvent(onCastSpell5, 14750, parameters)

addEvent(onCastSpell6, 14725, parameters)

addEvent(onCastSpell7, 14700, parameters)

addEvent(onCastSpell8, 14675, parameters)

addEvent(onCastSpell1, 14650, parameters)

addEvent(onCastSpell2, 14625, parameters)

addEvent(onCastSpell3, 14600, parameters)

addEvent(onCastSpell4, 14575, parameters)

addEvent(onCastSpell5, 14550, parameters)

addEvent(onCastSpell6, 14525, parameters)

addEvent(onCastSpell7, 14500, parameters)

addEvent(onCastSpell8, 14475, parameters)

addEvent(onCastSpell1, 14450, parameters)

addEvent(onCastSpell2, 14400, parameters)

addEvent(onCastSpell3, 14350, parameters)

addEvent(onCastSpell4, 14300, parameters)

addEvent(onCastSpell5, 14250, parameters)

addEvent(onCastSpell6, 14200, parameters)

addEvent(onCastSpell7, 14150, parameters)

addEvent(onCastSpell8, 14100, parameters)

addEvent(onCastSpell1, 14050, parameters)

addEvent(onCastSpell2, 14000, parameters)

addEvent(onCastSpell3, 13950, parameters)

addEvent(onCastSpell4, 13900, parameters)

addEvent(onCastSpell5, 13850, parameters)

addEvent(onCastSpell6, 13750, parameters)

addEvent(onCastSpell7, 13700, parameters)

addEvent(onCastSpell8, 13650, parameters)

addEvent(onCastSpell1, 13600, parameters)

addEvent(onCastSpell2, 13500, parameters)

addEvent(onCastSpell3, 13400, parameters)

addEvent(onCastSpell4, 13300, parameters)

addEvent(onCastSpell5, 13200, parameters)

addEvent(onCastSpell6, 13100, parameters)

addEvent(onCastSpell7, 13000, parameters)

addEvent(onCastSpell8, 12900, parameters)

addEvent(onCastSpell1, 12800, parameters)

addEvent(onCastSpell2, 12700, parameters)

addEvent(onCastSpell3, 12600, parameters)

addEvent(onCastSpell4, 12500, parameters)

addEvent(onCastSpell5, 12400, parameters)

addEvent(onCastSpell6, 12300, parameters)

addEvent(onCastSpell7, 12200, parameters)

addEvent(onCastSpell8, 12100, parameters)

addEvent(onCastSpell1, 12000, parameters)

addEvent(onCastSpell2, 11750, parameters)

addEvent(onCastSpell3, 11500, parameters)

addEvent(onCastSpell4, 11250, parameters)

addEvent(onCastSpell5, 11000, parameters)

addEvent(onCastSpell6, 10750, parameters)

addEvent(onCastSpell7, 10500, parameters)

addEvent(onCastSpell8, 10250, parameters)

addEvent(onCastSpell1, 10000, parameters)

addEvent(onCastSpell2, 9750, parameters)

addEvent(onCastSpell3, 9500, parameters)

addEvent(onCastSpell4, 9250, parameters)

addEvent(onCastSpell5, 9000, parameters)

addEvent(onCastSpell6, 8750, parameters)

addEvent(onCastSpell7, 8500, parameters)

addEvent(onCastSpell8, 8250, parameters)

addEvent(onCastSpell1, 8000, parameters)

addEvent(onCastSpell2, 7500, parameters)

addEvent(onCastSpell3, 7000, parameters)

addEvent(onCastSpell4, 6500, parameters)

addEvent(onCastSpell5, 6000, parameters)

addEvent(onCastSpell6, 5500, parameters)

addEvent(onCastSpell7, 5000, parameters)

addEvent(onCastSpell8, 4500, parameters)

addEvent(onCastSpell1, 4000, parameters)

addEvent(onCastSpell2, 3500, parameters)

addEvent(onCastSpell3, 3000, parameters)

addEvent(onCastSpell4, 2500, parameters)

addEvent(onCastSpell5, 2000, parameters)

addEvent(onCastSpell6, 1500, parameters)

addEvent(onCastSpell7, 1000, parameters)

addEvent(onCastSpell8, 500, parameters)

addEvent(onCastSpell9, 14900, parameters)

addEvent(onCastSpell10, 15100, parameters)

addEvent(onCastSpell11, 15300, parameters)

addEvent(onCastSpell12, 15500, parameters)

return TRUE

end

Editando:

 

-Verde: Efeito que fica girando (/z)

-Vermelho: Efeitos finais que tiram hit (/z)

-Laranja: Formula de attack.

 

Em spells.xml adicione:

<instant name="rasengan" words="rasengan" lvl="100" mana="1600" prem="1" exhaustion="1000" selftarget="1" needlearn="0" script="rasengan.lua">

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

<vocation id="5"/>

<vocation id="6"/>

<vocation id="7"/>

<vocation id="8"/>

</instant>

<instant name="chidori" words="chidori" lvl="100" mana="1600" prem="1" exhaustion="1000" selftarget="1" needlearn="0" script="chidori.lua">

<vocation id="1"/>

<vocation id="2"/>

<vocation id="3"/>

<vocation id="4"/>

<vocation id="5"/>

<vocation id="6"/>

<vocation id="7"/>

<vocation id="8"/>

</instant>

 

 

Editando:

 

-Verde: Palavra mágica (para acionar a spell)

-Vermelho: Level necessário (para usar a spell).

-Laranja: Mana necessária para usar a magia (também vai ser gasta)

-Roxo: Id das vocações que podem usar a spell.

 

Créditos:

 

Newtonnotwen, pela ideia, pelo script, pelo tutorial e pelo vídeo.

 

 

Agora um vídeo demonstrativo:

 

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

ei mano acabo de ter uma nova ideia para seu script de tsukuyomi como nos sabemos o jiraya tem jutsus mais especialisados em sapos invoca fala coisas que tem sapo no meio e dai eu pensei no seu script para outra spell e dentro do meu cerebro meus neuronios conjugarão os verbos:

 

Script-Sapo-Jutsu-Jiraya-Jutsu interior dos sapos:

 

Gamaguchi.jpg

 

intao minha ideia pro seu script e essa que teleport os players que forem atingidos pela spell teleporte eles para um local estreito uns 5 sqm de largura soque com bastante passagems e olha o local onde eles vao ser teleportados tem q ser estreito e com muitas passages tipo um labirinto

 

OBS: como no anime o jutsu demora 3 horas para ser repelido ou seja sugado para o sapo de novo intao os players devem ficar la por uns 7 minutos não deve ter saida e o mais importante quando eles forem teleportados o chao deve diminui a velocidade deles como no anime itachi e kisame quase são sugados pelo chao e eles ficam mt lerdos la dentro

 

espero q consiga

 

FALOW

 

@edit@

 

não se esqueça que muda um poco dos scripts que vc fez por exemplo laa dentro o playe rque foi atingido DEVE ser move se ele n puder se mexer vai fujir completamente da spell do anime

Link para o comentário
Compartilhar em outros sites

  • 1 month later...

Que tal um desafio: assim como nos jogos de naruto em byond onde quando usa o rasengan/chidori ele aparece no player (em cima da outfist) e quando vc se move, ela vai junto com vc, e só hita quando vc anda contra o oponente.

não é impossivel mas n é facil, se eu n fosse iniciante eu tentaria fazer rsrs. Parabéns pelo seu trabalho, continue assim :)

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...