OTServ
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Dirección Ip
(TUTORIAL) Crear un item que suba ml y skill 3
Conectarse

Recuperar mi contraseña

Buscar
 
 

Resultados por:
 

 


Rechercher Búsqueda avanzada

Mejores posteadores
XxStroksxX (463)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
~*~[:Đαяќ:]~[:тιβια:]~*~ (366)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
spoor (83)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
Dj Pacos (73)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
God Skit (68)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
GoD MexicanSoul (40)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
fuzzy (35)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
Eddie (31)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
GOD Chimito (30)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 
conalep1996 (23)
(TUTORIAL) Crear un item que suba ml y skill Vote1111(TUTORIAL) Crear un item que suba ml y skill Vote2111(TUTORIAL) Crear un item que suba ml y skill Vote3111 

Últimos temas
» [???] [Super Naruto OT]
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Lun Jun 08, 2015 12:08 pm por keishmer91

» [ACTION] God/GM da item a un player
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Mar Dic 02, 2014 12:53 pm por hecmanos

» [8.60] Nuevo War Thais By TheRobertxon
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Vie Jun 20, 2014 10:56 am por luismc

» [7.92]Naruto Final Story!
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Dom Mayo 26, 2013 2:40 am por ricardotuck

» [9.1] Fun Server
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Mar Mayo 14, 2013 5:32 pm por skifer

» [9.1] The Forgotten Server v0.2.11pl2 (Mystic Spirit)
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Mar Mayo 14, 2013 5:29 pm por skifer

» New Map 8.60 (Darksystem) By: Turock & Gilio LIsto Arreglado El
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Mar Mayo 07, 2013 5:27 pm por tonyso

» Ocean Clasic Global Map 8.6
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Miér Mayo 01, 2013 11:19 pm por maganiua

» ayuda a abrir puertos
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Lun Abr 29, 2013 5:58 pm por XxStroksxX

» [8.60] Speedy War
(TUTORIAL) Crear un item que suba ml y skill Icon_m10Dom Abr 28, 2013 5:51 pm por Sunnade'Audio

Upload Images
ImagesHack
Scanner
VirusTotal

(TUTORIAL) Crear un item que suba ml y skill

3 participantes

Ir abajo

(TUTORIAL) Crear un item que suba ml y skill Empty (TUTORIAL) Crear un item que suba ml y skill

Mensaje por God Skit Miér Mar 02, 2011 9:33 am

Empezemos


abre data/items/items.xml y busca el item que quieras que aga la funcion. Pero nosotros vamos a usar unos legs. En este caso usaremos los dragon scale legs(item id:2469)


Código:
<item id="2469" name="Dragon Scale legs">
<attribute key="weight" value="4800" />
<attribute key="armor" value="12" />
<attribute key="slotType" value="legs" />
</item>


Ahora lo vamos a configurar o editar, le cambiaremos el name y agregaremos las funciones que suba lo que tu quieras en nuestro caso subiremos todo a la vez!


Código:
<item id="2469" name="Vip Legs">
<attribute key="weight" value="4800" />
<attribute key="armor" value="12" />
<attribute key="slotType" value="legs" />
<attribute key="skillAxe" value="5" />
<attribute key="skillSword" value="5" />
<attribute key="skillClub" value="5" />
<attribute key="skillShield" value="5" />
<attribute key="skillMagic" value="5" />
</item>



value = "5" Es el valor de lo que subira el item. +5 podran cambiarlo como quieran


Luego que terminen Con el item, nos vamos a data/movements/movements.xml y agregan esto en cualquier linea


Código:
<movevent type="DeEquip" itemid="2469" slot="legs" event="function" value="onDeEquipItem">
<vocation id="1"/> <!-- Sorc -->
<vocation id="2"/> <!-- Druid -->
<vocation id="3"/> <!-- Pally -->
<vocation id="4"/> <!-- Kina -->
<vocation id="5" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>
<movevent type="Equip" itemid="2469" slot="legs" event="function" value="onEquipItem">
<vocation id="1"/> <!-- Sorc -->
<vocation id="2"/> <!-- Druid -->
<vocation id="3"/> <!-- Paladin -->
<vocation id="4"/> <!-- Knight -->
<vocation id="5" showInDescription="0"/>
<vocation id="6" showInDescription="0"/>
<vocation id="7" showInDescription="0"/>
<vocation id="8" showInDescription="0"/>
</movevent>


Como ven en el codigo lo pueden usar todas las vocaciones, si quieres que lo usen las vocaciones que tu quieras lo editas a tu manera
Y ya esta, si quieres lo empiezas a testiar y lo pones en tu ot

God Skit
God Skit

Forero fase Beta
Forero fase Beta

+ New User +
Masculino Mexico Virgo Rata
Chrome
Edad Edad : 27
Mensajes Mensajes : 68
Localización Localización : veracruz
Fecha de inscripción Fecha de inscripción : 27/02/2011

Hoja de personaje
Personaje: Sir'garin
Vocation: Sorcerer
Mundo: Shivera

Volver arriba Ir abajo

(TUTORIAL) Crear un item que suba ml y skill Empty Re: (TUTORIAL) Crear un item que suba ml y skill

Mensaje por XxStroksxX Miér Mar 02, 2011 8:17 pm

Eso es facil jajaja, pero buen aporte!
XxStroksxX
XxStroksxX

+ Administrador +
+ Administrador +

¡Sorcerer Rapero!
Masculino España Géminis Cerdo
Chrome
Edad Edad : 28
Mensajes Mensajes : 463
Localización Localización : Barcelona
Fecha de inscripción Fecha de inscripción : 01/08/2010

Hoja de personaje
Personaje: Khail Phount
Vocation: Knight
Mundo: Infernia

http://www.otserv.biz/

Volver arriba Ir abajo

(TUTORIAL) Crear un item que suba ml y skill Empty Re: (TUTORIAL) Crear un item que suba ml y skill

Mensaje por ~*~[:Đαяќ:]~[:тιβια:]~*~ Vie Mar 04, 2011 12:21 pm

bueno
~*~[:Đαяќ:]~[:тιβια:]~*~
~*~[:Đαяќ:]~[:тιβια:]~*~

+ Moderador +
+ Moderador +

*~Elder Wolf~*
Masculino Mexico Virgo Cerdo
Chrome
Edad Edad : 28
Mensajes Mensajes : 366
Localización Localización : :O ala versh XD
Fecha de inscripción Fecha de inscripción : 29/01/2011

http://www.chaosserv.no-ip.info

Volver arriba Ir abajo

(TUTORIAL) Crear un item que suba ml y skill Empty Re: (TUTORIAL) Crear un item que suba ml y skill

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.