proc/Countdown(mob/owner)
while(duration != -1 && duration > 0)
sleep(10)
duration =- 1
if(duration <= 0)
RemoveEffect(owner)
Problem description:
When I set the duration to 30, it sleeps for one second and it removes it.
ID:141558
Jan 24 2009, 5:45 am
|
|
Code:
proc/Countdown(mob/owner) Problem description: When I set the duration to 30, it sleeps for one second and it removes it. |
Jan 24 2009, 5:48 am
|
|
In response to Mizukouken Ketsu
|
|
Ah, a very noob mistake. I feel dumb now..
|