Advertisement
Luciano_fuentes

Untitled

Jan 12th, 2017
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. Option Explicit
  2.  
  3. '*************************
  4. 'AUTOR: G TOYZ - TOYZ - LUCIANO
  5. 'FECHA: 12/01
  6. 'RESPETAR CRÉDITOS EN CASO DE USAR EL SISTEMA Y EN UNA PUBLICIDAD _
  7. 'MENCIONAR LAS IMPLEMENTACIONES DEL SERVIDOR, SI ESTA SE INCLUYE, DEJE CRÉDITOS. GRACIAS.
  8. '-------------------
  9. '*************************
  10.  
  11. Private CantidadDeMisioneros As Byte '<--- LA CANTIDAD TOTAL DE MISIONEROS
  12.  
  13. Private Enum eTipoMisioneros
  14. Negro = 1 ' Ilegal
  15. Blanco ' Legal
  16. End Enum
  17.  
  18. Private Enum eBuffs
  19. HappyHour_EXP = 1 'Mayor experiencia. (INFLUYE EN LAS MISIONES HASTA PUEDE DUPLICARSE LA ACTUAL HAPPYHOUR EN CASO DE QUE SEA EL MISMO PREMIO EN OTRA MISIÓN)
  20. HappyHour_ORO 'Lo mismo que el de arriba pero con las palabras ORO
  21. Descuento 'Descuento en el vendedor del misionero.
  22. MenosTiempo 'Menos tiempo en los counters: Inmovilizar, envenenamiento
  23. MasTiempo 'Mas tiempo en los counters: Fuerza, celeridad, invisibilidad, hambre, sed, energía
  24. End Enum
  25.  
  26. Private Type tRecompensa
  27. Oro As Long 'Oro de la recompensa
  28. Objeto() As Obj 'Objetos de la recompensa
  29. Buffs() As eBuffs 'Buffs que se le pueden dar al usuario
  30. End Type
  31.  
  32. Private Type tMatarUsuario
  33. ID As Integer 'ID del usuario a matar
  34. Pos As Integer ' <--- Mapa donde se encuentra (Se actualiza cada vez que se va del mapa) :)
  35. End Type
  36.  
  37. Private Type tMatarNPCObjeto
  38. Objetos As Obj 'El objeto
  39. LoTiene As Boolean '¿Lo consiguió?
  40. End Type
  41.  
  42. Private Type tNPC
  43. ID As Integer 'ID del NPC
  44. Pos As Integer 'Solo el mapa
  45. End Type
  46.  
  47. Private Type tMatarNPC
  48. Cantidad As Byte '<--- Cantidad de NPC's que tiene que matar para conseguir los objetos
  49. Objeto() As tMatarNPCObjeto
  50. npc As tNPC
  51. End Type
  52.  
  53. Private Type tMensajero
  54. Mensaje As String 'El mensaje
  55. ID As Integer 'ID del NPC o usuario.
  56. Usuario As Boolean '¿Es un usuario? si no lo es entonces es un NPC al que tiene que ir.
  57. Pos As Integer '<---- Mapa en donde se encuentra el Usuario o NPC.
  58. End Type
  59.  
  60. Private Type tComprarObjeto
  61. Objeto() As Obj
  62. Oro As Long
  63. ID As Integer
  64. End Type
  65.  
  66. Private Type tObjetivo
  67. MatarUsuario As tMatarUsuario
  68. MatarNPC As tMatarNPC
  69. Mensajero As tMensajero
  70. ComprarObjeto() As tComprarObjeto
  71. End Type
  72.  
  73. Private Type tMision
  74. Recompensa As tRecompensa 'La recompensa.
  75. Objetivo As tObjetivo 'Objetivo
  76. Costo As Long 'En caso de que la arme un usuario (EN ORO)
  77. Tiempo As Integer 'Tiempo que tiene para hacer la misión.
  78. End Type
  79.  
  80. Private Type tReservacion
  81. Objeto() As Obj 'Todos los objetos en reserva
  82. Oro As Long 'El oro total
  83. Misionero As Byte 'Misionero al que se lo reservó
  84. End Type
  85.  
  86. Private Type tVenta
  87. Objeto As Obj
  88. Oro As Long
  89. End Type
  90.  
  91. Private Type tVendedor
  92. ID As Integer
  93. Pos As WorldPos
  94. Reservacion() As tReservarcion
  95. Objeto() As tVenta
  96. End Type
  97.  
  98. Private Type tDatosHombre
  99. ID As Integer
  100. Reputacion As Integer
  101. EnMision As Boolean
  102. End Type
  103.  
  104. Private Type tHombre
  105. MatadorDeNPC As tDatosHombre
  106. Mensajero As tDatosHombre
  107. MatadorUsuarios As tDatosHombre
  108. CompradorObjetos As tDatosHombre
  109. End Type
  110.  
  111. Private Type tArmarObjeto
  112. ID As Integer
  113. LoTiene As Boolean
  114. End Type
  115.  
  116. Private Type tMisionero
  117. Hombre() As tHombre
  118. Mision() As tMision
  119. Objeto() As Obj
  120. ArmarObjeto() As tArmarObjeto
  121. Vendedor As tVendedor
  122. Sastre As tNPC
  123. Herrero As tNPC
  124. Tipo As eTipoMisioneros
  125. Pos As WorldPos
  126. Oro As Long
  127. ID As Integer
  128. End Type
  129.  
  130. Private Misionero() As tMisionero
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement