Initial commit: server + serverfiles
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
local kill_count = pc . getqf ( "mob5_2_kill" )
|
||||
if kill_count < 40 then
|
||||
pc . setqf ( "mob5_2_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
|
||||
Reference in New Issue
Block a user