I see a bug in his script. Find this line:
and replace it with this one:Code:if (can_lift(xx,yy) == 3) {this_dam = dam_3;)
(the brace at the end wasn't curly)Code:if (can_lift(xx,yy) == 3) {this_dam = dam_3;}
You need to re-import it to re-compile it.