Ir para conteúdo

Posts Recomendados

fiz um spell onde tem so em ot 7.92 pra baixo

 

mais eu colokei em 8.40 ta aki

 

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_TELEPORT)
setCombatParam(combat, COMBAT_PARAM_MAGICEFFECT, ENERGY)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -5.19, -55, -2.18, 0)

local arr = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 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, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 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, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
}

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

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

 

agora vai no xml e coloke isso

		<instant name="Exevo Gran Mas Mort" words="exevo gran mas mort" lvl="180" mana="3900" prem="0" selftarget="1" exhaustion="2000" needlearn="0" script="attack/name da script.lua">
	<vocation name="Elder Druid"/>
	</instant>

 

;d

Link para o comentário
https://xtibia.com/forum/topic/117454-spell-exevo-gran-mas-mort-azul/
Compartilhar em outros sites

×
×
  • Criar Novo...