si punem spre exemplu in loc de 40 minute 2 ore.. dupa ce terminam doungeonul ne seteaza flagul de ateaptare tot 40 minute..
Am impresia ca tine cont din alta parte de timpul doungeonului platesc cine stie sa rezolve aceasta problema.. as vrea dupa ce termin doungeonul sa nu mai seteze 40 minute si 2 ore.. de ex.. daca schimb indexul la harta in loc de 208 cu altceva functioneaza tine cont de ce modific eu in quest .. stie cineva vreo rezolvare ?
Cod: Selectaţi tot
elseif result == 6 or result == 7 then
if myname == name then
say ( string . format ( gameforge [ lang ] . common . dungeon_18 , 3 , item_name ( 30179 ) ) )
else
say ( string . format ( gameforge [ lang ] . common . dungeon_17 , name , 3 , item_name ( 30179 ) ) )
end
elseif result == 8 then
local h = math . floor ( cooldown / 3600 )
local m = math . floor ( ( cooldown - ( 3600 * h ) ) / 60 )
local hS = gameforge [ lang ] . common . hours if h == 1 then
hS = gameforge [ lang ] . common . hour end
local mS = gameforge [ lang ] . common . minutes if m == 1 then
mS = gameforge [ lang ] . common . minute end
if myname == name then
say ( string . format ( gameforge [ lang ] . common . dungeon_16 , h , hS , m , mS ) )
else
say ( string . format ( gameforge [ lang ] . common . dungeon_15 , name , h , hS , m , mS ) )
end
elseif result == 1 then
say ( gameforge [ lang ] . common . dungeon_21 )
wait ( )
d . remove_item ( 30179 , 3 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 14400 , "dragonlair_zone" )
game . set_event_flag ( string . format ( "ww_208_%d" , pc . get_channel_id ( ) ) , get_global_time ( ) + 5 )
d . join_cords ( 208 , 8435 , 10668 )
end
end
