Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.buildList = function () {
- var monsterList = [],
- monster = getUnit(1);
- if (monster) {
- do {
- if ([345, 346, 347].indexOf(monster.classid) > -1 && Attack.checkMonster(monster)) {
- monsterList.push(copyUnit(monster));
- }
- } while (monster.getNext());
- }
- return monsterList;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement