Ir para conteúdo

Posts Recomendados

Primeiro Spell

 

--Calculed by ta4e--
--For tibia 8.31--
--Made in 07/11/08--

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 27)
function getCombatFormulas(cid, lv, maglv)
local formula_min = -((lv*0.25 + maglv*3) * 5000.0)
local formula_max = -((lv*0.25 + maglv*3) * 7000.6)

if(formula_max < formula_min) then
	local tmp = formula_max
	formula_max = formula_min
	formula_min = tmp
end
return formula_min, formula_max
end
local area = createCombatArea(AREA_CROSS6X6)
setCombatArea(combat, area)

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas")

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

 

Va em Scrptis E copie Qualquer documento Cole Isto /\/\/\/\

 

Com o Nome de Crakeess shell

 

Depois Va em Spells.xml E cole isso

 

<instant name="Crakeess shell" words="exevo mas anam" lvl="600" mana="120" prem="1" exhaustion="200" selftarget="1" needlearn="0" script="attack/Crakeess shell.lua">
	<vocation name="Sorcerer"/>
	<vocation name="Druid"/>
	<vocation name="Paladin"/>
	<vocation name="Knight"/>
	<vocation name="Master Sorcerer"/>
	<vocation name="Elder Druid"/>
	<vocation name="Royal Paladin"/>
	<vocation name="Elite Knight"/>
</instant>

 

 

E pronto Agora O spells 2

 

 

Va em Scripts E Cole isto Com o nome de azure of zeus

 

--Calculed by ta4e--
--For tibia 8.31--
--Made in 07/11/08--

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 18)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 41)
function getCombatFormulas(cid, lv, maglv)
local formula_min = -((lv*0.25 + maglv*3) * 50.01)
local formula_max = -((lv*0.25 + maglv*3) * 60.51)

if(formula_max < formula_min) then
	local tmp = formula_max
	formula_max = formula_min
	formula_min = tmp
end
return formula_min, formula_max
end

local area = createCombatArea(AREA_CROSS6X6)
setCombatArea(combat, area)

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas")

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

 

Deois vA em spells.xml

 

E cole isso

 

<instant name="azure of zeus" words="exevo gran mas visss" lvl="550" mana="0" selftarget="1" prem="1" exhaustion="20" needlearn="0" script="attack/azure of zeus.lua">
	<vocation name="Sorcerer"/>
	<vocation name="Master Sorcerer"/>
</instant>

 

 

Faça Bom Proveito

2.bmp

Link para o comentário
https://xtibia.com/forum/topic/119161-globalevent-2-megas-spells/
Compartilhar em outros sites

×
×
  • Criar Novo...