Jump to content

problem for quest


Recommended Posts

there are many problem for this quest anybody can give me any Solution and the Distances is not ok !! @

quest reborn_system begin
    state start begin
       when LOGIN or levelup with
                pc.get_level() >= 105 begin if
                pc.getqf("prestigi_1") == 1 and
                pc.getqf("prestigi_2") == 1 and
                pc.getqf("prestigi_3") == 1 and
                pc.getqf("prestigi_4") == 1 then
                set_state("_COMPLETE_")
            else
                set_state("pergamena")
        end
    end
end
    state pergamena begin
        when letter begin
            send_letter("Ottieni Prestigio")
        end
          
        when button or info begin
            local disponibile_1 = tostring(locale.disponibile)
            local disponibile_2 = tostring(locale.disponibile)
            local disponibile_3 = tostring(locale.disponibile)
            local disponibile_4 = tostring(locale.disponibile)
            local ndisponibile_1 = tostring(locale.ndisponibile)
            local ndisponibile_2 = tostring(locale.ndisponibile)
            local ndisponibile_3 = tostring(locale.ndisponibile)
            local ndisponibile_4 = tostring(locale.ndisponibile)
            local exp = pc.get_exp()
            say_title("Prestigio")
            say("Ora che hai raggiunto o superato il lv.105")
            say("dimostri di essere un guerriero abbastanza")
            say("valoroso per entrare a conoscenza di questo")
            say("segreto_Ora ti spiego come funziona:")
            say("Puoi ottenere un prestigio ricominciando")
            say("dal livello 1.Cosa e' un prestigio?")
            say("Ottenuto il prestigio potrai usufruire di")
            say("una forza mistica che aumenterà il tuo")
            say("valore..Qui una breve Intoduzione sui")
            say("bonus di ogni prestigio.")
            local selezprest = select ("Informazioni Prestigi","Ottieni prestigi","Esci")
                if selezprest == 1 then
                    say_title(" معومات اعاده الولاده ")
                    say(" يمكنك الحصول على الحد الأقصى من اربعه ")
                    say(" لقد وصلت للمستوى اربع مرات ")
                    say(" ومستوى 105 الخاص بمكانتك ")
                    disponibile()
                elseif selezprest == 2 then
                    say_title(" الحصول على اعاده الولاده ")
                    disponibile()
                    local prestigi = select (" هيبة القيمة "," هيبة الحماية "," هيبة هنتر "," هيبة للحكيم "," خروج ")
                    if prestigi == 1 then 
                        if pc.getqf("prestigi_1") == 0 then
                            say_title(" الحصول على اعاده الولاده ")
                            say_reward(" زادت قيمة الهيبة بمقدار 20%  ")
                            say(" هل انت متأكد انك تريد هذا؟ ")
                            local siono = select (" نعم "," لا ")
                        if siono == 2 then
                            say_title(" الحصول على اعاده الولاده ")
                            say(" تفكير متقن ")
                            say(" لإختيار هيبة خاصة بهم ")
                            return
                        end
                    say_title(" الحصول على اعاده الولاده ")
                    say(" عظيم واختار قيمة اعاده الولاده ")
                    say_reward(" تلقى 20% ")
                    pc.setqf("prestigi_1",1)
                    pc.give_exp2( -exp )
                    delivello()
                    clear_letter()
                    set_state("start")
                    affect.add_collect(apply.ATTBONUS_HUMAN, 20, 60*60*60*60*60)
                    else
                        say_title(" الحصول على اعاده الولاده ")
                        say(" بالفعل انت تملك هذه الهيبة ")
                        return
                    end
                    elseif prestigi == 2 then
                        if pc.getqf("prestigi_2") == 0 then
                            say_title(" الحصول على اعاده الولاده ")
                            say_reward(" احتياط هيبة الحماية 10% ")
                            say(" هل انت متاكد انك تريدها ؟ ")
                            local sionos = select (" نعم "," لا ")
                                if sionos == 2 then
                                say_title(" الحصول على اعاده الولاده ")
                                say(" تفكير متقن ")
                                say(" لإختيار هيبة خاصة بهم ")
                                return
                            end
                            say_title(" الحصول على اعاده الولاده ")
                            say(" عظيم واختار قيمة اعاده الولاده ")
                            say_reward(" تلقى المقاومة 10% ")
                            pc.setqf("prestigi_2",1)
                            pc.give_exp2 ( -exp )
                            delivello()
                            clear_letter()
                            set_state("start")
                            affect.add_collect(apply.RESBONUS_WARRIOR, 10, 60*60*60*60*60)
                            affect.add_collect(apply.RESBONUS_ASSASSIN, 10, 60*60*60*60*60)
                            affect.add_collect(apply.RESBONUS_SURA, 10, 60*60*60*60*60)
                            affect.add_collect(apply.RESBONUS_SHAMAN, 10, 60*60*60*60*60)
                            else say_title(" الحصول على اعاده الولاده ")
                                say(" انت بالفعل تملك هذه الهيبة ")
                                return
                            end
                            elseif prestigi == 5 then
                                return
                            end
                            elseif selezprest == 3 then
                                set_state("pergamena")
                                return
                            end
                        end
                    end
            state _COMPLETE_ begin
        end
    end
end

this quest for reborn_system

 

sorry my english is not good 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.