Vreau si eu 1 secunda la biolog

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

Nivel 4
Mesaje: 630
Membru din: 24 Mar 2014, 14:28
Server: Metin2HyperX
Regat: Jinno
Aprecieri: 34  
Mulţumiri: 4  
 Contact:
Medalii

Salutare , cine imi modifica si mie asta la biolog sa fie la 1 secunda nu la 1h..
target . delete ( "__TARGET__" ) 
local data = biologul_chaegirab . Data ( ) 
local blevel = pc . getqf ( "blevel" ) 
if pc . get_level ( ) >= biologul_chaegirab . getLevel ( ) then 
say_title ( data [ blevel ] [ 1 ] ) 
say ( "Salut " .. pc . get_name ( ) .. "!" ) 
say ( "Ai venit sa imi aduci niste obiecte?" ) 
say ( "Tine minte! Poti sa imi aduci odata la" ) 
say ( "1 ore pentru a avea timp sa le studiez!" ) 
say ( "" ) 
wait ( ) 
say_title ( data [ blevel ] [ 1 ] ) 
say ( "Ai venit sa imi aduci " .. item_name ( data [ blevel ] [ 2 ] ) .. "?" ) 
if pc . is_gm ( ) then 
pc . setqf ( "duration" , get_time ( ) + 0 ) 
end 
if pc . count_item ( data [ blevel ] [ 2 ] ) == 0 then 
say ( "" ) 
say_reward ( "Se pare ca inca nu ai facut rost de nici un obiect!" ) 
say_reward ( "Revino cand ai obiectele cerute." ) 
return 
end 
if get_time ( ) < pc . getqf ( "duration" ) then 
say ( "" ) 
say_reward ( "Inca nu au trecut cele 1 ore." ) 
say_reward ( "Revino mai tarziu." ) 
return 
end 
local bcount = pc . getqf ( "bcount" ) + 1 
if bcount == data [ blevel ] [ 3 ] then 
say ( "Felicitari!" ) 
say ( "Mi-ai adus toate obiectele necesare" ) 
say ( "pentru a-mi termina studiul." ) 
say ( "" ) 
say_reward ( "Rasplata : " ) 
say_reward ( biologul_chaegirab . getBonusName ( ) ) 
wait ( ) 
biologul_chaegirab . applyBonus ( ) 
pc . setqf ( "blevel" , pc . getqf ( "blevel" ) + 1 ) 
pc . setqf ( "bcount" , 0 ) 
pc . setqf ( "duration" , get_time ( ) ) 
set_state ( "mission_next" ) 
else 
say ( "Ooh...ai gasit " .. item_name ( data [ blevel ] [ 2 ] ) .. "?" ) 
say ( "Lasa-ma sa studiez..." ) 
say ( "..." ) 
say ( "Se pare ca este bun." ) 
say ( "Mai ai de adus " .. ( data [ blevel ] [ 3 ] - pc . getqf ( "bcount" ) - 1 ) .. "!" ) 
say ( "" ) 
pc . remove_item ( data [ blevel ] [ 2 ] , 1 ) 
pc . setqf ( "duration" , get_time ( ) + 60 * 60 * 1 ) 
pc . setqf ( "bcount" , bcount ) 
end 
else 
say_title ( "Biolog" ) 
say ( "Eu ma ocup de toate studiile" ) 
say ( "din acest regat de aceea sunt" ) 
say ( "foarte ocupat momentan." ) 
say ( "" ) 
end
Site : Metin2HyperX
WebSite : http://www.mt2hyperx.ro
Level maxim : 120
Descriere : PVP-Farm
Afișează semnătura
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

diabolik45 scrie:Salutare , cine imi modifica si mie asta la biolog sa fie la 1 secunda nu la 1h..
target . delete ( "__TARGET__" ) 
local data = biologul_chaegirab . Data ( ) 
local blevel = pc . getqf ( "blevel" ) 
if pc . get_level ( ) >= biologul_chaegirab . getLevel ( ) then 
say_title ( data [ blevel ] [ 1 ] ) 
say ( "Salut " .. pc . get_name ( ) .. "!" ) 
say ( "Ai venit sa imi aduci niste obiecte?" ) 
say ( "Tine minte! Poti sa imi aduci odata la" ) 
say ( "1 ore pentru a avea timp sa le studiez!" ) 
say ( "" ) 
wait ( ) 
say_title ( data [ blevel ] [ 1 ] ) 
say ( "Ai venit sa imi aduci " .. item_name ( data [ blevel ] [ 2 ] ) .. "?" ) 
if pc . is_gm ( ) then 
pc . setqf ( "duration" , get_time ( ) + 0 ) 
end 
if pc . count_item ( data [ blevel ] [ 2 ] ) == 0 then 
say ( "" ) 
say_reward ( "Se pare ca inca nu ai facut rost de nici un obiect!" ) 
say_reward ( "Revino cand ai obiectele cerute." ) 
return 
end 
if get_time ( ) < pc . getqf ( "duration" ) then 
say ( "" ) 
say_reward ( "Inca nu au trecut cele 1 ore." ) 
say_reward ( "Revino mai tarziu." ) 
return 
end 
local bcount = pc . getqf ( "bcount" ) + 1 
if bcount == data [ blevel ] [ 3 ] then 
say ( "Felicitari!" ) 
say ( "Mi-ai adus toate obiectele necesare" ) 
say ( "pentru a-mi termina studiul." ) 
say ( "" ) 
say_reward ( "Rasplata : " ) 
say_reward ( biologul_chaegirab . getBonusName ( ) ) 
wait ( ) 
biologul_chaegirab . applyBonus ( ) 
pc . setqf ( "blevel" , pc . getqf ( "blevel" ) + 1 ) 
pc . setqf ( "bcount" , 0 ) 
pc . setqf ( "duration" , get_time ( ) ) 
set_state ( "mission_next" ) 
else 
say ( "Ooh...ai gasit " .. item_name ( data [ blevel ] [ 2 ] ) .. "?" ) 
say ( "Lasa-ma sa studiez..." ) 
say ( "..." ) 
say ( "Se pare ca este bun." ) 
say ( "Mai ai de adus " .. ( data [ blevel ] [ 3 ] - pc . getqf ( "bcount" ) - 1 ) .. "!" ) 
say ( "" ) 
pc . remove_item ( data [ blevel ] [ 2 ] , 1 ) 
pc . setqf ( "duration" , get_time ( ) + 60 * 60 * 1 ) 
pc . setqf ( "bcount" , bcount ) 
end 
else 
say_title ( "Biolog" ) 
say ( "Eu ma ocup de toate studiile" ) 
say ( "din acest regat de aceea sunt" ) 
say ( "foarte ocupat momentan." ) 
say ( "" ) 
end
Pune questul in

Cod: Selectaţi tot

, nu fisierul .start ...
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

subiect arhivat, te rog sa respecti modelul dat.
https:/horus-maps.com
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
387
Răspunsuri
2
Vizualizări
183
Răspunsuri
9
Vizualizări
726
Răspunsuri
6
Vizualizări
980

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

  • Informaţie
  • Cine este conectat

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