Quest Reborn

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
Asky
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 1472
Membru din: 08 Oct 2014, 17:32
Regat: Chunjo
Aprecieri: 98  
Mulţumiri: 4811  
Discord: Copiază ID
 Contact:
Medalii

Cum as putea sa fac acest quest ca dupa reborn sa te duca in map1 ?
* Idee e ca playeri pot da reborn si in mapa de 120(ultima din reborn) , am incercat sa-i pun aceleasi restrictii ca in mapele de 90 / 110 dar nu a functionat.
if reborn == 1 and m_idx == 70 then
					syschat("Nu po rena演e 螽 Death Valley!")
					return
				end
				if reborn == 1 and m_idx == 213 then
					syschat("Nu po rena演e 螽 Liho!")
					return
[Am pus si index pentru restrictii pentru mapa respectiva, am adaugat o linie sub acelea.]

Quest-ul .
quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then
pc.changealignment(-pc.get_alignment()+14000)
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then
pc.changealignment(-pc.get_alignment()+14000)
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
if reborn == 2 then
return
end
end
end
clear_letter()
end
end
end
Imagine
Afișează semnătura
Avatar utilizator
Braxy
Quest Creator

Quest Creator
Mesaje: 293
Membru din: 04 Mai 2016, 17:13
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 228  
Medalii

Daca nu merge iti voi face restrictii.

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)	
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)	
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)	
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end	
end
clear_letter()
end
end
end
Avatar utilizator
Asky
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 1472
Membru din: 08 Oct 2014, 17:32
Regat: Chunjo
Aprecieri: 98  
Mulţumiri: 4811  
Discord: Copiază ID
 Contact:
Medalii

iBraxy scrie:Daca nu merge iti voi face restrictii.

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)	
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)	
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)	
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
local empire = pc.get_empire()
if empire== 1 then
	pc.warp(433300, 219600)
elseif  empire == 2 then  
	pc.warp(431500, 209200)
elseif  empire == 3 then 
	pc.warp(439800, 211000)
if reborn == 2 then
return
end
end	
end
clear_letter()
end
end
end
Inca nu merge, dau reborn si ramane la fel .
Imagine
Afișează semnătura
Avatar utilizator
Braxy
Quest Creator

Quest Creator
Mesaje: 293
Membru din: 04 Mai 2016, 17:13
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 228  
Medalii

Da-mi pe ce indexuri doresti protectie te rog :)
Avatar utilizator
Asky
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 1472
Membru din: 08 Oct 2014, 17:32
Regat: Chunjo
Aprecieri: 98  
Mulţumiri: 4811  
Discord: Copiază ID
 Contact:
Medalii

iBraxy scrie:Da-mi pe ce indexuri doresti protectie te rog :)
182
Imagine
Afișează semnătura
Avatar utilizator
Braxy
Quest Creator

Quest Creator
Mesaje: 293
Membru din: 04 Mai 2016, 17:13
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 228  
Medalii

Nu am testat dar probabil merge :)

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)   
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
if reborn == 2 then
return
end
end   
end
clear_letter()
end
end
end
Avatar utilizator
Asky
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 1472
Membru din: 08 Oct 2014, 17:32
Regat: Chunjo
Aprecieri: 98  
Mulţumiri: 4811  
Discord: Copiază ID
 Contact:
Medalii

iBraxy scrie:Nu am testat dar probabil merge :)

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)   
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 or m_idx == 213 or m_idx == 182 then
syschat("Nu poti sa folosesti rebornul aici.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
if reborn == 2 then
return
end
end   
end
clear_letter()
end
end
end
Tot nu merge, map index-ul este corect ca l-am verificat :-?
Imagine
Afișează semnătura
Avatar utilizator
Braxy
Quest Creator

Quest Creator
Mesaje: 293
Membru din: 04 Mai 2016, 17:13
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 228  
Medalii

Daca nici acum nu merge...

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)   
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
if reborn == 2 then
return
end
end   
end
clear_letter()
end
end
end
Avatar utilizator
Asky
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 1472
Membru din: 08 Oct 2014, 17:32
Regat: Chunjo
Aprecieri: 98  
Mulţumiri: 4811  
Discord: Copiază ID
 Contact:
Medalii

iBraxy scrie:Daca nici acum nu merge...

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv1.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)   
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv2.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv3.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_pvp.tga")
setskin(4)
say_black("[ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER][ENTER]")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
if reborn == 2 then
return
end
end   
end
clear_letter()
end
end
end
Acum merge, si iti multumesc frumos. Dar e o problema mai mare, acum nu mai apare ca aspect ok cand sunt in map1 : Imagine Imagine Si in mapa de 120 apare asa:
Imagine
Imagine
Afișează semnătura
Avatar utilizator
Braxy
Quest Creator

Quest Creator
Mesaje: 293
Membru din: 04 Mai 2016, 17:13
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 228  
Medalii

Incearca acum ...

Cod: Selectaţi tot

quest system_reborn begin
state start begin
when 40003.use begin
-- PENTRU TESTE
pc.setqf("nivel_reborn", 0)
syschat("Reborn-ul tau a fost resetat.")
pc.changealignment(-pc.get_alignment()+0)
-- PENTRU TESTE
end
when login begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
loop_timer("align_reborn", 60 * 60)
end
when align_reborn.timer begin
if pc.getqf("nivel_reborn") == 0 then 
pc.changealignment(-pc.get_alignment()+0)
elseif pc.getqf("nivel_reborn") == 1 then 
pc.changealignment(-pc.get_alignment()+2000)
elseif pc.getqf("nivel_reborn") == 2 then 
pc.changealignment(-pc.get_alignment()+6000)
elseif pc.getqf("nivel_reborn") == 3 then 
pc.changealignment(-pc.get_alignment()+10000)
elseif pc.getqf("nivel_reborn") == 4 then 
pc.changealignment(-pc.get_alignment()+14000)   
end
end
when login or levelup with pc.get_level() == 127 begin
if pc.getqf("nivel_reborn") == 0 then 
send_letter("Reborn I - Goodly")
elseif pc.getqf("nivel_reborn") == 1 then 
send_letter("Reborn II - Legendary")
elseif pc.getqf("nivel_reborn") == 2 then 
send_letter("Reborn III - PvP")
elseif pc.getqf("nivel_reborn") == 3 then 
send_letter("Reborn Shade")
end
end
when button or info begin
if pc.getqf("nivel_reborn") == 0 then 
setbgimage("reborn_lv1.tga")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv1.tga")
say(" Felicitari! Ai Reborn I - Goodly. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *3000 PV")
say(" *20 Viteza de atac[ENTER]")
pc.setqf("nivel_reborn", 1)
pc.changealignment(-pc.get_alignment()+2000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)   
affect.add_collect(1,3000,60*60*24*365*60)
affect.add_collect(7,20,60*60*24*365*60)
clear_letter()
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 1 then 
setbgimage("reborn_lv2.tga")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv2.tga")
say(" Felicitari! Ai Reborn II - Legendary. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Sansa la lovitura critica.")
say(" *15% Sansa la lovitura patrunzatoare[ENTER]")
pc.setqf("nivel_reborn", 2)
pc.changealignment(-pc.get_alignment()+6000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(15,15,60*60*24*365*60)
affect.add_collect(16,15,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 2 then 
setbgimage("reborn_lv3.tga")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_lv3.tga")
say(" Felicitari! Ai Reborn III - PvP. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *15% Viteza farmecului")
say(" *10% Blocare atac corporal")
say(" *10% Reflectare atac corporal[ENTER]")
pc.setqf("nivel_reborn", 3)
pc.changealignment(-pc.get_alignment()+10000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(9,15,60*60*24*365*60)
affect.add_collect(27,10,60*60*24*365*60)
affect.add_collect(39,10,60*60*24*365*60)
if reborn == 2 then
return
end
end

elseif pc.getqf("nivel_reborn") == 3 then 
setbgimage("reborn_pvp.tga")
say_black(" Odata ce ai atins nivelul maxim iti poti da reborn.")
say_black(" Reborn-ul iti ofera sansa de a juca jocul din nou,")
say_black(" dar fiind mult mai puternic decat data trecuta.")
say_black(" Dupa ce iti dai reborn, nivelul si toate skill-urile")
say_black(" iti vor fi resetate ca la inceput. Este alegerea ta daca")
say_black(" vrei sa faci acest lucuru sau nu.[ENTER]")
local reborn = select("Da, vreau", "Nu, poate mai tarziu")
local m_idx = pc.get_map_index()
if reborn == 1 and m_idx == 70 then
syschat("Nu po rena演e 螽 Death Valley!")
return
end
if reborn == 1 and m_idx == 213 then
syschat("Nu po rena演e 螽 Liho!")
return
end
if reborn == 1 and m_idx == 182 then
syschat("Nu poti folosi rebornul in aceasta mapa.")
return
end
if reborn == 1 and m_idx != 70 and m_idx != 213 and m_idx != 182 then
setbgimage("reborn_pvp.tga")
say(" Felicitari! Ai Reborn Shade. Toate calitatile")
say(" dobandite de tine pana acum, au fost eliminate.")
say(" Acum poti lua jocul de la inceput, dar esti")
say(" mai puternic decat data trecuta.[ENTER]")
say(" Ai primit:")
say(" *12% Anti Semi-Oameni")
say(" *5% Rezistenta Magie[ENTER]")
pc.setqf("nivel_reborn", 4)
pc.changealignment(-pc.get_alignment()+14000)
pc.set_level(75)
pc.reset_point()
pc.clear_skill()
pc.set_skill_group(0)
affect.add_collect(17,12,60*60*24*365*60)
affect.add_collect(37,5,60*60*24*365*60)
if reborn == 2 then
return
end
end   
end
clear_letter()
end
end
end
Pentru acest mesaj, Braxy for the post:
Marian [Desmond]
Închis
Răspunsuri
2
Vizualizări
427
Răspunsuri
3
Vizualizări
312

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 98 vizitatori