superman93
Utente Gold
io mi sono sempre chiesto come togliere il giorno d'attesa, qualkuno puo illuminarmi?

Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.


guarda non lo sapevo..e meglio se mi dici che file vanno modificati.. ho provato a mettere 0 al posto di 86400 ma non vaDal guardiano forse?![]()
accettami u.usuper ti basta levare il get global time ^^
local level_limit ;
local guild_create_item
level_limit = 40
guild_create_item = false
if pc . hasguild ( ) then
setskin ( NOWINDOW )
return
end
if game . get_event_flag ( "guild_withdraw_delay" ) * 86400 >
get_global_time ( ) - pc . getqf ( "new_withdraw_time" ) then
say ( string . format ( "Mi dispiace ma devi aspettare altro tempo[ENTER]prima di poter creare una gilda![ENTER]Torna da me tra 24h." ) )
return
end
if game . get_event_flag ( "guild_disband_delay" ) * 86400 >
get_global_time ( ) - pc . getqf ( "new_disband_time" ) then
say ( string . format ( "Mi dispiace ma devi aspettare altro tempo[ENTER]prima di poter creare una gilda![ENTER]Torna da me tra 24h." ) )
return
end
say ( locale . guild . create_confirm )
local s = select ( locale . guild . yes , locale . guild . no )
if s == 2 then
return
end
if pc . level >= level_limit then
if pc . gold >= 200000 then
if not guild_create_item or pc . countitem ( guild_create_item ) > 0 then
pc . change_gold ( - 200000 )
game . request_make_guild ( )
else
say ( locale . guild . no_guild_create_item )
end
else
say ( locale . guild . create_not_enough_money )
end
else
say ( locale . guild . not_enough_leadership )
end
say ( locale . guild . disband_confirm )
local s = select ( locale . guild . yes , locale . guild . no )
if s == 1 then
say ( locale . guild . disband_msg )
pc . destroy_guild ( )
pc . setqf ( "new_disband_time" , get_global_time ( ) )
pc . setqf ( "new_withdraw_time" , get_global_time ( ) )
end