infelismente não vi este topico a tempo
tá fechado e não pude responder lá
http://www.xtibia.com/forum/index.php?showtopic=58221
sei que o lugar não é aqui , mas aqui todos vão ver antes de ser movido.
editar o arquivo data\spells\spells.xml
acrescentar esta linha
(aconselho acrescentar após "<!-- instant spells -->")
<instant name="Summon Cobra" words="QueroCobra" aggressive="0" direction="1" lvl="12" maglv="1" mana="5" soul="0" exhaustion="1" prem="1" enabled="1" script="Quero Cobra.lua"><vocation id="2"/><vocation id="1"/><vocation id="6"/><vocation id="5"/></instant>
criar o arquivo data\spells\scripts\Quero Cobra.xml
local combat = createCombatObject() function onCastSpell(cid, var) PlayerPos = getCreaturePosition(cid) doSummonCreature("Cobra", PlayerPos) return 1 end
Os nomes podem ser alterados CLARO
mas tenham certeza de alterar no lugar certo e nos 2 arquivos