Initial commit: server + serverfiles
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
if pc . getf ( "harvest_festival" , "mob1_info" ) == 3 then harvest_festival . kill_action ( 501 , 1 )
|
||||
return end
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
if pc . count_item ( new_quest_lv29_drop ) < new_quest_lv29_neededAmountDrop and pc . getqf ( "hayIndex" ) > 0 then
|
||||
if math . random ( 1 , 1000 ) <= pc . getqf ( "dropProb" ) then
|
||||
pc . give_item2 ( new_quest_lv29_drop )
|
||||
local qfindex = pc . getqf ( "hayIndex" ) - 1
|
||||
pc . setqf ( "hayIndex" , qfindex )
|
||||
notice_multiline ( gameforge . new_quest_lv29 . _068_notice , notice )
|
||||
if new_quest_lv29_neededAmountDrop <= pc . count_item ( new_quest_lv29_drop ) or pc . getqf ( "hayIndex" ) == 0 then
|
||||
q . done ( )
|
||||
set_state ( "calming_yonah" )
|
||||
end
|
||||
else
|
||||
notice_multiline ( gameforge . new_quest_lv29 . _064_notice , notice )
|
||||
end
|
||||
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