Initial commit: server + serverfiles
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
local kill_count = pc . getqf ( "mob5_4_kill" )
|
||||
if kill_count < 10 then
|
||||
pc . setqf ( "mob5_4_kill" , kill_count + 1 )
|
||||
local total_remain = main_quest_lv90 . kill_count ( )
|
||||
if total_remain == 0 then
|
||||
notice_multiline ( gameforge . main_quest_lv90 . _780_1_notice , notice )
|
||||
notice_multiline ( gameforge . main_quest_lv90 . _780_2_notice , notice )
|
||||
set_state ( "state5_3" )
|
||||
end
|
||||
end
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
if number ( 1 , 200 ) == 1 then
|
||||
if pc . count_item ( 31028 ) < 100 then
|
||||
pc . give_item2 ( 31028 , 1 )
|
||||
local remain = 100 - pc . count_item ( 31028 )
|
||||
if remain < 0 then
|
||||
remain = 0
|
||||
end
|
||||
q . set_counter_value ( remain )
|
||||
if pc . count_item ( 31028 ) >= 100 then
|
||||
notice_multiline ( gameforge . main_quest_lv90 . _1040_1_notice , notice )
|
||||
notice_multiline ( gameforge . main_quest_lv90 . _1040_2_notice , notice )
|
||||
set_state ( "state7_3" )
|
||||
end
|
||||
end
|
||||
end
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
if number ( 1 , 200 ) == 1 then
|
||||
if pc . count_item ( 31028 ) < 100 then
|
||||
pc . give_item2 ( 31028 , 1 )
|
||||
local remain = 100 - pc . count_item ( 31028 )
|
||||
if remain < 0 then
|
||||
remain = 0
|
||||
end
|
||||
if pc . count_item ( 31028 ) >= 100 then
|
||||
notice_multiline ( gameforge . main_quest_lv90 . _1040_1_notice , notice )
|
||||
notice_multiline ( gameforge . main_quest_lv90 . _1040_2_notice , notice )
|
||||
end
|
||||
end
|
||||
end
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
local mob1_1_killed = pc . getqf ( "mob1_1_killed" )
|
||||
if mob1_1_killed < 10 then
|
||||
pc . setqf ( "mob1_1_killed" , mob1_1_killed + 1 )
|
||||
local remain = 10 - pc . getqf ( "mob1_1_killed" )
|
||||
if remain < 0 then
|
||||
remain = 0
|
||||
end
|
||||
if remain == 0 then
|
||||
say_title ( mob_name ( 3205 ) )
|
||||
say ( gameforge . main_quest_lv91 . _100_say )
|
||||
notice_multiline ( gameforge . main_quest_lv91 . _090_1_notice , notice )
|
||||
notice_multiline ( gameforge . main_quest_lv91 . _090_2_notice , notice )
|
||||
set_state ( "state1_3" )
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user