Jump to content

Recommended Posts

Posted
OnTimer90100000:
stopnpctimer;
set $@Aqua_Repeat,rand(1000);
if ($@Aqua_Repeat <= 1000) goto Aqua1; // Posibilidades de que se reactive el evento en cada hora. (Por defecto 1/1000)
setnpctimer 86500000;
startnpctimer;
end;
}
ay dice 90100000 (milisegundos) si esta activo aqua_repeat tiene posibilidad de activarse cada 1h
luego pone el timer a 86500000

90100000 -  86500000 = 3600000 milisegundos (1h)

por ende si ponemos el timer a 

setnpctimer 82900000; 

serian 2 horas

fijate bien en la parte tambien de :

OnTimer86480000:
disablenpc "Señor de Amatsu";
if ($Aqua_Auto == 0) stopnpctimer;
end;

porque eso se ejecutaría al poner el timer mas bajo y desconosco su función (no lei el script completo, solo busque directo lo de la hora)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...