AkillesW 6 #1 Postado 10 Agosto, 2008 ------------------------------- Nome: Avalanche de Terra Versão: 8.1 Tipo do script: Spell Servidor Testado: Aries 0.4.5-XML Autor: Hancock ------------------------------- Bem vamos A magia.Aqui uma foto Da Magia. Vamos Começar. Va em : data/items/itens.xml. Abra e procure o id 5747.Vai estar assim <item id="5747" name="rocks"></item> Mude para: <item id="5747" name="rocks"> <attribute key="type" value="magicfield"/> <attribute key="decayTo" value="0"/> <attribute key="duration" value="20"/> </item> Salve e feche. Agora va em data/spell/scripts. copie qualquer arqui e renomeie para terra.lua, Dentro Coloque: local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 5747) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.7, 0) local arr = { {0, 0, 0 ,0 ,0}, {1, 1, 1 ,1 ,1}, {0, 1, 1 ,1 ,0}, {0, 1, 1 ,1 ,0}, {0, 0, 3 ,0 ,0}, } local arrDiag = { {1, 1, 1, 0, 0}, {1, 1, 0, 0, 0}, {1, 0, 1, 0, 0}, {0, 0, 0, 1, 0}, {0, 0, 0, 0, 3}, } local area = createCombatArea(arr, arrDiag) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Salve e feche. Agora va em data/spells/spell.xml Adicione: <instant name="Avalanche de Terra" words="avalanche de terra" aggressive="1" direction="1" lvl="38" maglv="20" mana="250" soul="0" exhaustion="1" prem="0" enabled="1" script="terra.lua"><vocation id="2"/><vocation id="6"/></instant> Pronto,Salve e feche.Agora Abre seu Ot E teste. Se gostarem Doem Ots.(Y) Compartilhar este post Link para o post
Nord 2 #2 Postado 11 Agosto, 2008 Heahehah, que loko, da pra trancar os carinhas por um tempo. Tópico aprovado e movido. Compartilhar este post Link para o post
AkillesW 6 #3 Postado 11 Agosto, 2008 Vle Nord Por aprovar.AUHsuHASuhasuh é legal para trancar os player. Compartilhar este post Link para o post