Bonus pe elixir

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

Nivel 6
Mesaje: 1100
Membru din: 26 Dec 2014, 13:56
Server: http://mt2-ng.com/in
Regat: Chunjo
Aprecieri: 11  
Mulţumiri: 10  
Medalii

*Problemă: Bonus pe elixir .
Tipologie server:
*Resursă folosită:
*ServerFiles utilizat:
*Syserr:
Poză:
*Detalii suplimentare: Aveti ideea de unde mai exact pot adauga un bonus pe elixir ? De genul,
daca e activat sa fie is bonusul xxx activ, cand il dezactivez sa nu mai fie .
Avatar utilizator
Redder
Nivel 3

Nivel 3
Mesaje: 326
Membru din: 10 Iun 2017, 12:42
Aprecieri: 119  
Mulţumiri: 8  
Medalii

In Navicat, la applytype si la value
Avatar utilizator
George21
Nivel 6

Nivel 6
Mesaje: 1100
Membru din: 26 Dec 2014, 13:56
Server: http://mt2-ng.com/in
Regat: Chunjo
Aprecieri: 11  
Mulţumiri: 10  
Medalii

Nu de acolo se modifica .
Alta rezolvare ?
Avatar utilizator
C-Stroia
Utilizator interzis !

Utilizator interzis !
Mesaje: 1395
Membru din: 17 Noi 2013, 00:00
Server: xxx
Regat: Jinno
Aprecieri: 19  
Mulţumiri: 58  
 Contact:
Medalii

Poti folosii questul de activare-dezactivare status gm si sa-l readaptezi cum vrei tu.

Cod: Selectaţi tot

quest status begin
    state start begin
       
        when 40002.use begin
            say_title("Status")
         say("")
         local twix = select ("Activeazã status","Dezactiveazã status","Închide")
         if twix == 1 then
             say_title("Activeazã status")
            say("")
         
            say("Aºadar, dacã doreºti status trebuie sã scri parola.")
            say("")
            say_reward("Scrie parola:")
            local sname = input()
               if sname == "123" 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)
                  
               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)
          

       
         end   
      end
   end
end
Ai un exemplu aici.

[ Postat de pe Android ] Imagine
Imagine
Imagine
Imagine
Afișează semnătura
Avatar utilizator
George21
Nivel 6

Nivel 6
Mesaje: 1100
Membru din: 26 Dec 2014, 13:56
Server: http://mt2-ng.com/in
Regat: Chunjo
Aprecieri: 11  
Mulţumiri: 10  
Medalii

C-Stroia scrie:Poti folosii questul de activare-dezactivare status gm si sa-l readaptezi cum vrei tu.

Cod: Selectaţi tot

quest status begin
    state start begin
       
        when 40002.use begin
            say_title("Status")
         say("")
         local twix = select ("Activeazã status","Dezactiveazã status","Închide")
         if twix == 1 then
             say_title("Activeazã status")
            say("")
         
            say("Aºadar, dacã doreºti status trebuie sã scri parola.")
            say("")
            say_reward("Scrie parola:")
            local sname = input()
               if sname == "123" 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)
                  
               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)
          

       
         end   
      end
   end
end
Ai un exemplu aici.

[ Postat de pe Android ] Imagine
Pe elixir direct nu ai ? Gen cum cerusem .
Macar daca ai idee de unde mai exact, in char-Item nu am gasit :-?
Cu asta ce mi-ai dat tu, poti face 99999999999 critica .
Avatar utilizator
Seby.
Membru Club

Membru Club
Mesaje: 883
Membru din: 02 Feb 2017, 23:00
Server: Metin2Pegasus
Regat: Jinno
Aprecieri: 112  
Mulţumiri: 167  
Discord: Copiază ID
 Contact:
Medalii

Au trecut mai mult de 3 zile iar autorul nu a mai dat niciun semn, arhivat.
Închis
Răspunsuri
1
Vizualizări
323

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

  • Informaţie