Merge branch 'master' of https://github.com/ckcz123/mota-js
This commit is contained in:
commit
ea7e26c8a5
4 files changed
+3
-3
No files matched your search
+1
-1
@@ -76,7 +76,7 @@ enemys.prototype.getEnemys = function (enemyId) {
|
||||
}
|
||||
|
||||
enemys.prototype.hasSpecial = function (special, test) {
|
||||
return special!=0 && (special%100 == test || this.hasSpecial(parseInt(special/100), test));
|
||||
return (special instanceof Array)?special.indexOf(test)>=0:(special!=0&&(special%100==test||this.hasSpecial(parseInt(special/100), test)));
|
||||
}
|
||||
|
||||
enemys.prototype.getSpecialText = function (enemyId) {
|
||||
|
||||
Reference in new issue
Block a user