Tipologie server: PvM Hard
*Resursă folosită: Zearth2
*ServerFiles utilizat: Zearth2
*Syserr: -
Poză: -
*Detalii suplimentare: Aici aveti questul
ABBC3_SPOILER_SHOW
if pc . countitem ( "50050" ) < 1 then
say ( "Ai nevoie de o" )
say ( "Medalie de Cal." )
say ( "" )
setstate ( "need_item50050" )
elseif get_time ( ) < pc . getqf ( "next_time" ) then
say ( "Nu poti face alt antrenament" )
say ( "Revino mai tarziu." )
elseif horse . get_stamina_pct ( ) <= 10 then
say ( "Calul tau este obosit." )
say ( "Are nevoie de odihna." )
elseif horse . get_health_pct ( ) <= 10 then
say ( "Calul tau este infometat." )
say ( "Are nevoie de mancare." )
elseif horse . get_level ( ) == 10 then
say ( "Poti avea calul armat." )
say ( "" )
elseif horse . is_riding ( ) == 0 then
say ( "Intai trebuie sa iti chemi calul!" )
elseif ( horse . get_level ( ) >= 8 and horse . get_level ( ) <= 9 ) then
say ( "Acest antrenament se desfasoara" )
say ( "intr-o alta harta." )
say ( "Va trebui sa te teleportez" )
say ( "in locul respectiv." )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 1 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 1 , 2 ) * 60 )
end
if is_test_server ( ) then
local s = select ( "1 val(1) 12.50%" , "2 val(1) 12.50%" , "3 val(1) 12.50%" , "4 val(1) 12.50%" , "5 val(1) 12.50%" , "6 val(1) 12.50%" , "7 val(1) 12.50%" , "8 val(1) 12.50%" )
if 1 == s then
setstate ( "training_frame_red_step1" )
elseif 2 == s then
setstate ( "training_frame_blue_step1" )
elseif 3 == s then
setstate ( "training_frame_yellow_step1" )
elseif 4 == s then
setstate ( "training_frame_purple_step1" )
elseif 5 == s then
setstate ( "training_frame_white_step1" )
elseif 6 == s then
setstate ( "training_snow_red_step1" )
elseif 7 == s then
setstate ( "training_snow_blue_step1" )
elseif 8 == s then
setstate ( "training_snow_yellow_step1" )
end
else
local s = number ( 1 , 8 )
if 1 >= s then
setstate ( "training_frame_red_step1" )
elseif 2 >= s then
setstate ( "training_frame_blue_step1" )
elseif 3 >= s then
setstate ( "training_frame_yellow_step1" )
elseif 4 >= s then
setstate ( "training_frame_purple_step1" )
elseif 5 >= s then
setstate ( "training_frame_white_step1" )
elseif 6 >= s then
setstate ( "training_snow_red_step1" )
elseif 7 >= s then
setstate ( "training_snow_blue_step1" )
elseif 8 >= s then
setstate ( "training_snow_yellow_step1" )
end
end
elseif ( horse . get_level ( ) >= 6 and horse . get_level ( ) <= 7 ) then
say ( "Acest antrenament se desfasoara" )
say ( "intr-o alta harta." )
say ( "Va trebui sa te teleportez" )
say ( "in locul respectiv." )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 10 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 12 , 24 ) * 60 * 60 )
end
if is_test_server ( ) then
local s = select ( "1 val(1) 11.11%" , "2 val(1) 11.11%" , "3 val(1) 11.11%" , "4 val(1) 11.11%" , "5 val(1) 11.11%" , "6 val(1) 11.11%" , "7 val(1) 11.11%" , "8 val(1) 11.11%" , "9 val(1) 11.11%" )
if 1 == s then
setstate ( "training_valley_red_step1" )
elseif 2 == s then
setstate ( "training_valley_blue_step1" )
elseif 3 == s then
setstate ( "training_valley_yellow_step1" )
elseif 4 == s then
setstate ( "training_desert_red_step1" )
elseif 5 == s then
setstate ( "training_desert_blue_step1" )
elseif 6 == s then
setstate ( "training_desert_yellow_step1" )
elseif 7 == s then
setstate ( "training_desert_purple_step1" )
elseif 8 == s then
setstate ( "training_desert_white_step1" )
elseif 9 == s then
setstate ( "training_desert_sky_step1" )
end
else
local s = number ( 1 , 9 )
if 1 >= s then
setstate ( "training_valley_red_step1" )
elseif 2 >= s then
setstate ( "training_valley_blue_step1" )
elseif 3 >= s then
setstate ( "training_valley_yellow_step1" )
elseif 4 >= s then
setstate ( "training_desert_red_step1" )
elseif 5 >= s then
setstate ( "training_desert_blue_step1" )
elseif 6 >= s then
setstate ( "training_desert_yellow_step1" )
elseif 7 >= s then
setstate ( "training_desert_purple_step1" )
elseif 8 >= s then
setstate ( "training_desert_white_step1" )
elseif 9 >= s then
setstate ( "training_desert_sky_step1" )
end
end
elseif ( horse . get_level ( ) >= 3 and horse . get_level ( ) <= 5 ) then
say ( "Calreste la tinta" )
say ( "marcata pe harta." )
say ( "Grabeste-te si nu uita:" )
say ( "NU DESCALECA!" )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 10 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 12 , 24 ) * 60 * 60 )
end
if pc . get_empire ( ) == 1 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training1_normal1" )
elseif 2 == s then
setstate ( "training1_normal2" )
elseif 3 == s then
setstate ( "training1_normal3" )
elseif 4 == s then
setstate ( "training1_normal4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training1_normal1" )
elseif 2 >= s then
setstate ( "training1_normal2" )
elseif 3 >= s then
setstate ( "training1_normal3" )
elseif 4 >= s then
setstate ( "training1_normal4" )
end
end
elseif pc . get_empire ( ) == 2 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training2_normal1" )
elseif 2 == s then
setstate ( "training2_normal2" )
elseif 3 == s then
setstate ( "training2_normal3" )
elseif 4 == s then
setstate ( "training2_normal4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training2_normal1" )
elseif 2 >= s then
setstate ( "training2_normal2" )
elseif 3 >= s then
setstate ( "training2_normal3" )
elseif 4 >= s then
setstate ( "training2_normal4" )
end
end
elseif pc . get_empire ( ) == 3 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training3_normal1" )
elseif 2 == s then
setstate ( "training3_normal2" )
elseif 3 == s then
setstate ( "training3_normal3" )
elseif 4 == s then
setstate ( "training3_normal4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training3_normal1" )
elseif 2 >= s then
setstate ( "training3_normal2" )
elseif 3 >= s then
setstate ( "training3_normal3" )
elseif 4 >= s then
setstate ( "training3_normal4" )
end
end
end
elseif ( horse . get_level ( ) >= 1 and horse . get_level ( ) <= 2 ) then
say ( "Calareste la tinta" )
say ( "marcata pe harta." )
say ( "Grabeste-te si nu uita:" )
say ( "NU DESCALECA!." )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 10 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 12 , 24 ) * 60 * 60 )
end
if pc . get_empire ( ) == 1 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training1_easy1" )
elseif 2 == s then
setstate ( "training1_easy2" )
elseif 3 == s then
setstate ( "training1_easy3" )
elseif 4 == s then
setstate ( "training1_easy4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training1_easy1" )
elseif 2 >= s then
setstate ( "training1_easy2" )
elseif 3 >= s then
setstate ( "training1_easy3" )
elseif 4 >= s then
setstate ( "training1_easy4" )
end
end
elseif pc . get_empire ( ) == 2 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training2_easy1" )
elseif 2 == s then
setstate ( "training2_easy2" )
elseif 3 == s then
setstate ( "training2_easy3" )
elseif 4 == s then
setstate ( "training2_easy4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training2_easy1" )
elseif 2 >= s then
setstate ( "training2_easy2" )
elseif 3 >= s then
setstate ( "training2_easy3" )
elseif 4 >= s then
setstate ( "training2_easy4" )
end
end
elseif pc . get_empire ( ) == 3 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training3_easy1" )
elseif 2 == s then
setstate ( "training3_easy2" )
elseif 3 == s then
setstate ( "training3_easy3" )
elseif 4 == s then
setstate ( "training3_easy4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training3_easy1" )
elseif 2 >= s then
setstate ( "training3_easy2" )
elseif 3 >= s then
setstate ( "training3_easy3" )
elseif 4 >= s then
setstate ( "training3_easy4" )
end
end
end
else
say ( "" )
end
say ( "Ai nevoie de o" )
say ( "Medalie de Cal." )
say ( "" )
setstate ( "need_item50050" )
elseif get_time ( ) < pc . getqf ( "next_time" ) then
say ( "Nu poti face alt antrenament" )
say ( "Revino mai tarziu." )
elseif horse . get_stamina_pct ( ) <= 10 then
say ( "Calul tau este obosit." )
say ( "Are nevoie de odihna." )
elseif horse . get_health_pct ( ) <= 10 then
say ( "Calul tau este infometat." )
say ( "Are nevoie de mancare." )
elseif horse . get_level ( ) == 10 then
say ( "Poti avea calul armat." )
say ( "" )
elseif horse . is_riding ( ) == 0 then
say ( "Intai trebuie sa iti chemi calul!" )
elseif ( horse . get_level ( ) >= 8 and horse . get_level ( ) <= 9 ) then
say ( "Acest antrenament se desfasoara" )
say ( "intr-o alta harta." )
say ( "Va trebui sa te teleportez" )
say ( "in locul respectiv." )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 1 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 1 , 2 ) * 60 )
end
if is_test_server ( ) then
local s = select ( "1 val(1) 12.50%" , "2 val(1) 12.50%" , "3 val(1) 12.50%" , "4 val(1) 12.50%" , "5 val(1) 12.50%" , "6 val(1) 12.50%" , "7 val(1) 12.50%" , "8 val(1) 12.50%" )
if 1 == s then
setstate ( "training_frame_red_step1" )
elseif 2 == s then
setstate ( "training_frame_blue_step1" )
elseif 3 == s then
setstate ( "training_frame_yellow_step1" )
elseif 4 == s then
setstate ( "training_frame_purple_step1" )
elseif 5 == s then
setstate ( "training_frame_white_step1" )
elseif 6 == s then
setstate ( "training_snow_red_step1" )
elseif 7 == s then
setstate ( "training_snow_blue_step1" )
elseif 8 == s then
setstate ( "training_snow_yellow_step1" )
end
else
local s = number ( 1 , 8 )
if 1 >= s then
setstate ( "training_frame_red_step1" )
elseif 2 >= s then
setstate ( "training_frame_blue_step1" )
elseif 3 >= s then
setstate ( "training_frame_yellow_step1" )
elseif 4 >= s then
setstate ( "training_frame_purple_step1" )
elseif 5 >= s then
setstate ( "training_frame_white_step1" )
elseif 6 >= s then
setstate ( "training_snow_red_step1" )
elseif 7 >= s then
setstate ( "training_snow_blue_step1" )
elseif 8 >= s then
setstate ( "training_snow_yellow_step1" )
end
end
elseif ( horse . get_level ( ) >= 6 and horse . get_level ( ) <= 7 ) then
say ( "Acest antrenament se desfasoara" )
say ( "intr-o alta harta." )
say ( "Va trebui sa te teleportez" )
say ( "in locul respectiv." )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 10 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 12 , 24 ) * 60 * 60 )
end
if is_test_server ( ) then
local s = select ( "1 val(1) 11.11%" , "2 val(1) 11.11%" , "3 val(1) 11.11%" , "4 val(1) 11.11%" , "5 val(1) 11.11%" , "6 val(1) 11.11%" , "7 val(1) 11.11%" , "8 val(1) 11.11%" , "9 val(1) 11.11%" )
if 1 == s then
setstate ( "training_valley_red_step1" )
elseif 2 == s then
setstate ( "training_valley_blue_step1" )
elseif 3 == s then
setstate ( "training_valley_yellow_step1" )
elseif 4 == s then
setstate ( "training_desert_red_step1" )
elseif 5 == s then
setstate ( "training_desert_blue_step1" )
elseif 6 == s then
setstate ( "training_desert_yellow_step1" )
elseif 7 == s then
setstate ( "training_desert_purple_step1" )
elseif 8 == s then
setstate ( "training_desert_white_step1" )
elseif 9 == s then
setstate ( "training_desert_sky_step1" )
end
else
local s = number ( 1 , 9 )
if 1 >= s then
setstate ( "training_valley_red_step1" )
elseif 2 >= s then
setstate ( "training_valley_blue_step1" )
elseif 3 >= s then
setstate ( "training_valley_yellow_step1" )
elseif 4 >= s then
setstate ( "training_desert_red_step1" )
elseif 5 >= s then
setstate ( "training_desert_blue_step1" )
elseif 6 >= s then
setstate ( "training_desert_yellow_step1" )
elseif 7 >= s then
setstate ( "training_desert_purple_step1" )
elseif 8 >= s then
setstate ( "training_desert_white_step1" )
elseif 9 >= s then
setstate ( "training_desert_sky_step1" )
end
end
elseif ( horse . get_level ( ) >= 3 and horse . get_level ( ) <= 5 ) then
say ( "Calreste la tinta" )
say ( "marcata pe harta." )
say ( "Grabeste-te si nu uita:" )
say ( "NU DESCALECA!" )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 10 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 12 , 24 ) * 60 * 60 )
end
if pc . get_empire ( ) == 1 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training1_normal1" )
elseif 2 == s then
setstate ( "training1_normal2" )
elseif 3 == s then
setstate ( "training1_normal3" )
elseif 4 == s then
setstate ( "training1_normal4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training1_normal1" )
elseif 2 >= s then
setstate ( "training1_normal2" )
elseif 3 >= s then
setstate ( "training1_normal3" )
elseif 4 >= s then
setstate ( "training1_normal4" )
end
end
elseif pc . get_empire ( ) == 2 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training2_normal1" )
elseif 2 == s then
setstate ( "training2_normal2" )
elseif 3 == s then
setstate ( "training2_normal3" )
elseif 4 == s then
setstate ( "training2_normal4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training2_normal1" )
elseif 2 >= s then
setstate ( "training2_normal2" )
elseif 3 >= s then
setstate ( "training2_normal3" )
elseif 4 >= s then
setstate ( "training2_normal4" )
end
end
elseif pc . get_empire ( ) == 3 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training3_normal1" )
elseif 2 == s then
setstate ( "training3_normal2" )
elseif 3 == s then
setstate ( "training3_normal3" )
elseif 4 == s then
setstate ( "training3_normal4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training3_normal1" )
elseif 2 >= s then
setstate ( "training3_normal2" )
elseif 3 >= s then
setstate ( "training3_normal3" )
elseif 4 >= s then
setstate ( "training3_normal4" )
end
end
end
elseif ( horse . get_level ( ) >= 1 and horse . get_level ( ) <= 2 ) then
say ( "Calareste la tinta" )
say ( "marcata pe harta." )
say ( "Grabeste-te si nu uita:" )
say ( "NU DESCALECA!." )
say ( "" )
if is_test_server ( ) then
pc . setqf ( "next_time" , get_time ( ) + 10 )
else
pc . setqf ( "next_time" , get_time ( ) + number ( 12 , 24 ) * 60 * 60 )
end
if pc . get_empire ( ) == 1 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training1_easy1" )
elseif 2 == s then
setstate ( "training1_easy2" )
elseif 3 == s then
setstate ( "training1_easy3" )
elseif 4 == s then
setstate ( "training1_easy4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training1_easy1" )
elseif 2 >= s then
setstate ( "training1_easy2" )
elseif 3 >= s then
setstate ( "training1_easy3" )
elseif 4 >= s then
setstate ( "training1_easy4" )
end
end
elseif pc . get_empire ( ) == 2 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training2_easy1" )
elseif 2 == s then
setstate ( "training2_easy2" )
elseif 3 == s then
setstate ( "training2_easy3" )
elseif 4 == s then
setstate ( "training2_easy4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training2_easy1" )
elseif 2 >= s then
setstate ( "training2_easy2" )
elseif 3 >= s then
setstate ( "training2_easy3" )
elseif 4 >= s then
setstate ( "training2_easy4" )
end
end
elseif pc . get_empire ( ) == 3 then
if is_test_server ( ) then
local s = select ( "1 val(1) 25.00%" , "2 val(1) 25.00%" , "3 val(1) 25.00%" , "4 val(1) 25.00%" )
if 1 == s then
setstate ( "training3_easy1" )
elseif 2 == s then
setstate ( "training3_easy2" )
elseif 3 == s then
setstate ( "training3_easy3" )
elseif 4 == s then
setstate ( "training3_easy4" )
end
else
local s = number ( 1 , 4 )
if 1 >= s then
setstate ( "training3_easy1" )
elseif 2 >= s then
setstate ( "training3_easy2" )
elseif 3 >= s then
setstate ( "training3_easy3" )
elseif 4 >= s then
setstate ( "training3_easy4" )
end
end
end
else
say ( "" )
end
