Dark-Tibia


En este foro encontras ayuda subre tu Otserver
 
ÍndicePortalFAQBuscarMiembrosGrupos de UsuariosRegistrarseConectarse
Navegación
 Portal
 Índice
 Miembros
 Perfil
 FAQ
 Buscar
Conectarse
Nombre de Usuario:
Contraseña:
Entrar automáticamente en cada visita: 
:: Recuperar mi contraseña
Últimos temas
» johnnathann
Sáb Sep 15, 2012 8:48 pm por johnnathannj

»  [8.70] Real Global Map 1.8 + Imagenes + Scans
Lun Jun 11, 2012 4:53 am por Lazcano

» Speedy War [8.60]
Vie Mar 30, 2012 2:12 pm por GOD ALE

»  [Rpg-Pvp][8.60]Kreuus Easy
Jue Mar 29, 2012 11:42 pm por GOD ALE

» [Script] Royal Crossbow!
Jue Mar 29, 2012 11:22 pm por GOD ALE

» Ayuda con el ot server
Jue Mar 29, 2012 10:45 pm por GOD ALE

»  Tiko ot editado 8.60
Jue Mar 29, 2012 10:34 pm por GOD ALE

»  VikiRanch.'[8.60] war v.1.0
Jue Mar 29, 2012 9:54 pm por GOD ALE

» Abrir Puertos De Tibia En El Router Thomson tg585 de telmex
Vie Oct 28, 2011 1:21 pm por panda

Mejores posteadores
Dj Pacos
 
admin heber723
 
God Maracula
 
GoD Mexicansoul
 
God Dunckan
 
Admin Azteca
 
Slayer
 
God Damubu
 
DJ Punk
 
Glonlova
 

Comparte | 
 

 [Script] MEdusa Rune

Ver el tema anterior Ver el tema siguiente Ir abajo 
AutorMensaje
GoD Mexicansoul
Aportador
Aportador


50

Mensajes : 72
Puntos : 157
Reputación : 25
Fecha de inscripción : 27/04/2011

MensajeTema: [Script] MEdusa Rune   Mar Mayo 03, 2011 7:11 pm

van a su server data/spells/scripts y ponen esto:
Código:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 10)
setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 4)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -10.1, -99, -10.5, -98)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 10)
setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, 4)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -10.1, -99, -10.5, -98)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 10)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -10.3, -97, -11.5, -99)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 10)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -10.6, -99, -11.3, -97)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 43)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -10.3, -89, -10.9, -95)

local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 48)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -10.2, -91, -10.6, -90)

local combat7 = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 43)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -10.9, -97, -10.7, -89)

local combat8 = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, 48)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -10.4, -95, -10.1, -93)

local combat9 = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, 48)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -10.8, -98, -10.2, -94)

local combat10 = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 11)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -10.4, -94, -10.3, -98)

local combat11 = createCombatObject()
setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat11, COMBAT_PARAM_EFFECT, 47)
setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -10.4, -94, -10.3, -98)

local combat12 = createCombatObject()
setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat12, COMBAT_PARAM_EFFECT, 37)
setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -10.4, -94, -10.3, -98)

local combat13 = createCombatObject()
setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat13, COMBAT_PARAM_EFFECT, 15)
setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -10.4, -94, -10.3, -98)

local combat14 = createCombatObject()
setCombatParam(comba14, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat14, COMBAT_PARAM_EFFECT, 15)
setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -10.4, -94, -10.3, -98)

local combat15 = createCombatObject()
setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat15, COMBAT_PARAM_EFFECT, 15)
setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -10.4, -94, -10.3, -98)

local combat16 = createCombatObject()
setComb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 0},
{0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0},
{0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0},
}

local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
local area7 = createCombatArea(arr7)
local area8 = createCombatArea(arr8)
local area9 = createCombatArea(arr9)
local area10 = createCombatArea(arr10)
local area11 = createCombatArea(arr11)
local area12 = createCombatArea(arr12)
local area13 = createCombatArea(arr13)
local area14 = createCombatArea(arr14)
local area15 = createCombatArea(arr15)
local area16 = createCombatArea(arr16)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)
setCombatArea(combat7, area7)
setCombatArea(combat8, area8)
setCombatArea(combat9, area9)
setCombatArea(combat10, area10)
setCombatArea(combat11, area11)
setCombatArea(combat12, area12)
setCombatArea(combat13, area13)
setCombatArea(combat14, area14)
setCombatArea(combat15, area15)
setCombatArea(combat16, area16)

local function onCastSpell1(parameters)
doCombat(parameters.cid, parameters.combat1, parameters.var)
end

local function onCastSpell2(parameters)
doCombat(parameters.cid, parameters.combat2, parameters.var)
end

local function onCastSpell3(parameters)
doCombat(parameters.cid, parameters.combat3, parameters.var)
end

local function onCastSpell4(parameters)
doCombat(parameters.cid, parameters.combat4, parameters.var)
end

local function onCastSpell5(parameters)
doCombat(parameters.cid, parameters.combat5, parameters.var)
end

local function onCastSpell6(parameters)
doCombat(parameters.cid, parameters.combat6, parameters.var)
end

local function onCastSpell7(parameters)
doCombat(parameters.cid, parameters.combat7, parameters.var)
end

local function onCastSpell8(parameters)
doCombat(parameters.cid, parameters.combat8, parameters.var)
end

local function onCastSpell9(parameters)
doCombat(parameters.cid, parameters.combat9, parameters.var)
end

local function onCastSpell10(parameters)
doCombat(parameters.cid, parameters.combat10, parameters.var)
end

local function onCastSpell11(parameters)
doCombat(parameters.cid, parameters.combat11, parameters.var)
end

local function onCastSpell12(parameters)
doCombat(parameters.cid, parameters.combat12, parameters.var)
end

local function onCastSpell13(parameters)
doCombat(parameters.cid, parameters.combat13, parameters.var)
end

local function onCastSpell14(parameters)
doCombat(parameters.cid, parameters.combat14, parameters.var)
end

local function onCastSpell15(parameters)
doCombat(parameters.cid, parameters.combat15, parameters.var)
end

local function onCastSpell16(parameters)
doCombat(parameters.cid, parameters.combat16, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6, combat7 = combat7, combat8 = combat8, combat9 = combat9, combat10 = combat10, combat11 = combat11, combat12 = combat12, combat13 = combat13, combat14 = combat14, combat15 = combat15, combat16 = combat16 }
addEvent(onCastSpell1, 0, parameters)
addEvent(onCastSpell2, 200, parameters)
addEvent(onCastSpell3, 400, parameters)
addEvent(onCastSpell4, 600, parameters)
addEvent(onCastSpell5, 800, parameters)
addEvent(onCastSpell6, 1000, parameters)
addEvent(onCastSpell7, 1200, parameters)
addEvent(onCastSpell8, 1800, parameters)
addEvent(onCastSpell9, 1801, parameters)
addEvent(onCastSpell10, 1802, parameters)
addEvent(onCastSpell11, 2000, parameters)
addEvent(onCastSpell12, 2400, parameters)
addEvent(onCastSpell13, 3100, parameters)
addEvent(onCastSpell14, 3800, parameters)
addEvent(onCastSpell15, 4500, parameters)
addEvent(onCastSpell16, 5200, parameters)
return TRUE
end

y en spells xml:

Código:

rune name="Medusa" id="2264" allowfaruse="1" charges="25" mana="0" lvl="1000" maglv="0" exhaustion="1000" blocktype="solid" script="/medusa.lua"/

Gracias si les gusto denme rep
Volver arriba Ir abajo
Ver perfil de usuario
admin heber723
Admin
Admin


100

Mensajes : 128
Puntos : 1163
Reputación : 16
Fecha de inscripción : 27/04/2011

MensajeTema: Re: [Script] MEdusa Rune   Mar Mayo 03, 2011 7:13 pm

bien man +rep

_________________
Si nesesitas ayuda puedes consultarme en:
Ironmancast@hotmail.com
Volver arriba Ir abajo
Ver perfil de usuario
Admin Azteca
Admin
Admin


25

Mensajes : 38
Puntos : 1063
Reputación : 1
Fecha de inscripción : 27/04/2011

MensajeTema: Re: [Script] MEdusa Rune   Mar Mayo 03, 2011 7:14 pm

Buena we +rep
PD:creditos ponlos
Volver arriba Ir abajo
Ver perfil de usuario http://dark-tibia.foroactivo.mx
Contenido patrocinado




MensajeTema: Re: [Script] MEdusa Rune   Hoy a las 1:53 am

Volver arriba Ir abajo
 
[Script] MEdusa Rune
Ver el tema anterior Ver el tema siguiente Volver arriba 
Página 1 de 1.
 Temas similares
-
» Problema script vs chat box
» script de movimiento vertical
» Como Poner Script
» ¿que es el Script?
» Duda con un script

Permisos de este foro:No puedes responder a temas en este foro.
Dark-Tibia :: Scripts-
Cambiar a: