|
You last visited: Today at 01:09
Advertisement
[QUEST] 20084 - One time only
Discussion on [QUEST] 20084 - One time only within the Metin2 Private Server forum part of the Metin2 category.
02/24/2013, 16:35
|
#1
|
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
|
[QUEST] 20084 - One time only
Code:
quest missoesbiologo begin
state start begin
when 20084.chat."As minhas Missões" begin
if pc . count_item ( 30183 ) == 0 then
say ( "Olá!" )
say ( "Estou perdido com estas máscaras." )
say ( "Mas eu preciso de:")
say_item ("200 Máscaras", 30183, "")
say_reward ( "Podes encontrar em Metins" )
elseif pc . count_item ( 30183 ) >= 200 then
say ( "Recompensa:" )
say ( "Velocidade de Movimento 45%" )
say ( "+50 Valor de Ataque" )
say ( "+60 de Defesa" )
say ( "+20% Redução de Danos" )
say ( "+10% Semi-Humanos" )
say_reward ( "Espero que gostes!" )
affect.add_collect(apply.MOV_SPEED,30,60*60*24*365*60)
affect.add_collect(apply.MOV_SPEED,15,60*60*24*365*60)
affect.add_collect(apply.DEF_GRADE_BONUS,60,60*60*24*365*60)
affect.add_collect(apply.ATT_GRADE_BONUS,50,60*60*24*365*60)
affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60)
affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60)
affect.add_collect(apply.ATTBONUS_HUMAN,10,60*60*24*365*60)
pc.remove_item(30183,200)
elseif pc . count_item ( 30183 ) <= 199 then
say ( "Tens menos de 200 Máscaras." )
end
end
end
end
I need to project this quest to use only 1 time.
Thank you.
|
|
|
02/24/2013, 17:11
|
#2
|
elite*gold: 205
Join Date: Jun 2010
Posts: 5,334
Received Thanks: 2,510
|
set state complete on the end of quest
|
|
|
02/24/2013, 17:17
|
#3
|
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
|
This quest it's only chat with NPC, not like button.
|
|
|
02/24/2013, 17:31
|
#4
|
elite*gold: 205
Join Date: Jun 2010
Posts: 5,334
Received Thanks: 2,510
|
....
PHP Code:
quest missoesbiologo begin state start begin when 20084.chat."As minhas Missões" begin if pc . count_item ( 30183 ) == 0 then say ( "Olá!" ) say ( "Estou perdido com estas máscaras." ) say ( "Mas eu preciso de:") say_item ("200 Máscaras", 30183, "") say_reward ( "Podes encontrar em Metins" ) elseif pc . count_item ( 30183 ) >= 200 then say ( "Recompensa:" ) say ( "Velocidade de Movimento 45%" ) say ( "+50 Valor de Ataque" ) say ( "+60 de Defesa" ) say ( "+20% Redução de Danos" ) say ( "+10% Semi-Humanos" ) say_reward ( "Espero que gostes!" ) affect.add_collect(apply.MOV_SPEED,30,60*60*24*365*60) affect.add_collect(apply.MOV_SPEED,15,60*60*24*365*60) affect.add_collect(apply.DEF_GRADE_BONUS,60,60*60*24*365*60) affect.add_collect(apply.ATT_GRADE_BONUS,50,60*60*24*365*60) affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60) affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60) affect.add_collect(apply.ATTBONUS_HUMAN,10,60*60*24*365*60) pc.remove_item(30183,200) set_state(___complete) elseif pc . count_item ( 30183 ) <= 199 then say ( "Tens menos de 200 Máscaras." ) end end state __complete begin end end
|
|
|
02/24/2013, 17:36
|
#5
|
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
|
|
|
|
02/24/2013, 17:38
|
#6
|
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
|
da fehlt ein end
|
|
|
02/24/2013, 17:43
|
#7
|
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
|
I try to put end at much places, but give me another error like core dumped.
|
|
|
02/24/2013, 17:45
|
#8
|
elite*gold: 205
Join Date: Jun 2010
Posts: 5,334
Received Thanks: 2,510
|
sry i forget a end of the first end
PHP Code:
quest missoesbiologo begin state start begin when 20084.chat."As minhas Missões" begin if pc . count_item ( 30183 ) == 0 then say ( "Olá!" ) say ( "Estou perdido com estas máscaras." ) say ( "Mas eu preciso de:") say_item ("200 Máscaras", 30183, "") say_reward ( "Podes encontrar em Metins" ) elseif pc . count_item ( 30183 ) >= 200 then say ( "Recompensa:" ) say ( "Velocidade de Movimento 45%" ) say ( "+50 Valor de Ataque" ) say ( "+60 de Defesa" ) say ( "+20% Redução de Danos" ) say ( "+10% Semi-Humanos" ) say_reward ( "Espero que gostes!" ) affect.add_collect(apply.MOV_SPEED,30,60*60*24*365*60) affect.add_collect(apply.MOV_SPEED,15,60*60*24*365*60) affect.add_collect(apply.DEF_GRADE_BONUS,60,60*60*24*365*60) affect.add_collect(apply.ATT_GRADE_BONUS,50,60*60*24*365*60) affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60) affect.add_collect(apply.DEF_GRADE_BONUS,10,60*60*24*365*60) affect.add_collect(apply.ATTBONUS_HUMAN,10,60*60*24*365*60) pc.remove_item(30183,200) set_state(__complete) elseif pc . count_item ( 30183 ) <= 199 then say ( "Tens menos de 200 Máscaras." ) end end end state __complete begin end end
|
|
|
02/24/2013, 17:48
|
#9
|
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
|
Working, thank you very much! :P
|
|
|
|
Similar Threads
|
[SPECIAL TEAM_WARP QUEST]'nd Metin2 Sweet Time Quest's Icons and News
01/27/2013 - Metin2 PServer Guides & Strategies - 22 Replies
deleted!
|
Quest Time?!
01/30/2011 - Metin2 Private Server - 5 Replies
Hallo,
ich hätte mal eine Frage zu Quest Befehlen.
Wie kann man einstellen das man ein Item (Reittier Siegel) nur nach einer bestimmten Zeit öffnen kann?
Beispiel : Man öffnet das Item danach kann man es erst wieder in 300 Sekunden öffnen?!
mfg .CHMarvin!
|
2nd time doing tailsman quest ?
01/11/2009 - Conquer Online 2 - 4 Replies
Hi,
Is there anyway that we can do the tailsman quest for the 2nd time ?
|
change time for quest HELP
01/04/2009 - Conquer Online 2 - 6 Replies
hi all,
i have a problem, i wanna do the ghost city quest but it needs to be done between special times:
20/21 o'clock
17/18 o'clock
and maby back to 20/21 o'clock
but i live in holland so these are inpossible times for me its between 5/6
and 2/3.
Is there something i can do to do the quest at for me normal times??
|
Removed Time on TIME QUEST.
01/09/2008 - 9Dragons - 4 Replies
Like the title said, if you have a quest that required time to pass the QUEST will you can do this..
Ex. If you are Demon the GC8 is the very difficult quest if no healer helping on you.
If you deside to get that quest, will after you talk to WU YUNYAN he will tele you to the DEMON CLAN Place. then you will see some Animation, after that you are now Near to the DMEON BULL and he says that you will get schimeraHORN, it is very difficult to get 5 BloodChimeraHorn in 5mins.
This...
|
All times are GMT +2. The time now is 01:09.
|
|