Ir para conteúdo

Novas Magias


Posts Recomendados

:withstupidsmiley: DAEW CAMBADA MEU 2 POST DESSA VEZ DE SCRIPT DE MAGIAS :thumbsupsmiley:

VOU PASSAR UMAS BOAS AEW

 

vao em data/spells

 

1° O AKIVO.XML(BAGUIO DO BLOKO DE NOTAS) :XTibia_smile: do bloko de notas abra e cole isso......

<instant name="Meteor Fall" words="Exevo Gran Res Flam" lvl="100" maglv="90" mana="2000" soul="0" exhaustion="0" prem="1" enabled="1" script="Meteor Fall.lua"><vocation id="5"/><vocation id="6"/></instant>

<instant name="Berserk" words="exori star" lvl="9" maglv="1" manapercent="20" soul="0" exhaustion="0" prem="1" enabled="1" script="knight.lua"><vocation id="4"/><vocation id="8"/></instant>

<instant name="energy" words="exori energy" aggressive="0" lvl="20" maglv="1" mana="130" soul="0" exhaustion="1" prem="1" enabled="1" script="exori lol.lua"><vocation id="6"/></instant>

<instant name="Dragon Strike" words="exori dragon" direction="1" lvl="12" maglv="3" mana="20" soul="0" exhaustion="1" prem="1" enabled="1" script="Exori Dragon.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/></instant>

<instant name="Berserk Kick" words="Exori Kick" lvl="35" maglv="5" mana="300" soul="0" exhaustion="1" prem="0" enabled="1" script="Kick.lua"><vocation name="Elite Knight"/></instant>

<instant name="exori rox" words="exori rox" aggressive="1" lvl="40" maglv="5" mana="150" soul="0" exhaustion="1" prem="1" enabled="1" script="exori rox.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/><vocation id="7"/><vocation id="8"/><vocation id="3"/><vocation id="4"/></instant>

<instant name="Holy gran" words="exevo gran san" lvl="50" maglv="14" mana="180" soul="0" exhaustion="1" prem="0" enabled="1" script="grannn.lua"><vocation id="3"/><vocation id="7"/></instant>

 

ESSAS SAO VARIAS MAGIAS BOAS Q EU ESTOU PASANDO

 

 

 

agora os scripts apra a pasta data/spell/scripts/baguios crie um novos documentos e dentro deles coloke em cada essas baguio......

 

Exori dragon........

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 33)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 33)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

 

 

e renomeie para exori dragon

 

agora o exori energy

 

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT)

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)

 

 

local arr = {

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

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

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

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

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

}

 

local area = createCombatArea(arr)

setCombatArea(combat, area)

 

function onCastSpell(cid, var)

return doCombat(cid, combat, var)

end

 

 

renomeio para exori lol

 

 

proximo......

 

attackType = ATTACK_BLOCK

 

needDirection = false

 

areaEffect = NM_ME_HIT_AREA

 

animationEffect = NM_ANI_NONE

 

 

 

hitEffect = NM_ME_HIT_AREA

 

damageEffect = NM_ME_HIT_AREA

 

animationColor = RED

 

offensive = true

 

drawblood = true

 

 

 

UltimateExplosionObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)

 

 

 

function onCast(cid, creaturePos, level, maglv, var)

 

centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}

 

n = tonumber(var) -- try to convert it to a number

 

if n ~= nil then

 

-- bugged

 

-- ultimateExplosionObject.minDmg = var+0

 

-- UltimateExplosionObject.maxDmg = var+0

 

 

 

UltimateExplosionObject.minDmg = 0

 

UltimateExplosionObject.maxDmg = 0

 

else

 

UltimateExplosionObject.minDmg = 1

 

UltimateExplosionObject.maxDmg = 2

 

end

 

 

 

return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered())

 

end

 

renomeio para exori pum

 

 

exori ROX

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.0, -50, -1.0, -100)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 16)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.0, -50, -1.0, -100)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.0, -50, -1.0, -100)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 16)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1.0, -50, -1.0, -100)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)

setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1.0, -50, -1.0, -100)

 

local combat6 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, 16)

setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1.0, -50, -1.0, -100)

 

 

 

arr1 = {

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

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

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

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

{0, 0, 0, 0, 0}

}

 

arr2 = {

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

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

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

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

{1, 1, 1, 1, 1}

}

 

arr3 = {

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

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

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

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

{1, 1, 1, 1, 1}

}

 

arr4 = {

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

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

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

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

{0, 0, 0, 0, 0}

}

 

arr5 = {

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

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

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

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

 

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, 100, parameters)

addEvent(onCastSpell2, 250, parameters)

addEvent(onCastSpell3, 400, parameters)

addEvent(onCastSpell4, 550, parameters)

addEvent(onCastSpell5, 700, parameters)

 

 

 

end

e renomeio para exori rox

 

 

prox........

 

 

exevo gran san

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 39)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 49)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -0.8, 0)

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 31)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.7, 0)

 

local arr1 = {

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

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

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

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

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

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

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

}

 

local arr2 = {

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

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

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

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

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

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

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

}

 

local arr3 = {

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

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

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

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

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

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

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

}

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

local area3 = createCombatArea(arr3)

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

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

function onCastSpell(cid, var)

local parameters = { cid = cid, var = var,combat1 = combat1,combat2 = combat2,combat3 = combat3}

addEvent(onCastSpell1, 1, parameters)

addEvent(onCastSpell2, 2, parameters)

addEvent(onCastSpell3, 3, parameters)

end

e renomeio para grannn

 

agora o ultimo mas n menos importante(muito longe disso)Exevo gran res flam(meteor fall)

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat6 = createCombatObject()

setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat7 = createCombatObject()

setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat7, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat8 = createCombatObject()

setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat8, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat9 = createCombatObject()

setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat9, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat10 = createCombatObject()

setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat10, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat11 = createCombatObject()

setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat11, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat12 = createCombatObject()

setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat12, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat13 = createCombatObject()

setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat13, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat14 = createCombatObject()

setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat14, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat15 = createCombatObject()

setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat15, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat16 = createCombatObject()

setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat16, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat17 = createCombatObject()

setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat17, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat18 = createCombatObject()

setCombatParam(combat18, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat18, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat18, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat19 = createCombatObject()

setCombatParam(combat19, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat19, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)

setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

local combat20 = createCombatObject()

setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat20, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)

setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

 

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

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

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

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

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

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

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

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

local area13 = createCombatArea(arr13)

local area14 = createCombatArea(arr14)

local area15 = createCombatArea(arr15)

local area16 = createCombatArea(arr16)

local area17 = createCombatArea(arr17)

local area18 = createCombatArea(arr18)

local area19 = createCombatArea(arr19)

local area20 = createCombatArea(arr20)

 

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)

setCombatArea(combat13, area13)

setCombatArea(combat14, area14)

setCombatArea(combat15, area15)

setCombatArea(combat16, area16)

setCombatArea(combat17, area17)

setCombatArea(combat18, area18)

setCombatArea(combat19, area19)

setCombatArea(combat20, area20)

 

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

 

local function onCastSpell9(parameters)

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

end

 

local function onCastSpell10(parameters)

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

end

 

local function onCastSpell11(parameters)

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

end

 

local function onCastSpell12(parameters)

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

end

 

local function onCastSpell13(parameters)

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

end

 

local function onCastSpell14(parameters)

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

end

 

local function onCastSpell15(parameters)

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

end

 

local function onCastSpell16(parameters)

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

end

 

local function onCastSpell17(parameters)

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

end

 

local function onCastSpell18(parameters)

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

end

 

local function onCastSpell19(parameters)

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

end

 

local function onCastSpell20(parameters)

doCombat(parameters.cid, parameters.combat20, 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, combat9 = combat9, combat10 = combat10, combat11 = combat11, combat12 = combat12, combat13 = combat13, combat14 = combat14, combat15 = combat15, combat16 = combat16, combat17 = combat17, combat18 = combat18, combat19 = combat19, combat20 = combat20 }

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 300, parameters)

addEvent(onCastSpell3, 500, parameters)

addEvent(onCastSpell4, 700, parameters)

addEvent(onCastSpell5, 900, parameters)

addEvent(onCastSpell6, 1100, parameters)

addEvent(onCastSpell7, 1300, parameters)

addEvent(onCastSpell8, 1500, parameters)

addEvent(onCastSpell9, 1700, parameters)

addEvent(onCastSpell10, 1900, parameters)

addEvent(onCastSpell11, 2100, parameters)

addEvent(onCastSpell12, 2300, parameters)

addEvent(onCastSpell13, 2500, parameters)

addEvent(onCastSpell14, 2700, parameters)

addEvent(onCastSpell15, 2900, parameters)

addEvent(onCastSpell16, 3100, parameters)

addEvent(onCastSpell17, 3300, parameters)

addEvent(onCastSpell18, 3500, parameters)

addEvent(onCastSpell19, 3700, parameters)

addEvent(onCastSpell20, 3900, parameters)

 

end

 

GOSTARAM?ADORARAM?

:construction: VOLTAREI A POSTAR + SCRIPTS NA PROXIMA VERSAO SOBNRE MONSTERS PROVALVOLMENTE :w4:

 

 

falow galera <hail Xtibia> :smile_positivo:

 

 

:who-let-rip-smiley: :weight_lift: :XTibia_smile:

post-115033-1210208468_thumb.png

post-115033-1210208500_thumb.jpg

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

:withstupidsmiley: DAEW CAMBADA MEU 2 POST DESSA VEZ DE SCRIPT DE MAGIAS :thumbsupsmiley:

VOU PASSAR UMAS BOAS AEW

 

VCs ja devem saber como q coloka magias entaum n vo fika explikando e simplismente vo coloka os scripts :lol:

 

1° aquele baguio :XTibia_smile: do bloko de notas abra e cole isso......

 

 

 

 

ESSAS SAO VARIAS MAGIAS BOAS Q EU ESTOU PASANDO

 

 

 

agora os scripts apra a pasta script crie um novos documentos e dentro deles coloke em cada essas baguio......

 

Exori dragon........

 

 

 

 

 

e renomeie para exori dragon

 

agora o exori energy

 

 

 

 

 

renomeio para exori lol

 

 

proximo......

 

 

 

 

renomeio para exori pum

 

 

exori ROX

 

 

 

e renomeio para exori rox

 

 

prox........

 

 

exevo gran san

 

 

 

e renomeio para grannn

 

agora o ultimo mas n menos importante(muito longe disso)Exevo gran res flam(meteor fall)

 

 

 

 

GOSTARAM?ADORARAM?

:construction: VOLTAREI A POSTAR + SCRIPTS NA PROXIMA VERSAO SOBNRE MONSTERS PROVALVOLMENTE :w4:

 

 

falow galera <hail Xtibia> :smile_positivo:

Então....

As magias estão interessantes, mas você disse que não ia explicar onde por porque você acha que todos ja saibam, acredito que é ai que se engana.

Você não ia ter gastado nenhum minuto a mais escrevendo data/spells ao invés de "VCs ja devem saber como q coloka magias entaum n vo fika explikando e simplismente vo coloka os scripts :lol: "

Tirando isso, o post ta legal e as spells, também.

Abraço

 

//Kronus

Link para o comentário
Compartilhar em outros sites

Primeiramente não é bagio....é um arquivo!

Segundo.....não é bloco de notas...é arquivo XML

Terceiro...Mta gente não sabe colocar as magias...vc tem que ensinar passo a passo!

Arruma isso aew cara

Procure usar spoiler pra não ficar um post muito grande e as pessoas entenderem melhor!

Fora isso algumas spells estão boas!

Vlw pela tentativa.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...