Professional Documents
Culture Documents
Corhero 25
Corhero 25
if (monster) {
do {
if (getDistance(center.x, center.y, monster.x,
monster.y) <= range && (!spectype || (monster.spectype & spectype)) &&
this.checkMonster(monster)) {
monsterList.push(copyUnit(monster));
}
} while (monster.getNext());
}
break;
case "object":