problema sts gm

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
Metin2Win69
Nivel 3

Nivel 3
Mesaje: 445
Membru din: 28 Mar 2015, 01:30
Server: Metin2Win69
Regat: Jinno
Aprecieri: 0
Mulţumiri: 1  
Medalii

Salutare,imi puteti spune si mie va rog cum pot pune la acest sts de gm sa dea si pv uitati questul:

quest status begin
state start begin
when letter with pc.is_gm() begin
send_letter("STATUS GM")
end
when button or info begin
say_title("Activeaza-ti statusul")
say("Pentru ca esti GM")
say("nu vei avea nevoie de iteme speciale")
say("PAROLA:Win69")
say( Miaunet )
say_reward("Adauga parola:")
local sname = input()
if sname == "Win69" 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)
return
end
end
end

end




Multumesc !
Avatar utilizator
Hidan
Utilizator interzis !

Utilizator interzis !
Mesaje: 36
Membru din: 04 Sep 2015, 03:42
Server: Online
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
 Contact:
Medalii

Deja iţi oferă şi pv .. este prima linie , dacă nu primeşti nimic pune funcţia affect.add_collent in quest_functions

affect.add_collect(apply.MAX_HP,99000,439200)
Avatar utilizator
SauRRoN
Fost Helper

Fost Helper
Mesaje: 2834
Membru din: 26 Iul 2014, 11:25
Regat: Jinno
Aprecieri: 581  
Mulţumiri: 1000  
Discord: Copiază ID
Medalii

Incearca-l pe acesta.

Cod: Selectaţi tot

quest status begin
   state start begin
      when letter with pc.is_gm() begin
         send_letter("STATUS GM")
      end
      when button or info begin
        say_title("Activeaza-ti statusul")
            say("Pentru ca esti GM")
            say("nu vei avea nevoie de iteme speciale")
            say("Asadar, daca doresti status cerei parola lui")
                 say( Miaunet )
         say_reward("Adauga parola:")
         local sname = input()
            if sname == "PAROLA TA" then 
             affect.remove_collect()
             affect.add_collect(apply.MAX_HP,1600000,1600000)
             affect.add_collect(apply.MAX_SP,84000,84000)
             affect.add_collect(apply.ATT_SPEED,600,600)
             affect.add_collect(apply.CAST_SPEED,700,700)
             affect.add_collect(apply.STUN_PCT,600,600)
             affect.add_collect(apply.CRITICAL_PCT,600,600)
             affect.add_collect(apply.PENETRATE_PCT,600,600)
             affect.add_collect(apply.BLOCK,100,100)
             affect.add_collect(apply.ATT_GRADE_BONUS,100,100)
             affect.add_collect(apply.MAGIC_ATT_GRADE,100,100)
             affect.add_collect(apply.MAGIC_DEF_GRADE,100,100)
             affect.add_collect(apply.RESIST_SWORD,100,100)
             affect.add_collect(apply.RESIST_TWOHAND,100,100)
             affect.add_collect(apply.RESIST_DAGGER,100,100)
             affect.add_collect(apply.RESIST_MAGIC,100,100)
             affect.add_collect(apply.POISON_REDUCE,100,100)
             affect.add_collect(apply.INT,45000,45000)
             affect.add_collect(apply.STR,45000,45000)
             affect.add_collect(apply.DEX,45000,45000)
         return
         end
      end
   end
   
end
Imagine
Afișează semnătura
Avatar utilizator
Robert
Traficant de ouă

Traficant de ouă
Mesaje: 1376
Membru din: 19 Feb 2015, 10:29
Server: Scorpions2
Regat: Chunjo
Aprecieri: 125  
Mulţumiri: 476  
Discord: Copiază ID
Medalii

Subiect inactiv, Arhivat.
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

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