Ir para conteúdo

Exevo Love! (Ksaoakosk)


DarkRonan

Posts Recomendados

I aew galera do :XTibia_smile:

to akew pra apresenta uma spells mto loka feita por min!

 

Script code: (spells/script/...)

local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_HEARTS)
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_MAGIC_RED)
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_HEARTS)
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_MAGIC_RED)
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_HEARTS)
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_FIREWORK_RED)
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_FIREWORK_RED)
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_FIREWORK_RED)
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_FIREWORK_RED)
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_FIREWORK_RED)
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_FIREWORK_RED)
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_FIREWORK_RED)
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_FIREWORK_RED)
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, 27)
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_FIREWORK_RED)
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_SOUND_PURPLE)
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_HEARTS)
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_FIREWORK_RED)
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, 27)
setCombatParam(combat19, COMBAT_PARAM_CREATEITEM, 1492)
setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC , -1.3, -9, -1.2, -10)

local combat20 = createCombatObject()
setCombatParam(combat20, COMBAT_PARAM_TYP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, 0, 0},
{1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1},
{0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1},
{0, 1, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 0, 0, 1},
{0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1},
{1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 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},
}

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

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, 2800, parameters)
addEvent(onCastSpell15, 3200, parameters)
addEvent(onCastSpell16, 3800, parameters)
addEvent(onCastSpell17, 4000, parameters)
addEvent(onCastSpell18, 4400, parameters)
addEvent(onCastSpell19, 4800, parameters)
addEvent(onCastSpell20, 5000, parameters)

end

 

 

Dps abra spells.xml

copie i cole o seguinte code:

          <instant name="love" words="exevo love" lvl="100" mana="495" prem="1"  direction="0" exhaustion="1000" needlearn="0" script="attack/love.lua">
	<vocation name="Knight" /> 
	<vocation name="Elite Knight" />
               <vocation name="sorcerer" />
               <vocation name="master sorcerer" />
               <vocation name="druid" />
               <vocation name="elder druid" />
               <vocation name="paladin" />
               <vocation name="royal paladin" />

 

I é isu aew... :smile_positivo:

lembrando q n eh exatamente spell pra combat, eh mais um "spell art"

:appearance:

 

 

screen shot:

Print

 

 

By DarkRonan

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

  • 2 weeks later...
  • 1 month later...
×
×
  • Criar Novo...