quest mt2card begin
state start begin
when letter begin
send_letter(" مهمة القتل ")
end
when info or button begin
say(" ")
say(" 150 قتله سرعة تحرك 20 ")
say (" 300قتله سرعة هجوم 10 ")
say(" 450 قتله قيمة دفاع 60 ")
say(" 600 قتله قيمة هجوم 50 ")
say(" 750 قتله نقاط حياة 1200 ")
say(" 900 قتله قيمة هجوم 60 ")
say(" 1100 قتله دفاع ضد الشخصيات 10% ")
say(" 1300 قتله هجوم ضد الشخصيات 10% ")
say(" 1500 قتله فرصة خارقة 10% ")
say(" 1700 قتله فرصة حرجة 10% ")
say(" 2000 قتله بشر 10% ")
say (pc.getqf("count")," لقد قمت بقتل ")
say(" ماتين كارد ")
end
when kill with npc.is_pc() begin
local vid = npc.get_vid()
local acc_id = pc.get_account_id()
local check_my_ip = pc.get_ip()
local check_enemy_ip = npc.get_ip()
if check_my_ip == check_enemy_ip then
chat ( " لقد قمت بقتل حسابك لن تحصل على نقاط قتل " )
return
else
pc . setqf ( "count" , pc . getqf ( "count" ) + 1 )
if pc . getqf ( "count" ) >= 500 and pc . getqf ( "attrip0" ) == 0 and pc . getqf ( "attrip1" ) == 0 then
chat ( " احسنت لقد انجزت مهمتك وحصلت على 60 دفاع " )
pc . setqf ( "attrip0" , 1 )
affect . add_collect ( apply . DEF_GRADE_BONUS , 60 , 60 * 60 * 24 * 365 * 60 )
elseif pc . getqf ( "count" ) >= 1000 and pc . getqf ( "attrip0" ) == 1 and pc . getqf ( "attrip1" ) == 0 and pc . getqf ( "attrip2" ) == 0 then
chat ( " احسنت لقد انجزت مهمتك وحصلت على 20 سرعة تحرك " )
pc . setqf ( "attrip1" , 1 )
affect . add_collect ( apply . MOV_SPEED , 20 , 60 * 60 * 24 * 365 * 60 )
elseif pc . getqf ( "count" ) >= 1500 and pc . getqf ( "attrip1" ) == 1 and pc . getqf ( "attrip2" ) == 0 and pc . getqf ( "attrip3" ) == 0 then
chat ( " احسنت لقد انجزت مهمتك وحصلت على 60 قيمة هجوم " )
pc . setqf ( "attrip2" , 1 )
affect . add_collect ( apply . ATT_GRADE_BONUS , 60 , 60 * 60 * 24 * 365 * 60 )
elseif pc . getqf ( "count" ) >= 1800 and pc . getqf ( "attrip2" ) == 1 and pc . getqf ( "attrip3" ) == 0 and pc . getqf ( "attrip4" ) == 0 then
chat ( " احسنت لقد انجزت مهمتك وحصلت على 1000 حياة " )
pc . setqf ( "attrip3" , 1 )
affect . add_collect ( apply . MAX_HP , 1000 , 60 * 60 * 24 * 365 * 60 )
elseif pc . getqf ( "count" ) >= 3000 and pc . getqf ( "attrip3" ) == 1 and pc . getqf ( "attrip4" ) == 0 and pc . getqf ( "attrip5" ) == 0 then
chat ( " احسنت لقد انجزت مهمتك وحصلت 5 قوي ضدد نصف بشر " )
pc . setqf ( "attrip4" , 1 )
affect . add_collect ( apply . ATTBONUS_HUMAN , 5 , 60 * 60 * 24 * 365 * 60 )
elseif pc . getqf ( "count" ) >= 4000 and pc . getqf ( "attrip4" ) == 1 and pc . getqf ( "attrip5" ) == 0 and pc . getqf ( "attrip6" ) == 0 then
chat ( " احسنت لقد انجزت مهمتك وحصلت 5 قوي ضدد نصف بشر " )
pc . setqf ( "attrip5" , 1 )
affect . add_collect ( apply . ATTBONUS_HUMAN , 5 , 60 * 60 * 24 * 365 * 60 )
elseif pc . getqf ( "count" ) >= 5000 and pc . getqf ( "attrip5" ) == 1 and pc . getqf ( "attrip6" ) == 0 and pc . getqf ( "attrip0" ) == 1 and pc . getqf ( "attrip2" ) == 1 and pc . getqf ( "attrip3" ) == 1 and pc . getqf ( "attrip4" ) == 1 then
chat ( " احسنت لقد انجزت مهمتك وحصلت على حياة 1200 و90 قيمة هجوم و10 ضد الشخصيات و 8 دفاع ضد الشخصيات " )
pc . setqf ( "attrip6" , 1 )
affect . add_collect ( apply . MAX_HP , 1200 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect ( apply . ATT_GRADE_BONUS , 90 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_RESIST_WARRIOR , 8 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_RESIST_ASSASSIN , 8 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_RESIST_SURA , 8 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_RESIST_SHAMAN , 8 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_ATTBONUS_WARRIOR , 10 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_ATTBONUS_ASSASSIN , 10 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_ATTBONUS_SURA , 10 , 60 * 60 * 24 * 365 * 60 )
affect . add_collect_point ( POINT_ATTBONUS_SHAMAN , 10 , 60 * 60 * 24 * 365 * 60 )
end
end
end
end
end