Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest sistema_rangos begin
- state start begin
- when 53001.use with pc.is_gm() begin
- say_title("Guerra Total")
- say("")
- say("Hola "..pc.get_name().." quieres activar")
- say("o desactivar una Guerra Total?")
- say("")
- local activar = select ("Activar" , "Desactivar" , "Paso")
- if activar == 1 then
- game.set_event_flag("totalwar", 1)
- notice_all("La guerra total se ha iniciado")
- notice_all("Ves con el Seon-Pyeong para acceder")
- elseif activar == 2 then
- game.set_event_flag("totalwar", 0)
- notice_all("La guerra total se ha desactivado")
- elseif activar == 3 then
- return
- end
- end
- when 20091.chat."Guerra total" begin
- if game.get_event_flag("totalwar") == 1 then
- say("La guerra total esta activa")
- say("Deseas ir?")
- local guerra = select ("Si", "No")
- if guerra == 1 then
- pc.warp(951600, 30000)
- elseif guerra == 2 then
- return
- end
- elseif game.get_event_flag("totalwar") == 0 then
- say("La guerra total no esta activa")
- say("Te avisare cuando se active")
- end
- end
- when kill with npc.is_pc() and pc.get_map_index() == 114 begin
- pc.give_item2("100035", 1)
- pc.give_item2("100039", 1)
- end
- when 1093.kill with pc.get_map_index() == 114 begin
- pc.give_item2("100035", 5)
- pc.give_item2("100039", 1)
- notice_all(""..pc.get_name().." ha aniquilado *|Segador de la muerte|*")
- end
- when 1094.kill with pc.get_map_index() == 114 begin
- pc.give_item2("100035", 3)
- pc.give_item2("100039", 1)
- notice_all(""..pc.get_name().." ha aniquilado *|Rey Demonio Vil|*")
- end
- when 2206.kill with pc.get_map_index() == 114 begin
- pc.give_item2("100035", 6)
- pc.give_item2("100039", 1)
- notice_all(""..pc.get_name().." ha aniquilado *|Rey Llama|*")
- end
- when 2091.kill with pc.get_map_index() == 114 begin
- pc.give_item2("100035", 6)
- pc.give_item2("100039", 1)
- notice_all(""..pc.get_name().." ha aniquilado *|Reina Araña|*")
- end
- when 1901.kill with pc.get_map_index() == 114 begin
- pc.give_item2("100035", 6)
- pc.give_item2("100039", 1)
- notice_all(""..pc.get_name().." ha aniquilado *|Nueve Colas|*")
- end
- when 101.kill or 102.kill or 103.kill or 104.kill or 105.kill or 106.kill or 107.kill or 108.kill or 109.kill or 110.kill or 111.kill or 112.kill or 113.kill or 114.kill or 115.kill or 131.kill or 132.kill or 133.kill or 134.kill or 135.kill or 136.kill or 137.kill or 138.kill or 139.kill or 140.kill or 141.kill or 142.kill or 143.kill or 144.kill or 151.kill or 152.kill or 153.kill or 154.kill or 155.kill or 171.kill or 172.kill or 173.kill or 174.kill or 175.kill or 176.kill or 177.kill or 178.kill or 179.kill or 180.kill or 181.kill or 182.kill or 183.kill or 184.kill or 185.kill or 191.kill or 192.kill or 193.kill or 194.kill or 301.kill or 302.kill or 303.kill or 304.kill or 331.kill or 332.kill or 333.kill or 334.kill or 351.kill or 352.kill or 353.kill or 354.kill or 391.kill or 392.kill or 393.kill or 394.kill or 395.kill or 396.kill or 397.kill or 398.kill or 401.kill or 402.kill or 403.kill or 404.kill or 405.kill or 406.kill or 431.kill or 432.kill or 433.kill or 434.kill or 435.kill or 436.kill or 451.kill or 452.kill or 453.kill or 454.kill or 455.kill or 456.kill or 491.kill or 492.kill or 493.kill or 494.kill or 501.kill or 502.kill or 503.kill or 504.kill or 531.kill or 532.kill or 533.kill or 534.kill or 551.kill or 552.kill or 553.kill or 554.kill or 591.kill or 595.kill or 601.kill or 602.kill or 603.kill or 604.kill or 604.kill or 631.kill or 632.kill or 633.kill or 634.kill or 635.kill or 636.kill or 637.kill or 651.kill or 652.kill or 653.kill or 654.kill or 655.kill or 656.kill or 657.kill or 691.kill or 692.kill or 693.kill or 701.kill or 702.kill or 703.kill or 704.kill or 705.kill or 706.kill or 707.kill or 731.kill or 732.kill or 733.kill or 734.kill or 735.kill or 736.kill or 737.kill or 751.kill or 752.kill or 753.kill or 754.kill or 755.kill or 756.kill or 757.kill or 771.kill or 772.kill or 773.kill or 774.kill or 775.kill or 776.kill or 777.kill or 791.kill or 792.kill or 793.kill or 794.kill or 795.kill or 796.kill or 901.kill or 902.kill or 903.kill or 904.kill or 905.kill or 906.kill or 907.kill or 931.kill or 932.kill or 933.kill or 934.kill or 935.kill or 936.kill or 937.kill or 991.kill or 992.kill or 993.kill or 1001.kill or 1002.kill or 1003.kill or 1004.kill or 1031.kill or 1032.kill or 1033.kill or 1034.kill or 1035.kill or 1036.kill or 1037.kill or 1038.kill or 1039.kill or 1040.kill or 1041.kill or 1061.kill or 1062.kill or 1063.kill or 1064.kill or 1065.kill or 1066.kill or 1067.kill or 1068.kill or 1069.kill or 1070.kill or 1071.kill or 1091.kill or 1092.kill or 1093.kill or 1094.kill or 1095.kill or 1101.kill or 1102.kill or 1103.kill or 1104.kill or 1105.kill or 1106.kill or 1107.kill or 1131.kill or 1132.kill or 1133.kill or 1134.kill or 1135.kill or 1136.kill or 1137.kill or 1151.kill or 1152.kill or 1153.kill or 1154.kill or 1155.kill or 1156.kill or 1157.kill or 1171.kill or 1172.kill or 1173.kill or 1174.kill or 1175.kill or 1176.kill or 1177.kill or 1191.kill or 1192.kill or 1301.kill or 1302.kill or 1303.kill or 1304.kill or 1305.kill or 1306.kill or 1307.kill or 1331.kill or 1332.kill or 1333.kill or 1334.kill or 1335.kill or 1401.kill or 1402.kill or 1403.kill or 1501.kill or 1502.kill or 1503.kill or 1601.kill or 1602.kill or 1603.kill or 1901.kill or 1902.kill or 1903.kill or 2001.kill or 2002.kill or 2003.kill or 2004.kill or 2005.kill or 2031.kill or 2032.kill or 2033.kill or 2034.kill or 2035.kill or 2036.kill or 2051.kill or 2052.kill or 2053.kill or 2054.kill or 2055.kill or 2061.kill or 2062.kill or 2063.kill or 2064.kill or 2065.kill or 2071.kill or 2072.kill or 2073.kill or 2074.kill or 2075.kill or 2076.kill or 2091.kill or 2092.kill or 2093.kill or 2101.kill or 2102.kill or 2103.kill or 2104.kill or 2105.kill or 2106.kill or 2107.kill or 2108.kill or 2131.kill or 2132.kill or 2133.kill or 2134.kill or 2135.kill or 2151.kill or 2152.kill or 2153.kill or 2154.kill or 2155.kill or 2156.kill or 2157.kill or 2158.kill or 2191.kill or 2192.kill or 2202.kill or 2201.kill or 2203.kill or 2204.kill or 2205.kill or 2206.kill or 2207.kill or 2231.kill or 2232.kill or 2233.kill or 2234.kill or 2235.kill or 2291.kill or 2301.kill or 2303.kill or 2304.kill or 2305.kill or 2306.kill or 2307.kill or 2311.kill or 2312.kill or 2313.kill or 2314.kill or 2315.kill or 2401.kill or 2402.kill or 2403.kill or 2404.kill or 2411.kill or 2412.kill or 2413.kill or 2414.kill or 2431.kill or 2432.kill or 2433.kill or 2434.kill or 2451.kill or 2452.kill or 2453.kill or 2454.kill or 2491.kill or 2492.kill or 2493.kill or 2494.kill or 2495.kill begin
- local number = number(1, 35)
- if number == 1 then
- game.drop_item("100039", 1)
- end
- end
- when 100001.use begin
- say("Eres rango ciudadano pobre")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100002", 1)
- pc.remove_item("100035", 50)
- pc.remove_item("100001", 1)
- notice_all(""..pc.get_name().." ha subido al rango Ciudadano Honrado")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100002", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100001", 1)
- notice_all(""..pc.get_name().." ha subido al rango Ciudadano Honrado")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 7% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 7, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1700, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 7, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 7, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 7, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 7, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100002.use begin
- say("Eres rango ciudadano Honrado")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 100 then
- say("No tienes los puntos necesarios (100)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 100)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Ciudadano Leal")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 300 then
- say("No tienes los puntos necesarios (300)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 300)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Ciudadano Leal")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100003.use begin
- say("Eres rango ciudadano Leal")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Ciudadano Ejemplar")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Ciudadano Ejemplar")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100004.use begin
- say("Eres rango ciudadano Ejemplar")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100005.use begin
- say("Eres rango Soldado")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado de Primera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado de Primera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100006.use begin
- say("Eres rango Soldado de Primera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado de Segunda")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado de Segunda")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100007.use begin
- say("Eres rango Soldado de Segunda")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado de Tercera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Soldado de Tercera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100008.use begin
- say("Eres rango Soldado de Tercera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Sargento")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Sargento")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100009.use begin
- say("Eres rango Sargento")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Sargento de Primera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Sargento de Primera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100010.use begin
- say("Eres rango Sargento de Primera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Sargento de Segunda")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Sargento de Segunda")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100011.use begin
- say("Eres rango Sargento de Tercera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100012.use begin
- say("Eres rango Capitan")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan de Primera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan de Primera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100013.use begin
- say("Eres rango Capitan de Primera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan de Segunda")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan de Segunda")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100014.use begin
- say("Eres rango Capitan de Segunda")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan de Tercera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Capitan de Tercera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100015.use begin
- say("Eres rango Capitan de Tercera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100016.use begin
- say("Eres rango Comandante")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante de Primera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante de Primera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100017.use begin
- say("Eres rango Comandante de Primera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante de Segunda")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante de Segunda")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100018.use begin
- say("Eres rango Comandante de Segunda")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante de Tercera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Comandante de Tercera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100019.use begin
- say("Eres rango Comandante de Tercera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100020.use begin
- say("Eres rango General")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Defensores", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Primera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Primera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- say("Que defensor deseas invocar")
- local defensor_def = select("Minotauro", "Azrael", "Dragon", "Salir")
- if defensor_def == 1 then
- say("Con el minotauro podras defenderte de los enemigos")
- say("Deseas invocarlo?")
- local invocar = select("Si", "No")
- if invocar == 1 then
- if pc.count_item(100039)< 100 then
- say("No tienes la cantidad necesaria")
- else
- pc.give_item2("100041", 1)
- pc.remove_item("100039", 100)
- end
- elseif invocar == 2 then
- return
- end
- elseif defensor_def == 2 then
- say("feo")
- elseif defensor_def == 3 then
- say("feo")
- elseif defensor_def == 4 then
- return
- end
- elseif ciudadano == 5 then
- return
- end
- end
- when 100021.use begin
- say("Eres rango General de Primera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Segunda")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Segunda")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100022.use begin
- say("Eres rango General de Segunda")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Tercera")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Tercera")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100023.use begin
- say("Eres rango General de Tercera")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Cuarta")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Cuarta")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100024.use begin
- say("Eres rango General de Cuarta")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Quinta")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Quinta")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100025.use begin
- say("Eres rango General de Quinta")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Sexta")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Sexta")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100026.use begin
- say("Eres rango General de Sexta")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Septima")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Septima")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100027.use begin
- say("Eres rango General de Septima")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Octava")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Octava")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100028.use begin
- say("Eres rango General de Octava")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Novena")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Novena")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100029.use begin
- say("Eres rango General de Novena")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Decima")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango General de Decima")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100030.use begin
- say("Eres rango General de Decima")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Jinete del Apocalipsis")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango Jinete del Apocalipsis")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100031.use begin
- say("Eres rango Jinete del Apocalipsis")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango *|Guardia Real|*")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango *|Guardia Real|*")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100032.use begin
- say("Eres rango *|Guardia Real|*")
- say("Que deseas hacer?")
- local ciudadano = select("Subir Rango", "Obtener bonificaciones", "Montar monturas", "Salir")
- if ciudadano == 1 then
- say("Vaya asin que quieres subir de rango")
- say("Te propongo hacerlo mucho mas rapido")
- say("Normalmente necesitas Puntos")
- say("Que se dan en la guerra de reinos")
- say("Yo te puedo subir de rango si me traes resentimientos")
- say("Te costara mas cantidad, pero te los tiran los monstruos")
- say("En cualquier mapa")
- say("Como deseas subirlo?")
- local subir_rango = select("Con puntos", "Con resentimientos", "Salir")
- if subir_rango == 1 then
- if pc.count_item(100035)< 50 then
- say("No tienes los puntos necesarios (50)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100035", 55)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango *|Monarca|*")
- end
- elseif subir_rango == 2 then
- if pc.count_item(100039)< 250 then
- say("No tienes los puntos necesarios (250)")
- else
- pc.give_item2("100003", 1)
- pc.remove_item("100039", 250)
- pc.remove_item("100002", 1)
- notice_all(""..pc.get_name().." ha subido al rango *|Monarca|*")
- end
- elseif subir_rango == 3 then
- return
- end
- elseif ciudadano == 2 then
- say("Bonificacion de 5% en todo i 1500 de hp")
- local bonificacion = select ("Criticos", "HP", "Mediohumanos", "DEX", "STR", "INT", "Salir")
- if bonificacion == 1 and pc.get_map_index()==114 then
- affect.add_collect(apply.CRITICAL_PCT, 5, 60*60*1)
- elseif bonificacion == 2 and pc.get_map_index()==114 then
- affect.add_collect(apply.MAX_HP, 1500, 60*60*1)
- elseif bonificacion == 3 and pc.get_map_index()==114 then
- affect.add_collect(apply.ATTBONUS_HUMAN, 5, 60*60*1)
- elseif bonificacion == 4 and pc.get_map_index()==114 then
- affect.add_collect(apply.DEX, 5, 60*60*1)
- elseif bonificacion == 5 and pc.get_map_index()==114 then
- affect.add_collect(apply.STR, 5, 60*60*1)
- elseif bonificacion == 6 and pc.get_map_index()==114 then
- affect.add_collect(apply.INT, 5, 60*60*1)
- elseif bonificacion == 7 then
- return
- end
- elseif ciudadano == 3 then
- say("Con tu rango no puedes montar monturas")
- elseif ciudadano == 4 then
- return
- end
- end
- when 100033.use begin
- pc.give_item2("1", 1)
- pc.give_item2("1", 1)
- pc.give_item2("1", 1)
- pc.give_item2("1", 1)
- pc.give_item2("1", 1)
- pc.give_item2("1", 1)
- pc.give_item2("1", 1)
- pc.give_item2("100040", 4)
- pc.give_item2("100042", 1)
- notice_all(""..pc.get_name().." es el nuevo |***||/MONARCA\||***|")
- notice_all("el resto de jugadores volvera al rango *|Ciudadano Pobre|*")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100002")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100003")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100004")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100005")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100006")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100007")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100008")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100009")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100010")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100011")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100012")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100013")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100014")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100015")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100016")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100017")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100018")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100019")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100020")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100021")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100022")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100023")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100024")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100025")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100026")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100027")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100028")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100029")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100030")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100031")
- mysql_query("UPDATE item SET vnum=100001 where vnum=100032")
- chat("Obtienes tu equipo de MONARCA")
- chat("Como no queremos que reines solo")
- chat("Se te han otorgado 4 plumas sagradas")
- chat("Entregalas a tus amigos, para que se conviertan")
- chat("En tus PROTECTORES REALES")
- item.remove()
- end
- when 100042.use begin
- say_title("Beneficios de Monarca")
- say("")
- say("Vaya "..pc.get_name().." veo que eres el nuevo monarca")
- say("Dime de que reino eres y te dejare hacer funciones")
- say("Para que tu reino tenga bonificaciones que los otros 2 no tienen")
- say("")
- local reino = select ("Jinno", "Shinsoo", "Chunjo", "Salir")
- if reino == 1 then
- say("Te recuerdo que el uso de los poderes no es ilimitado")
- say("Usalos con cabeza")
- local jinno = select ("Añadir EXP", "Añadir YANG", "Añadir DROP", "Salir")
- if jinno == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 4, 75, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto EXP 75% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif jinno == 2 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 2, 50, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto YANG 50% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif jinno == 3 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 1, 25, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto DROP 25% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif jinno == 4 then
- return
- end
- elseif reino == 2 then
- say("Te recuerdo que el uso de los poderes no es ilimitado")
- say("Usalos con cabeza")
- local shinsoo = select ("Añadir EXP", "Añadir YANG", "Añadir DROP", "Salir")
- if shinsoo == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 4, 75, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto EXP 75% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif shinsoo == 2 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 2, 50, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto YANG 50% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif shinsoo == 3 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 1, 25, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto DROP 25% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif shinsoo == 4 then
- return
- end
- elseif reino == 3 then
- say("Te recuerdo que el uso de los poderes no es ilimitado")
- say("Usalos con cabeza")
- local shinsoo = select ("Añadir EXP", "Añadir YANG", "Añadir DROP", "Salir")
- if shinsoo == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 2 horas")
- return
- end
- notice_all("El monarca "..pc.get_name().." ha puesto EXP 75% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*2)
- elseif shinsoo == 2 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 2, 50, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto YANG 50% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif shinsoo == 3 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- __give_empire_priv(3, 1, 25, 60*60*6)
- notice_all("El monarca "..pc.get_name().." ha puesto DROP 25% 6 horas")
- pc.setqf("tiempo", get_time() + 60*60*24)
- elseif shinsoo == 4 then
- return
- end
- elseif reino == 4 then
- return
- end
- end
- when 100041.use begin
- notice_all(""..pc.get_name().." ha invocado 1 defensor")
- local coor_x = pc.get_local_x()
- local coor_y = pc.get_local_y()
- local cor_x = math.random(0,10)
- local cor_y = math.random(0,10)
- if pc.get_empire() == 1 then
- mob.spawn(2599, coor_x + cor_x , coor_y + cor_y, 1)
- pc.remove_item("100041", 1)
- elseif pc.get_empire() == 2 then
- mob.spawn(2599, coor_x + cor_x , coor_y + cor_y, 1)
- elseif pc.get_empire() == 3 then
- mob.spawn(2599, coor_x + cor_x , coor_y + cor_y, 1)
- end
- end
- when 100035.use begin
- if pc.count_item("100001") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Ciudadano Pobre|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100002") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Ciudadano Leal|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100003") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Ciudadano Honrado|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100004") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Sargento|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100005") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Sargento de Primera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100006") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Sargento de Segunda|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100007") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Sargento de Tercera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100008") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Comandante|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100009") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Comandante de Primera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100010") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Comandante de Segunda|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100011") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Comandante de Tercera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100012") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100013") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Primera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100014") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Segunda|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100015") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Tercera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100016") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Cuarta|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100017") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Quinta|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100018") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Sexta|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100019") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Septima|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100020") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Octava|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100021") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Novena|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100022") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|General de Decima|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100023") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Samurai|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100024") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Samurai de Primera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100025") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Samurai de Segunda|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100026") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Samurai de Tercera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100027") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Coronel|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100028") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Coronel de Segunda|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100029") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Coronel de Tercera|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100030") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Verdugo|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100031") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|Jinete del Apocalipsis|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100032") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango *|/CAZADOR\|*")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100033") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango ***|/MONARCA\|***")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- if pc.count_item("100034") == 1 then
- if get_time() < pc.getqf("tiempo") then
- chat("Espera 24 horas")
- return
- end
- notice_all(""..pc.get_name().." es rango **|/PROTECTOR REAL\|**")
- pc.setqf("tiempo", get_time() + 60*60*24)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement