Ir para conteúdo

[spell] Sete Magias Que Eu Criei


270591

Posts Recomendados

Pro exevo gran mas cake vc tem que criar um arquivo chamado cake ue.lua e salvá-lo na pasta data\spells\scripts\attack

cole isso nele:

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 51)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.0, 0, 2.0, 0)

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

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

cole isso no seu spells.xml

<instant name="Cake UE" words="exevo gran mas cake" lvl="80" mana="500" prem="1" needweapon="1" exhaustion="2000" selftarget="1" needlearn="0" script="attack/cake ue.lua">
	<vocation name="Knight"/>
	<vocation name="Elite Knight"/>
</instant>

 

Pro exori cake vc tem que fazer a mesma coisa, mas o nome do arquivo .lua tem que ser cake strike.lua

cole isso nele

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 51)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 41)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, 0, -0.7, 0)

local distanceCombat = createCombatObject()
setCombatParam(distanceCombat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(distanceCombat, COMBAT_PARAM_EFFECT, CONST_ME_51)
setCombatParam(distanceCombat, COMBAT_PARAM_DISTANCEEFFECT, 41)
setCombatFormula(distanceCombat, COMBAT_FORMULA_SKILL, 0, -15, 1, 0)

function onCastSpell(cid, var)
if(variantToNumber(var) ~= 0) then
	return doCombat(cid, distanceCombat, var)
end
return doCombat(cid, combat, var)
end

e cole isso no spells.xml:

<instant name="Cake Strike" words="exori cake" lvl="10" mana="20" prem="1" range="5" needtarget="1" blockwalls="1" needweapon="1" exhaustion="2000" needlearn="0" script="attack/cake strike.lua">
	<vocation name="Knight"/>
	<vocation name="Elite Knight"/>
</instant>

 

pro exevo gran mas san, você tem que criar um arquivo .lua na mesma pasta dos dois acima com o nome de gods wrath.lua e colar isso nele

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.6, 0)

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

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

e depois colar isso no spells.xml:

<instant name="God's Wrath" words="exevo gran mas san" lvl="60" mana="300" prem="1" selftarget="1" exhaustion="2000" needlearn="0" script="attack/gods wrath.lua">
	<vocation name="Royal Paladin"/>
</instant>

 

pro exevo san hur crie um arquivo .lua como nos outros acima, seu nome deverá ser holy wave. cole isso no .lua

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.5, 0, -2.0, 0)

local area = createCombatArea(AREA_SQUAREWAVE5, AREADIAGONAL_SQUAREWAVE5)
setCombatArea(combat, area)

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

ponha isso no spells.xml

<instant name="Holy Wave" words="exevo san hur" lvl="40" mana="200" direction="1" exhaustion="2000" needlearn="0" script="attack/holy wave.lua">
	<vocation name="Paladin"/>
	<vocation name="Royal Paladin"/>
</instant>

 

pro exevo mort hur, crie um .lua chamado death wave na mesma pasta dos 4 acima. esse devera ser seu conteudo

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.5, 0, -2.0, 0)

local area = createCombatArea(AREA_SQUAREWAVE5, AREADIAGONAL_SQUAREWAVE5)
setCombatArea(combat, area)

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

ponha isso no spells.xml

	<instant name="Death Wave" words="exevo mort hur" lvl="40" mana="200" direction="1" exhaustion="2000" needlearn="0" script="attack/death wave.lua">
	<vocation name="Sorcerer"/>
	<vocation name="Master Sorcerer"/>
</instant>

 

Essa é a mais simples, você só tem que colar isso no spells.xml ela serve pra criar blank runes

<conjure name="Blank" words="exevo blank" lvl="8" mana="50" soul="1" conjureId="2260" conjureCount="1" exhaustion="1000" needlearn="0" function="conjureRune">
	<vocation name="Druid"/>
	<vocation name="Elder Druid"/>
	<vocation name="Sorcerer"/>
	<vocation name="Master Sorcerer"/>
</conjure>

 

E por fim o momento que todos estavam esperando! Tcham tcham tcham! A boa e velha EXEVO GRAN MAS MORT!!!

crie um arquivo.lua chamado armaggedon e cole isso

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.5, -50, -2.0, 0)
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

e cole isso no spells.xml

	<instant name="Armaggedon" words="exevo gran mas mort" lvl="80" mana="1500" prem="1" exhaustion="2000" selftarget="1" needlearn="0" script="attack/armaggedon.lua">
	<vocation name="Master Sorcerer"/>
</instant>

 

Desculpe se estiver muito desarrumado

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

  • 4 weeks later...
  • 4 weeks later...
×
×
  • Criar Novo...