Cum implementez globuri de transformare la shop

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

Nivel 3
Mesaje: 429
Membru din: 07 Feb 2015, 06:22
Server: -interzis-.com
Regat: Chunjo
Aprecieri: 6  
Mulţumiri: 41  
 Contact:
Medalii

Salut
Cum implmentez globurile de transformare pentru un mob specific la shop ?
Imagine
Imagine
Afișează semnătura
Avatar utilizator
Tears^
Fost Moderator

Fost Moderator
Mesaje: 774
Membru din: 07 Apr 2014, 17:01
Aprecieri: 129  
Mulţumiri: 35  
Discord: Copiază ID
Medalii

Nu cred ca se poate implementa in shop si eu m-am chinuit vre-o 3 ore si nu am reusit
Poftim un quest care face acelasi lucru

Cod: Selectaţi tot

system_poly begin
    state start begin
        when 20041.chat."system_poly" begin        
            say("Bunaziua.")
            say("Eu sunt ultimul supravietuitor")
            say("dupa prima lupta a regatelor.")
            say("Poate ca par cam beat dar am niste puteri.")
            say("Te pot transforma in ce doresti tu.")
            say_reward("Nu te costa nimic, este gratuit.")
            say("")
            say("Vrei sa te transformi in monstru ?")
            say(" ")
            local s = select("Da !", "Nu mersi.")
            say_reward("Alege o categorie de monstri :")
            say(" ")
            local a = select("Boss", "Creatura", "NPC", "Inchide")
            
            if a == 1 then
            say("Ce Boss vrei sa fii ?")
            say(" ")
            wait()
            local z = select("Pirat", "Boss orc", "Regele maimutelor", "Regina Painjenilor", "Regele Paianjenilor", "Testoasa", "Vulpea cu 9 cozi", "Vrajitoarea de gheata", "Continua")
            
            if z == 1 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(5001, 600)
            
            elseif z == 2 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(691, 600)
            
            elseif z == 3 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(5163, 600)
            
            elseif z == 4 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2091, 600)
            
            elseif z == 5 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2092, 600)
            
            elseif z == 6 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2191, 600)
            
            elseif z == 7 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1901, 600)
            
            elseif z == 8 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1191, 600)

            elseif z == 9 then
            
            say("Page 2")
            say(" ")
            wait()
            local e = select("Regele Focului", "Dragon Rosu", "Tigru Galben", "Regele Demon", "Moartea", "Spiritul copacului", "Dragon Albastru", "Rege Spirit de Copac", "Inchide")
            
            if e == 1 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2206, 600)
            
            elseif e == 2 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2291, 600)
            
            elseif e == 3 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1304, 600)
            
            elseif e == 4 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1091, 600)
            
            elseif e == 5 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1092, 600)
            
            elseif e == 6 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2306, 600)
            
            elseif e == 7 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2493, 600)
            
            elseif e == 8 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2307, 600)
            
            elseif e == 9 then
            return
            end
            end
            
            elseif a == 2 then
            say("In ce vrei sa te transformi ?")
            say(" ")
            wait()
            local r = select("Câine", "Urs", "Tigru", "Soldat du serment blanc","Minion Barbare",  "Orc negru", "Fanatic Estoric", "Continua")
            
            if r == 1 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(101, 600)
            
            elseif r == 2 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(110, 600)
            
            elseif r == 3 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(114, 600)
            
            elseif r == 4 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(301, 600)
            
            elseif r == 5 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(502, 600)
            
            elseif r == 6 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(636, 600)
            
            elseif r == 7 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(701, 600)
            
            elseif r == 8 then
            
            say("Page 2")
            say(" ")
            wait()
            local t = select("Soldat demoniac", "Yeti", "Golem de gheata", "Pianjen Tanar", "Tigre Luptator", "Dryade", "Maimuta Soldat", "Croque-mitaine", "Continua")
            
            if t == 1 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1001, 600)
            
            elseif t == 2 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1106, 600)
            
            elseif t == 3 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1107, 600)
            
            elseif t == 4 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2301, 600)
            
            elseif t == 5 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2203, 600)
            
            elseif t == 6 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(2303, 600)
            
            elseif t == 7 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(5121, 600)
            
            elseif t == 8 then
            say("Esti transformat !")
            say(" ")
            wait()
            pc.polymorph(1333, 600)
            
            elseif t == 9 then
            
            say("Page 3")
            say(" ")
            wait()
            local d = select("Goe-Pae", "Chuong", "Bo", "Mahon", "Câine Zombie", "Rege Zombie", "Moartea", "Luptator Zin Celest", "Inchide")
            
            if d == 1 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(493, 600)
            
            elseif d == 2 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(494, 600)
            
            elseif d == 3 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(492, 600)
            
            elseif d == 4 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(491, 600)
            
            elseif d == 5 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(2502, 600)
            
            elseif d == 6 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(2595, 600)
            
            elseif d == 7 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(2597, 600)
            
            elseif d == 8 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(2492, 600)
            
            elseif d == 9 then
            return
            end
            end
            end
            
            elseif a == 3 then
            say("In ce NPC vrei sa te transformi ?")
            say(" ")
            wait()
            local y = select("Fierar", "Cetatean Turmentat", "Teleporter", "Paznic", "Vanator", "Cal Militar", "Vanzator Ambulant", "Inchide")
            
            if y == 1 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(20016, 600)
            
            elseif y == 2 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(20041, 600)
            
            elseif y == 3 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(9012, 600)
            
            elseif y == 4 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(11000, 600)
            
            elseif y == 5 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(20019, 600)
            
            elseif y == 6 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(20109, 600)
            
            elseif y == 7 then
            say("Esti Transformat !Acum  te poti distra cu noua ta aparenta !")
            say(" ")
            wait()
            pc.polymorph(20042, 600)
            
            elseif y == 8 then
            return
            end
            end
            
            if a == 4 then
            return
            end
        end
    end
end
Discord: Teck#7457
Afișează semnătura
Avatar utilizator
.Pen
Utilizator interzis !

Utilizator interzis !
Mesaje: 795
Membru din: 19 Oct 2014, 09:38
Server: Loading...
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
Medalii

Arhivat,subiect inactiv!
Imagine
Afișează semnătura
Închis
Răspunsuri
1
Vizualizări
1334
Răspunsuri
4
Vizualizări
587
Răspunsuri
2
Vizualizări
400

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

  • Informaţie
  • Cine este conectat

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