Drop ciob dragon alchimie

Avatar utilizator
yonr1
Nivel 4

Nivel 4
Mesaje: 677
Membru din: 03 Dec 2013, 08:42
Aprecieri: 297  
Mulţumiri: 30  
  Rezolvări prob.: 14
Medalii

Nume: drop ciob dragon
Descriere: quest pentru ciob dragon, se poate seta dropu
Imagini: Fara.
Quest: quest modificat din clar de luna sa pice iteme direct pe jos sa nu se stranga prea multe in inventar daca nu le vrei.
daca ceva nu va place mai modificati voi

Cod: Selectaţi tot

    quest Ciob_dragon begin
    state start begin
    when login begin
    if game.get_event_flag("CiobDragon") == 1 then
    end
    end
    when kill begin
    local m_ind = pc.get_map_index()
    if npc.is_pc() then
    else
    if m_ind == 1 or m_ind == 3 or m_ind == 21 or m_ind == 23 or m_ind == 41 or m_ind == 43 and pc.get_level() <= 20 then
    if game.get_event_flag("CiobDragon") == 1 then
    local chance = number(1, 100)
    local chance_max = game.get_event_flag("mond_drop_chance")
    if chance <= chance_max then
    game.drop_item_with_ownership(30270)
    --game.drop_item(30270)
    else
    end
    else
    end
    elseif m_ind == 63 or m_ind == 64 and pc.get_level() <= 40 then
    if game.get_event_flag("CiobDragon") == 1 then
    local chance = number(1, 100)
    local chance_max = game.get_event_flag("mond_drop_chance")
    if chance <= chance_max then
    game.drop_item_with_ownership(30270)
    --game.drop_item(30270)
    else
    end
    else
    end
    elseif m_ind == 65 or m_ind == 61 or m_ind == 104 and pc.get_level() <= 60 then
    if game.get_event_flag("CiobDragon") == 1 then
    local chance = number(1, 100)
    local chance_max = game.get_event_flag("mond_drop_chance")
    if chance <= chance_max then
    game.drop_item_with_ownership(30270)
    --game.drop_item(30270)
    else
    end
    else
    end
    elseif m_ind == 62 or m_ind == 71 or m_ind == 67 and pc.get_level() <= 70 then
    if game.get_event_flag("CiobDragon") == 1 then
    local chance = number(1, 100)
    local chance_max = game.get_event_flag("mond_drop_chance")
    if chance <= chance_max then
    game.drop_item_with_ownership(30270)
    --game.drop_item(30270)
    else
    end
    else
    end
    elseif m_ind == 68 or m_ind == 72 or m_ind == 73 or m_ind == 66 and pc.get_level() <= 90 then
    if game.get_event_flag("CiobDragon") == 1 then
    local chance = number(1, 100)
    local chance_max = game.get_event_flag("mond_drop_chance")
    if chance <= chance_max then
    game.drop_item_with_ownership(30270)
    --game.drop_item(30270)
    else
    end
    else
    end
    elseif m_ind == 103 or m_ind == 70 or m_imd == 69 and pc.get_level() <= 250 then
    if game.get_event_flag("CiobDragon") == 1 then
    local chance = number(1, 100)
    local chance_max = game.get_event_flag("mond_drop_chance")
    if chance <= chance_max then
    game.drop_item_with_ownership(30270)
    --game.drop_item(30270)
    else
    end
    else
    end
    end
    end
    end
    when 20001.chat."<GM> Dropul CiobDragon" with pc.is_gm() begin
    if pc.get_name() == "[GA]NvL" or pc.get_name() == "[GA]NvL" or pc.get_name() == "[GA]NvL" then
    say_title("Administrare Eveniment:")
    say("")
    say("Cat de mult sã fie dropul acestora ?")
    say("")
    say_reward("Între 1-100")
    say("")
    local new_chance = tonumber(input())
    if new_chance < 0 or new_chance > 100 then
    say_title("Administrare Eveniment:")
    say("")
    say("Introducere incorectã ~")
    else
    char_log(0, "Mondlicht_event_chance from" ..pc.get_name().. " to " ..new_chance.. "%")
    game.set_event_flag("mond_drop_chance", new_chance)
    say_title("Administrare comanda:")
    say("")
    say("Dropul actual " ..new_chance.. " setat.")
    say("~ Pe curând !")
    end
    else
    say_title("Administrare comanda:")
    say("")
    say("Nu ai dreptul pentru a executa comanda .")
    end
    end
    end
    end

Tutorial instalare quest:
  • Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest/.lua
  • Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
  • Îl puneţi acolo (să fie .quest sau .lua).
  • Vă logaţi în FreeBSD / putty şi scrieţi în felul următor: cd /usr/home/game/share/locale/germany/quest (depinde ce server aveţi) apoi ./qc nume_quest.quest/.lua
  • Intraţi pe server şi scrieţi /reload q
  • Testaţi quest-ul.
Imagine
Afișează semnătura
Răspunde
Răspunsuri
0
Vizualizări
212
Răspunsuri
3
Vizualizări
1599
Răspunsuri
2
Vizualizări
395

Înapoi la “Quest-uri”

  • Informaţie