mob/wolf/verb/toss_bomb(n as int){
if( usr.dir == 1 ){
burst(usr.x, usr.y+3, usr.z);
}else if( usr.dir == 2 ){
burst(usr.x, usr.y-3, usr.z);
}else if( usr.dir == 4 ){
burst(usr.x+3, usr.y, usr.z);
}else if( usr.dir == 8 ){
burst(usr.x-3, usr.y, usr.z);
}else{
burst(usr.x, usr.y, usr.z);
}
}
Problem description:
What errors are here?
2: Your indentation is also wrong. You have the braces set the wrong way.
These are the errors/problems I can see according to the current code you posted.