Fix #102 agitator neutral
This commit is contained in:
parent
f4a8aa7927
commit
8ddc3ad776
@ -1210,9 +1210,6 @@ export class PegasusUtility {
|
||||
let agitatorTokens = canvas.tokens.placeables.filter(token => token.actor.isAgitator() && !token.document.hidden)
|
||||
for (let token of agitatorTokens) {
|
||||
token.refresh()
|
||||
if (token.document.disposition == 0) {
|
||||
continue
|
||||
}
|
||||
let ennemies = []
|
||||
if (token.document.disposition == -1) {
|
||||
ennemies = canvas.tokens.placeables.filter(newToken => newToken.actor.type == "character" && !newToken.document.hidden && (newToken.document.disposition == 1 || newToken.document.disposition == 0 ))
|
||||
|
Loading…
Reference in New Issue
Block a user