Files

18 lines
451 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Hector_Tudors.js — enemies() (satır 464)
[← Hector_Tudors.js](index.md) · [← Master](../../wiki.md)
```javascript
function enemies(w, x, y, z, r, caster) {
var out = [];
var list = w.getEntities(x, y, z, r);
for (var i = 0; i < list.size(); i++) {
var e = list.get(i);
if (e.isSame(caster)) continue;
if (!e.isLivingBase()) continue;
out.push(e);
}
return out;
}
```