Initial commit: server + serverfiles
This commit is contained in:
+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