Jump to content

Akroma

Miembro
  • Contador contenido

    175
  • Ingreso

  • Última visita

  • Días ganados

    21

Mensajes publicados por Akroma

  1. Buenas zoneros.

     

    Como algunos habreis visto en mi estado de skype, ando desenvolupando, una mazmorra a nivel gigante, basandome en la serie SAO(sword art online).

     

    La mazmorra consiste en 100 plantas, de las quales aqui os pondre una que he terminado hace rato (claramente, la parte de hp, reseteo de cuenta y demas que veais no es que me lo haya dejado, es que no lo e querido poner.)

     

    Aqui os la dejo:

     

     

    quest jefe_final begin

    state start begin

     

    when 2077.chat."Planta 75" begin

    say("Vaya por lo que veo quereis ir a pelear contra el gran jefe")

    say("En el momento en el que alguien acceda")

    say("Todos los sistemas de regeneracion quedaran desactivados")

    say("Borrando la cuenta y el jugador, en el momento")

    say("En que vuestra HP caiga en 0")

    say("Algun jugador podria resucitaros, en los siguientes 3 minutos")

    say("A la primera caida")

    say("Deseais acceder?")

     

    local akro = select("Si","No")

    if akro == 1 then

    timer("akro_reaper", 3)

    end

    end

     

    when akro_reaper.timer begin

    d.new_jump_all(75, 333, 333)

    d.setf("skull_reaper", 1)

    d.spawn_mob(1002, 3333, 3333)

    end

     

    when 1002.kill with d.getf("skull_reaper")== 1 begin

    timer("akro_reapers", 3)

    end

     

    when akro_reapers.timer begin

    d.notice("El gran skull reaper ha sido convocado")

    d.notice("Matarlo, para conseguir el acceso a la planta 76")

    d.notice("Sistemas de regeneracion DESACTIVADOS")

    d.regen_file("data/dungeon/SAO/planta_75.txt")

    end

     

    when 200002.kill with d.getf("skull_reaper")== 1 begin

    d.notice("Skull reaper ha sido derrotado, habeis completado la planta 75")

    notice_all("La planta 75 ha sido liberada, viajeros")

    game.set_event_flag("sao", 75)

    end

    end

    end

  2. Buenas foreros de Zone, me doy el honor de estrenar esta seccion junto a keko, conforme que aqui os traigo mi modo Zombis.

     

    Os estareis preguntando:

     

    -En que consiste esto akroma?

    Senzillo amigos, vosotros partireis de la ronda 1, en 1 mapa con mobs, cada 5 rondas os dropeara 1 cofre i os teletransportara a otra zona del mapa, el cofre solo podra abrirse mientras la dungeon este activa, una vez tengais el cofre, y lo abrais os dropeara 1 arma, armadura, o lo que sea al azar para vuestra raza, en el momento en el que murais os llevaria a city i quedaria anulada la subida para ese jugador, recomiendo ir en grupo, para que sea mas ameno.

     

    Si completais las 45 rondas, podreis llevaros las cosas dropeadas del cofre, y los cofres si decidieseis no abrirlos.

     

    Esta testeada i funciona perfectamente.

     

    PD: Podeis hacer 1 ranking mysql para ella si quereis para tener 1 ranking de maximos jugadores de ronda maxima.

     

    Aqui os la dejo.

     

     

     

    --QUEST CREADA POR AKROMA--

    quest zombie_mode begin

    state start begin

     

    when 20093.chat."Modo Zombis" begin

    say("Deseas ir al Modo zombis?")

    say("Es un modo en el que deberas aguantar oleadas")

    say("De todo tipo de mobs, al azar")

    say("Cuanta mas rondas, aguantes mejor sera la recompensa")

    say("Deseas acceder?")

     

    local zombiis = select("Si", "No")

    if zombiis == 1 then

    pc.warp(9999900, 9999900)

    end

    end

     

    when logout with pc.get_map_index()== 241 and d.getf("mode_zombies")== 1 and d.getf("estancia_completada")!= 1 begin

    pc.remove_item("10010", 5)

    pc.remove_item("10011", 5)

    pc.remove_item("10012", 5)

    pc.remove_item("10013", 5)

    pc.remove_item("10014", 5)

    pc.remove_item("10015", 5)

    pc.remove_item("10016", 5)

    pc.remove_item("1033", 5)

    end

     

    when 20092.chat."Zombis" begin

     

    say_title("Guardian del Modo Zombis")

    say("Hola, viajeros, quereis acceder al modo zombis")

    say("Las rondas, son ilimitadas, en cuanto os maten")

    say("Sereis llevados a la ciudad")

    say("Cada 5 rondas, os dropearan 1 cofre y sereis teletransportados")

    say("A otra zona de el mapa")

    say("Cuanta mas ronda, tengais mejores seran las cosas del cofre")

    say("Quereis entrar al mapa?")

     

    local zombie_map = select("Si", "No")

     

    if zombie_map == 1 then

     

    if pc.level < 75 then

    say("Lo siento, no eres nivel 75 aun")

    else

    timer("start_zombies_cod", 3)

    end

    end

    end

     

    when start_zombies_cod.timer begin

    d.new_jump_all(241, 10399, 10399)

    d.setf("mode_zombies", 1)

    d.setf("wave", 1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    end

     

     

    when 101.kill with d.getf("mode_zombies")== 1 begin

    d.setf("zombies", d.getf("zombies")+1)

     

    if d.getf("zombies")== 30 and d.getf("wave")== 1 then

    game.drop_item(10010, 1)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 2 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 3 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 4 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 5 then

    game.drop_item(10011, 1)

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_bajas", 5)

    end

    end

     

    when rondas_bajas.timer begin

    d.jump_all(777, 777)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 6 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 7 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 8 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 9 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 10 then

    game.drop_item(10012, 1)

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_intermedias", 5)

    end

    end

     

    when rondas_intermedias.timer begin

    d.jump_all(999, 999)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 11 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 12 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 13 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 14 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 15 then

    game.drop_item(10013, 1)

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_altas", 5)

    end

    end

     

    when rondas_altas.timer begin

    d.jump_all(555, 555)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 16 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 17 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 18 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 19 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 20 then

    game.drop_item(10014, 1)

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_aster", 5)

    end

    end

     

    when rondas_aster.timer begin

    d.jump_all(333, 333)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 21 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 22 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 23 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 24 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 25 then

    game.drop_item(10015, 1)

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_finales", 5)

    end

    end

     

    when rondas_finales.timer begin

    d.jump_all(444, 444)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 26 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 27 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 28 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 29 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 30 then

    game.drop_item(10016, 1)

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_finalizadas", 5)

    end

    end

     

    when rondas_finalizadas.timer begin

    d.jump_all(111, 111)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 31 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 32 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 33 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 34 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 35 then

    d.notice("Sereis teletransportados a otra zona")

    timer("rondas_mortales", 5)

    end

    end

     

    when rondas_mortales.timer begin

    d.jump_all(455, 455)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 36 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 37 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 38 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 39 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 40 then

    d.notice("Sereis teletransportados a otra zona")

    timer("ronda_mortifera", 5)

    end

    end

     

    when ronda_mortifera.timer begin

    d.jump_all(988, 988)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 41 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 42 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 43 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 44 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 45 then

    d.notice("Sereis teletransportados a otra zona")

    timer("finalizacion_zombis", 5)

    end

    end

     

    when finalizacion_zombis.timer begin

    d.jump_all(784, 784)

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 46 then

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 47 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 48 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 49 then

    d.setf("wave", d.getf("wave")+1)

    d.setf("zombies", 0)

    d.regen_file("data/dungeon/zombies_cod/wave"..d.getf("wave")..".txt")

    d.notice("Ronda:"..d.getf("wave").."")

    end

     

    if d.getf("zombies")== 30 and d.getf("wave")== 50 then

    d.notice("Haveis completado las 50 rondas del modo Zombis, felicidades viajeros")

    d.notice("Como recompensa, los objetos ganados no desapareceran.")

    d.setf("estancia_completada", 1)

    end

    end

     

    when login with pc.get_map_index() == 241 begin

    loop_timer("muerte_zombis", 4)

     

    end

     

    when muerte_zombis.timer begin

     

    if pc.get_hp() <= 0 then

    warp_to_village()

    end

     

    end

     

    when 10010.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

     

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

     

    when 10011.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

     

    when 10012.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

     

    when 10013.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

     

    when 10014.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

     

    when 10015.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

     

    when 10016.use with d.getf("mode_zombies")== 1 begin

     

    local start_random = math.random(1, 10)

    if start_random == 1 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

     

    elseif start_random == 2 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 3 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 4 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 5 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 6 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 7 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 8 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 9 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

     

    elseif start_random == 10 then

    if pc.get_job()== 0 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 1 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 2 then

    game.drop_item(1033, 1)

    item.remove()

     

    elseif pc.get_job()== 3 then

    game.drop_item(1033, 1)

    item.remove()

    end

    end

    end

    end

    end

     

     

     

     

     

     

     

    Link pastebin

    Debes iniciar sesión para ver el contenido del enlace en esta publicación.
    Te lo puse yo (rafa23alzira) si te molesta dímelo y lo quito.

  3. quest potionuse begin

    state start begin

    when27113.useor27114.useor27115.usebegin

    cmdchat("efecto_poti")

    affect.add_collect(apply.HP_REGEN, 100000, 1)

    end

    end

    end

     

    * donde pone HP_REGEN buscas tu el nombre del bonus de la velocidad de ataque y de movimiento, y donde pone el 100000 pones la cantidad.

     

    ** Tienes que hacer 1 efecto en python para que el cmdchat funcione correctamente, una vez echo tendras el resultado de las pociones rojas y azules ^^.

     

    Esto pueden usarlo todas las personas, gm incluidos.

×
×
  • Crear nuevo...