<-*'Anbu'*-> Admin
Mensajes : 49 Puntos : 24272 Reputación : 12 Fecha de inscripción : 16/03/2011 Edad : 26 Localización : Tampiqko, Tamaulipas
| Tema: [Spell] Exori Great Sáb Mar 19, 2011 5:42 pm | |
| Hola pues ayer en la noche tube tiempo libre y me decidi aser un spell
Esto hace qe lanzes pasteles alrededor tuyo Crean un archivo .lua llamado greatz En tuot/data/spells/scripts/attack/ ponen esto: - Código:
-
--Creado por Anbu-- local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE,COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT,CONST_ME_CAKE) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -500, 1.6, -650)
arr = { {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0}, {0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0}, {0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, }
local area = createCombatArea(arr) setCombatArea(combat, area)
function onCastSpell(cid, var) return doCombat(cid, combat, var) end
Y en spells .xml añaden en attack spells esto: - Código:
-
<instant name="Greatz" words="exori great" lvl="50" mana="250" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="2000" needlearn="0" event="script" value="attack/greatz.lua"> <vocation id="1"/> <vocation id="2"/> <vocation id="5"/> <vocation id="6"/> </instant> Ahora unas imagenes! Creditos: 100% <*-Anbu-*>
Aporte de OT HELP LATINO!
PD: DEJEN +REP
| |
|