Initial commit: server + serverfiles
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
pc . setqf ( "kill_count" , pc . getqf ( "kill_count" ) + 1 )
|
||||
q . set_counter ( gameforge . pony_buy . _test_503_count , 20 - pc . getqf ( "kill_count" ) )
|
||||
if get_time ( ) >= pc . getqf ( "limit_time" ) then
|
||||
setstate ( "failure" )
|
||||
end
|
||||
if pc . getqf ( "kill_count" ) >= 20 and pc . getqf ( "limit_time" ) >= get_time ( ) then setstate ( "report" )
|
||||
return end
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
local s = number ( 1 , 100 )
|
||||
if s <= 5 and pc . count_item ( "30161" ) < 3 then
|
||||
pc . give_item2 ( "30161" , 1 )
|
||||
local v = find_npc_by_vnum ( 20003 )
|
||||
if 0 == v then
|
||||
else
|
||||
target . vid ( "__TARGET__" , v , gameforge . subquest_20 . _150_targetVid )
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user