Va na Pasta do seu OT e Procura um Pasta ChamadaSpells!
*Lá Vc colocar O seguinte Codigo :
-----------------------------------------------------------------------
<instant name="gran trap" words="exevo gran trap" lvl="110" mana="100" prem="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="trap.lua">
<vocation name="Master Sorcerer" />
<vocation name="Elder Druid" />
<vocation name="Royal Paladin" />
<vocation name="Elite Knight" />
</instant>
-----------------------------------------------------------------------
Agora vanas Pasta Scripts!
*Lá Vc colocar o seguinte codigo Salve Como trap.lua!
-----------------------------------------------------------------------
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat1, COMBAT_PARAM_CREATEITEM, 1498)
local arr1 = {
{0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 1, 0, 0, 0, 1, 0},
{0, 1, 0, 2, 0, 1, 0},
{0, 1, 0, 0, 0, 1, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 0, 0, 0, 0, 0}
}
local area1 = createCombatArea(arr1)
setCombatArea(combat1, area1)
local function onCastSpell1(parameters)
doCombat(parameters.cid, parameters.combat1, parameters.var)
end
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1 }
addEvent(onCastSpell1, 100, parameters)
end
------------------------------------------------------------------------
Galera Obrigado
:smile_positivo: