Reply to What's wrong with this loop?
If you don't have an account, just leave the password field blank.
void hurt1_10( void )
{
&time = 10;
loop:
hurt(1, 1);
&time -= 1;
wait(1000);
if (&time < 1)
kill_this_task();
goto loop;
}
When I run this task, it hurts Dink for several points for a few seconds. So what's wrong??
{
&time = 10;
loop:
hurt(1, 1);
&time -= 1;
wait(1000);
if (&time < 1)
kill_this_task();
goto loop;
}
When I run this task, it hurts Dink for several points for a few seconds. So what's wrong??