Olá! Xtibiandos
Bom criei essa magia agora de poco bom vamo la
va na pasta SeuOt\data\spells\scripts e copie um arquivo e renomeie para libertyholy.lua apague tudo e coloque isso
--by: Magnataot--
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE,COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,CONST_ME_HOLYDAMAGE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -100, 1.6, -2500)
arr = {
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1},
{0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 2, 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, 1, 0, 1, 1, 1, 0, 1, 0, 0},
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
va no arquivo speels.xml na pasta SeuOt\data\spells e coloque essa tag
<instant name="Liberty hok" words="holy liberty" lvl="1300" mana="170" prem="1" exhaustion="1500" needlearn="0" script="libertyholy.lua">
<vocation name="Paladin"/>
<vocation name="Elder druid" />
<vocation name="Druid" />
</instant>
Bom espero que gostem uma screen logo abaixo da magia
Ate ++