Ir para conteúdo

Espelho refletor nova spells


joseanpereira

Posts Recomendados

Bom galera, fiz uma nova spell ai para vcs.

Testado em 9.83 e 8.60


Primeiro vá em data/spells e em spells.xml

Adicione a tag:


<instant name="detonationr" words="exevo reflector" lvl="150" mana="20" prem="1" range="3" casterTargetOrDirection="0" blockwalls="1" exhaustion="6000" groups="1" groupexhaustions="2000" icon="100" needlearn="0" event="script" value="spectral">



Explicando:

Em verde, o nome spectral e o nome que vc vai ter que colocar também no scripter que vamos fazer logo a baixo.

Em lilas, o nome exevo reflector e o nome da magia que vc vai falar para soltar ela.


Agora entre na pasta scripts, ai do lado copie qualquer arquivo lua e renomeei para spectral que e o nome que falei lá em cima e abra a pague tudo e cole o seguinte código:


-- SpellCreator generated.


-- =============== COMBAT VARS ===============

-- Areas/Combat for 5900ms

local combat59_Brush_12 = createCombatObject()

setCombatParam(combat59_Brush_12, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)

setCombatParam(combat59_Brush_12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat59_Brush_12,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0},

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

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

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

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

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

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

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

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

function getDmg_Brush_12(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat59_Brush_12, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_12")


-- Areas/Combat for 5800ms

local combat58_Brush_11 = createCombatObject()

setCombatParam(combat58_Brush_11, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

setCombatParam(combat58_Brush_11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat58_Brush_11,createCombatArea({{0, 1, 1, 1, 1, 0, 0, 0},

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

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

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

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

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

function getDmg_Brush_11(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat58_Brush_11, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_11")


-- Areas/Combat for 5700ms

local combat57_Brush_11 = createCombatObject()

setCombatParam(combat57_Brush_11, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

setCombatParam(combat57_Brush_11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat57_Brush_11,createCombatArea({{0, 0, 0, 0, 1},

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

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

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

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

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

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

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

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

function getDmg_Brush_11(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat57_Brush_11, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_11")local combat57_Brush_12 = createCombatObject()

setCombatParam(combat57_Brush_12, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)

setCombatParam(combat57_Brush_12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat57_Brush_12,createCombatArea({{0, 0, 1, 1, 0, 0},

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

{1, 1, 1, 3, 1, 1},

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

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

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

function getDmg_Brush_12(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat57_Brush_12, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_12")


-- Areas/Combat for 5000ms

local combat50_Brush_10 = createCombatObject()

setCombatParam(combat50_Brush_10, COMBAT_PARAM_EFFECT, CONST_ME_STUN)

setCombatParam(combat50_Brush_10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat50_Brush_10,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0},

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

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

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

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

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

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

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

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

function getDmg_Brush_10(cid, level, maglevel)

return (200)*-1,(200)*-1

end

setCombatCallback(combat50_Brush_10, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_10")


-- Areas/Combat for 4800ms

local combat48_Brush_2 = createCombatObject()

setCombatParam(combat48_Brush_2, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORVERTICAL)

setCombatParam(combat48_Brush_2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat48_Brush_2,createCombatArea({{1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1}}))

function getDmg_Brush_2(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat48_Brush_2, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_2")local combat48_Brush = createCombatObject()

setCombatParam(combat48_Brush, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORHORIZONTAL)

setCombatParam(combat48_Brush, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat48_Brush,createCombatArea({{1},

{0},

{0},

{0},

{0},

{2},

{0},

{0},

{0},

{0},

{1}}))

function getDmg_Brush(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat48_Brush, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush")


-- Areas/Combat for 4100ms

local combat41_Brush_10 = createCombatObject()

setCombatParam(combat41_Brush_10, COMBAT_PARAM_EFFECT, CONST_ME_STUN)

setCombatParam(combat41_Brush_10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat41_Brush_10,createCombatArea({{0, 0, 0, 1, 1, 1, 0, 0, 0},

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

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

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

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

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

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

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

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

function getDmg_Brush_10(cid, level, maglevel)

return (200)*-1,(200)*-1

end

setCombatCallback(combat41_Brush_10, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_10")


-- Areas/Combat for 3800ms

local combat38_Brush_9 = createCombatObject()

setCombatParam(combat38_Brush_9, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD)

setCombatParam(combat38_Brush_9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat38_Brush_9,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0},

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

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

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

{1, 1, 1, 1, 3, 1, 1, 1, 1},

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

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

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

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

function getDmg_Brush_9(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat38_Brush_9, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_9")


-- Areas/Combat for 0ms

local combat0_Brush_2 = createCombatObject()

setCombatParam(combat0_Brush_2, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORVERTICAL)

setCombatParam(combat0_Brush_2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat0_Brush_2,createCombatArea({{1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1}}))

function getDmg_Brush_2(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat0_Brush_2, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_2")local combat0_Brush = createCombatObject()

setCombatParam(combat0_Brush, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORHORIZONTAL)

setCombatParam(combat0_Brush, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat0_Brush,createCombatArea({{1},

{0},

{0},

{0},

{0},

{2},

{0},

{0},

{0},

{0},

{1}}))

function getDmg_Brush(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat0_Brush, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush")local combat0_Brush_3 = createCombatObject()

setCombatParam(combat0_Brush_3, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatParam(combat0_Brush_3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat0_Brush_3,createCombatArea({{2},

{0},

{0},

{0},

{1}}))

function getDmg_Brush_3(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat0_Brush_3, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_3")

local dfcombat0_Brush_3 = {CONST_ANI_FIRE,0,4}


-- Areas/Combat for 400ms

local combat4_Brush_4 = createCombatObject()

setCombatParam(combat4_Brush_4, COMBAT_PARAM_EFFECT, CONST_ME_LOSEENERGY)

setCombatParam(combat4_Brush_4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat4_Brush_4,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0},

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

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

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

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

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

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

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

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

function getDmg_Brush_4(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat4_Brush_4, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_4")


-- Areas/Combat for 600ms

local combat6_Brush_5 = createCombatObject()

setCombatParam(combat6_Brush_5, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)

setCombatParam(combat6_Brush_5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat6_Brush_5,createCombatArea({{0, 0, 0, 1, 0, 0, 0},

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

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

{1, 1, 1, 3, 1, 1, 1},

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

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

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

function getDmg_Brush_5(cid, level, maglevel)

return (300)*-1,(300)*-1

end

setCombatCallback(combat6_Brush_5, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_5")


-- Areas/Combat for 1100ms

local combat11_Brush_6 = createCombatObject()

setCombatParam(combat11_Brush_6, COMBAT_PARAM_EFFECT, CONST_ME_TELEPORT)

setCombatParam(combat11_Brush_6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat11_Brush_6,createCombatArea({{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},

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

function getDmg_Brush_6(cid, level, maglevel)

return (200)*-1,(200)*-1

end

setCombatCallback(combat11_Brush_6, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_6")


-- Areas/Combat for 1300ms

local combat13_Brush_7 = createCombatObject()

setCombatParam(combat13_Brush_7, COMBAT_PARAM_EFFECT, CONST_ME_WATERSPLASH)

setCombatParam(combat13_Brush_7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat13_Brush_7,createCombatArea({{0, 0, 0, 1, 0, 1, 0, 0, 0},

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

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

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

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

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

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

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

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

function getDmg_Brush_7(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat13_Brush_7, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_7")


-- Areas/Combat for 1600ms

local combat16_Brush_2 = createCombatObject()

setCombatParam(combat16_Brush_2, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORVERTICAL)

setCombatParam(combat16_Brush_2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat16_Brush_2,createCombatArea({{1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1}}))

function getDmg_Brush_2(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat16_Brush_2, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_2")local combat16_Brush = createCombatObject()

setCombatParam(combat16_Brush, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORHORIZONTAL)

setCombatParam(combat16_Brush, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat16_Brush,createCombatArea({{1},

{0},

{0},

{0},

{0},

{2},

{0},

{0},

{0},

{0},

{1}}))

function getDmg_Brush(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat16_Brush, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush")


-- Areas/Combat for 1900ms

local combat19_Brush_3 = createCombatObject()

setCombatParam(combat19_Brush_3, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatParam(combat19_Brush_3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat19_Brush_3,createCombatArea({{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},

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

function getDmg_Brush_3(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat19_Brush_3, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_3")

local dfcombat19_Brush_3 = {CONST_ANI_FIRE,0,-4,-4,0,0,4,4,0}


-- Areas/Combat for 2300ms

local combat23_Brush_4 = createCombatObject()

setCombatParam(combat23_Brush_4, COMBAT_PARAM_EFFECT, CONST_ME_LOSEENERGY)

setCombatParam(combat23_Brush_4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat23_Brush_4,createCombatArea({{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},

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

function getDmg_Brush_4(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat23_Brush_4, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_4")


-- Areas/Combat for 2700ms

local combat27_Brush_4 = createCombatObject()

setCombatParam(combat27_Brush_4, COMBAT_PARAM_EFFECT, CONST_ME_LOSEENERGY)

setCombatParam(combat27_Brush_4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat27_Brush_4,createCombatArea({{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},

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

function getDmg_Brush_4(cid, level, maglevel)

return (500)*-1,(500)*-1

end

setCombatCallback(combat27_Brush_4, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_4")


-- Areas/Combat for 3000ms

local combat30_Brush_8 = createCombatObject()

setCombatParam(combat30_Brush_8, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)

setCombatParam(combat30_Brush_8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat30_Brush_8,createCombatArea({{0, 0, 0, 0, 1, 0, 0, 0, 0},

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

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

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

{1, 1, 1, 1, 3, 1, 1, 1, 1},

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

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

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

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

function getDmg_Brush_8(cid, level, maglevel)

return (150)*-1,(150)*-1

end

setCombatCallback(combat30_Brush_8, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_8")


-- Areas/Combat for 3200ms

local combat32_Brush_2 = createCombatObject()

setCombatParam(combat32_Brush_2, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORVERTICAL)

setCombatParam(combat32_Brush_2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat32_Brush_2,createCombatArea({{1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1}}))

function getDmg_Brush_2(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat32_Brush_2, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_2")local combat32_Brush = createCombatObject()

setCombatParam(combat32_Brush, COMBAT_PARAM_EFFECT, CONST_ME_MIRRORHORIZONTAL)

setCombatParam(combat32_Brush, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat32_Brush,createCombatArea({{1},

{0},

{0},

{0},

{0},

{2},

{0},

{0},

{0},

{0},

{1}}))

function getDmg_Brush(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat32_Brush, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush")


-- Areas/Combat for 3300ms

local combat33_Brush_8 = createCombatObject()

setCombatParam(combat33_Brush_8, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)

setCombatParam(combat33_Brush_8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat33_Brush_8,createCombatArea({{0, 0, 0, 1, 1, 1, 0, 0, 0},

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

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

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

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

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

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

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

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

function getDmg_Brush_8(cid, level, maglevel)

return (150)*-1,(150)*-1

end

setCombatCallback(combat33_Brush_8, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_8")


-- Areas/Combat for 3500ms

local combat35_Brush_9 = createCombatObject()

setCombatParam(combat35_Brush_9, COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD)

setCombatParam(combat35_Brush_9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatArea(combat35_Brush_9,createCombatArea({{0, 0, 0, 0, 1, 1, 0, 0, 0},

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

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

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

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

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

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

function getDmg_Brush_9(cid, level, maglevel)

return (10)*-1,(20)*-1

end

setCombatCallback(combat35_Brush_9, CALLBACK_PARAM_LEVELMAGICVALUE, "getDmg_Brush_9")


-- =============== CORE FUNCTIONS ===============

local function RunPart(c,cid,var,dirList,dirEmitPos) -- Part

if (isCreature(cid)) then

doCombat(cid, c, var)

if (dirList ~= nil) then -- Emit distance effects

local i = 2;

while (i < #dirList) do

doSendDistanceShoot(dirEmitPos,{x=dirEmitPos.x-dirList,y=dirEmitPos.y-dirList[i+1],z=dirEmitPos.z},dirList[1])

i = i + 2

end

end

end

end


function onCastSpell(cid, var)

local startPos = getCreaturePosition(cid)

addEvent(RunPart,5900,combat59_Brush_12,cid,var)

addEvent(RunPart,5800,combat58_Brush_11,cid,var)

addEvent(RunPart,5700,combat57_Brush_11,cid,var)

addEvent(RunPart,5700,combat57_Brush_12,cid,var)

addEvent(RunPart,5000,combat50_Brush_10,cid,var)

addEvent(RunPart,4800,combat48_Brush_2,cid,var)

addEvent(RunPart,4800,combat48_Brush,cid,var)

addEvent(RunPart,4100,combat41_Brush_10,cid,var)

addEvent(RunPart,3800,combat38_Brush_9,cid,var)

RunPart(combat0_Brush_2,cid,var)

RunPart(combat0_Brush,cid,var)

RunPart(combat0_Brush_3,cid,var,dfcombat0_Brush_3,startPos)

addEvent(RunPart,400,combat4_Brush_4,cid,var)

addEvent(RunPart,600,combat6_Brush_5,cid,var)

addEvent(RunPart,1100,combat11_Brush_6,cid,var)

addEvent(RunPart,1300,combat13_Brush_7,cid,var)

addEvent(RunPart,1600,combat16_Brush_2,cid,var)

addEvent(RunPart,1600,combat16_Brush,cid,var)

addEvent(RunPart,1900,combat19_Brush_3,cid,var,dfcombat19_Brush_3,startPos)

addEvent(RunPart,2300,combat23_Brush_4,cid,var)

addEvent(RunPart,2700,combat27_Brush_4,cid,var)

addEvent(RunPart,3000,combat30_Brush_8,cid,var)

addEvent(RunPart,3200,combat32_Brush_2,cid,var)

addEvent(RunPart,3200,combat32_Brush,cid,var)

addEvent(RunPart,3300,combat33_Brush_8,cid,var)

addEvent(RunPart,3500,combat35_Brush_9,cid,var)

return true

end



Salve e feche.

Pronto so e isso!

Se tiver bug comente se gostou de +REP ai.


Imagem de parte da magia:

imagem.GIF?1376910019


Editado por joseanpereira
Arrumei o topico :)
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...