MINHAS PRIMEIRAS MAGIAS
ESPERO QUE GOSTEM...
EXORI FIRE
copie e cole um arquivo .lua e renomeie para "berserk fire" escreva isso dentro dele
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
e depois escreva isso no spells.xml
<instant name="Berserk Fire" words="exori mas flam" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="1000" needlearn="0" script="attack/berserk fire.lua"> <vocation name="Knight" />
<vocation name="Elite Knight" />
</instant>
imagem da spell
http://img140.imageshack.us/img140/4812/exorifirewn3.jpg
EXORI ICE
copie e cole um arquivo .lua e renomeie para "berserk ice" escreva isso dentro dele
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICEATTACK)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
e depois escreva isso no spells.xml
<instant name="Berserk Ice" words="exori mas frigo" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="1000" needlearn="0" script="attack/berserk ice.lua"> <vocation name="Knight" />
<vocation name="Elite Knight" />
</instant>
imagem da spell
http://img205.imageshack.us/my.php?image=e...masfrigozw5.jpg
EXORI DEATH
copie e cole um arquivo .lua e renomeie para "berserk death" escreva isso dentro dele
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
e depois escreva isso no spells.xml
<instant name="Berserk Death" words="exori mas mort" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="1000" needlearn="0" script="attack/berserk death.lua">
<vocation name="Knight" />
<vocation name="Elite Knight" />
</instant>
imagem da spell
http://img99.imageshack.us/my.php?image=exorimasmortkl8.jpg
EXORI HOLY
copie e cole um arquivo .lua e renomeie para "berserk holy" escreva isso dentro dele
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
e depois escreva isso no spells.xml
<instant name="Berserk Holy" words="exori mas san" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="1000" needlearn="0" script="attack/berserk holy.lua">
<vocation name="Knight" />
<vocation name="Elite Knight" />
</instant>
imagem da spell
http://img510.imageshack.us/my.php?image=exorimasvisft2.jpg
EXORI EARTH
copie e cole um arquivo .lua e renomeie para "berserk earth" escreva isso dentro dele
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_SMALLPLANTS)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
e depois esvreva isso no spells.xml
<instant name="Berserk Earth" words="exori mas tera" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="1000" needlearn="0" script="attack/berserk earth.lua">
<vocation name="Knight" />
<vocation name="Elite Knight" />
</instant>
imagem da spell
http://profile.imageshack.us/user/ogawa/im...imasterarb8.jpg
EXORI ENERGY
copie e cole um arquivo .lua e renomeie para "berserk energy" escreva isso dentro dele
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, -30, -1.2, 0)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
e depois escreva isso no spells.xml
</instant> <instant name="Berserk Energy" words="exori mas vis" lvl="35" mana="120" prem="1" needweapon="1" exhaustion="1000" needlearn="0" script="attack/berserk energy.lua">
<vocation name="Knight" />
<vocation name="Elite Knight" />
</instant>
imagem da spell
http://img510.imageshack.us/my.php?image=exorimasvisft2.jpg
é so isso, por favor preciso de mais ideias então postem aqui