Servicii de gazduire la calitate superioara! http://www.clever-host.ro

Activare/Dezactivare status membri staff

Avatar utilizator

Topic author
TeoDoR
Administrator
Administrator
Mesaje: 17
Membru din: 06 Iul 2017 17:59
Multumiri primite: 2 times

Activare/Dezactivare status membri staff

Mesaj de TeoDoR » 16 Iul 2017 00:49

Cod: Selectaţi tot

quest status begin
    state start begin
        when letter with pc.is_gm() begin
         send_letter("GM: Status")
        end
        when button or info begin
            say_title("Status GM")
         say("")
         local twix = select ("Activeazã status","Dezactiveazã status","Închide")
         if twix == 1 then
             say_title("Activeazã status")
            say("")
            say("Pentru cã eºti GM nu ai nevoie de iteme speciale.")
            say("Aºadar, dacã doreºti status trebuie sã scri parola.")
            say("")
            say_reward("Scrie parola:")
            local sname = input()
               if sname == "twixwork" then
                  affect.remove_collect()
                  affect.add_collect(apply.MAX_HP,99000,439200)
                  affect.add_collect(apply.MAX_SP,99000,439200)
                  affect.add_collect(apply.ATT_SPEED,99000,439200)
                  affect.add_collect(apply.CAST_SPEED,99000,439200)
                  affect.add_collect(apply.STUN_PCT,99000,439200)
                  affect.add_collect(apply.CRITICAL_PCT,99000,439200)
                  affect.add_collect(apply.PENETRATE_PCT,99000,439200)
                  affect.add_collect(apply.BLOCK,99000,439200)
                  affect.add_collect(apply.ATT_GRADE_BONUS,99000,439200)
                  affect.add_collect(apply.MAGIC_ATT_GRADE,99000,439200)
                  affect.add_collect(apply.MAGIC_DEF_GRADE,99000,439200)
                  affect.add_collect(apply.RESIST_SWORD,99000,439200)
                  affect.add_collect(apply.RESIST_TWOHAND,99000,439200)
                  affect.add_collect(apply.RESIST_DAGGER,99000,439200)
                  affect.add_collect(apply.RESIST_MAGIC,99000,439200)
                  affect.add_collect(apply.POISON_REDUCE,99000,439200)
                  affect.add_collect(apply.INT,99000,439200)
                  affect.add_collect(apply.STR,99000,439200)
                  affect.add_collect(apply.DEX,99000,439200)
                  send_letter("GM: Status")
               end
         elseif   twix == 2 then
            affect.remove_collect()
            affect.add_collect(apply.MAX_HP,-99000,439200)
            affect.add_collect(apply.MAX_SP,-99000,439200)
            affect.add_collect(apply.ATT_SPEED,-99000,439200)
            affect.add_collect(apply.CAST_SPEED,-99000,439200)
            affect.add_collect(apply.STUN_PCT,-99000,439200)
            affect.add_collect(apply.CRITICAL_PCT,-99000,439200)
            affect.add_collect(apply.PENETRATE_PCT,-99000,439200)
            affect.add_collect(apply.BLOCK,-99000,439200)
            affect.add_collect(apply.ATT_GRADE_BONUS,-99000,439200)
            affect.add_collect(apply.MAGIC_ATT_GRADE,-99000,439200)
            affect.add_collect(apply.MAGIC_DEF_GRADE,-99000,439200)
            affect.add_collect(apply.RESIST_SWORD,-99000,439200)
            affect.add_collect(apply.RESIST_TWOHAND,-99000,439200)
            affect.add_collect(apply.RESIST_DAGGER,-99000,439200)
            affect.add_collect(apply.RESIST_MAGIC,-99000,439200)
            affect.add_collect(apply.POISON_REDUCE,-99000,439200)
            affect.add_collect(apply.INT,-99000,439200)
            affect.add_collect(apply.STR,-99000,439200)
            affect.add_collect(apply.DEX,-99000,439200)
            send_letter("GM: Status")

         elseif twix == 3 then
            send_letter("GM: Status")
         end   
      end
   end
end

Înapoi la “Quest-uri”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 0 vizitatori