Hi
I would liked to script a simple baddy but i have a problem,i'm sure its simple but i can't find a solution
PHP Code:
if (timeout && this.mode==4) {
i = random(0,100);
if (i<50) lay bombs; lay bombs;
if (i>50) lay darts;
that's a part of the script its about when the baddy die i would like it lays bombs or arrows.
It works, but the problem is it lay 1 bombs icon and when i take it, it gives me 10 bombs.
Me I would like it lay ,instead of 1bombs icons and 10 bombs, 2 bombs icons and 10 bombs.
Thanks, i hope i explained it well.