Initial commit: server + serverfiles
This commit is contained in:
+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
|
||||
Reference in New Issue
Block a user