OTHispano
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

Ir abajo
Carlos [Zipto]
Carlos [Zipto]
Aportador
Mensajes Mensajes : 233

Explociones By: SoulKnight! Empty Explociones By: SoulKnight!

Lun Mayo 07, 2012 4:25 pm
Hola aki les traigo este spell que encontre en Blacktibia

Tuot/data/spells/script/attack copias 1 archivo lua,,lo renombras con el nombre que tu elijas en mi kaso sera pr-dead

Código:
local acombat1 = createCombatObject()
local acombat2 = createCombatObject()
local acombat3 = createCombatObject()
local acombat4 = createCombatObject()
local acombat5 = createCombatObject()
local acombat6 = createCombatObject()
local acombat7 = createCombatObject()
local acombat8 = createCombatObject()

 
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 37)
setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 35)
setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 4)
setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 40)
setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)
 
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 38)
setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 10)
setCombatFormula(combat3, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)
 
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 15)
setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, 3)
setCombatFormula(combat4, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)
 
local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 51)
setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, 41)
setCombatFormula(combat5, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)

local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 40)
setCombatParam(combat6, COMBAT_PARAM_DISTANCEEFFECT, 28)
setCombatFormula(combat6, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)

local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 52)
setCombatParam(combat7, COMBAT_PARAM_DISTANCEEFFECT, 36)
setCombatFormula(combat7, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)

local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, 5)
setCombatParam(combat8, COMBAT_PARAM_DISTANCEEFFECT, 30)
setCombatFormula(combat8, COMBAT_FORMULA_SKILL, 0, -112, 0.82, -57)


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


 
 
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(acombat1, area1)
setCombatArea(acombat2, area2)
setCombatArea(acombat3, area3)
setCombatArea(acombat4, area4)
setCombatArea(acombat5, area5)
setCombatArea(acombat6, area6)
setCombatArea(acombat7, area7)
setCombatArea(acombat8, area8)


function onTargetTile(cid, pos)
    doCombat(cid,combat1,positionToVariant(pos))
end

Y ahora en Spells.xml Pegan Esto!

Código:
<instant name="Massive Dead" words="Pr Dead" lvl="150" mana="900" prem="1" selftarget="1" exhaustion="3000" needlearn="0" script="attack/pr-dead.lua">
                <vocation id="1" />
            <vocation id="2" />
            <vocation id="3" />
            <vocation id="4" />
        </instant>

A continuacion Unas Imagenes Razz

Explociones By: SoulKnight! PrrExplociones By: SoulKnight! 93564771Explociones By: SoulKnight! 54652907

Creditos:
Blacktibia99%
Zipto 1%

Gracias
avatar
Masakre
Miembro
Mensajes Mensajes : 36

Explociones By: SoulKnight! Empty Re: Explociones By: SoulKnight!

Vie Jul 20, 2012 11:22 pm
La 2da imagen se ve buena... y todas en simultánea como que es algo exagerado xd
Volver arriba
Permisos de este foro:
No puedes responder a temas en este foro.