Jump to content

Welcome to RpgWars România
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!



Foto

[QUEST] Level la inceput




    No replies to this topic

    #1
    OfflinePrime

    Premium
    Member Title : WwW.RpgWars.Ml
    Posts : 230
    warning points : 0 puncte de avertizare
    Puncte : 528
    Cod:

    --[[
    ###########################
    # Quest: Login set level  #
    ###########################
    ]]
    quest start_login_ begin
        state start begin
    --[[@vegasfunctest286
          function test_set_level_(exp)
             while pc.get_level() ~= test do
                pc.give_exp2(pc.get_next_exp2() / exp[i]) end   end
      ]]
          when login with pc.getqf("used_quest") < 1 and pc.get_level() == 1 begin
             local pLevel = 105 -- Levelul la care vrei sa incepi
             
             pc.set_level(pLevel)
             pc.setqf("used_quest", 1)
             syschat(string.format("<Debug> Level setat cu succes: %d", pLevel))   
          end
       end
    end
    Credite: VegaS




    RPGWARS COMMUNITY PROFESSIONAL Very Happy

    Vezi profilul utilizatorului


    In total sunt 0 utilizatori conectati: 0 Inregistrati, 0 Invizibil si 0 Vizitatori

    Utilizatori ce navigheaza in acest forum: Nici unul



     
    • creeaza un forum | © PunBB | Forum gratuit de suport | Contact | Semnaleaza un abuz | Blogratuit.ro