Initial commit: server + serverfiles
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
local s = number ( 1 , 500 )
|
||||
if s == 1 and pc . count_item ( 30222 ) == 0 then
|
||||
pc . give_item2 ( 30222 , 1 )
|
||||
send_letter ( gameforge . collect_quest_lv50 . _260_sendLetter )
|
||||
end
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
pc . setqf ( "kill_count" , pc . getqf ( "kill_count" ) + 1 )
|
||||
q . set_counter ( gameforge . horse_upgrade2 . _test_1002_count , 300 - pc . getqf ( "kill_count" ) )
|
||||
if get_time ( ) >= pc . getqf ( "limit_time" ) then
|
||||
setstate ( "failure" )
|
||||
q . done ( )
|
||||
end
|
||||
if pc . getqf ( "kill_count" ) >= 300 and pc . getqf ( "limit_time" ) >= get_time ( ) then setstate ( "report" )
|
||||
return end
|
||||
Reference in New Issue
Block a user