Nommage homogène
This commit is contained in:
parent
3073670afa
commit
6d0e5321a2
@ -721,12 +721,12 @@ export class RdDCombat {
|
||||
}
|
||||
}
|
||||
|
||||
isVisible(token, defender) {
|
||||
return canvas.effects.visibility.testVisibility(defender.center, { object: token })
|
||||
isVisible(token, defenderToken) {
|
||||
return canvas.effects.visibility.testVisibility(defenderToken.center, { object: token })
|
||||
}
|
||||
|
||||
distance(t, defenderToken) {
|
||||
return Number(canvas.grid.measureDistances([{ ray: new Ray(t.center, defenderToken.center) }], { gridSpaces: false })).toFixed(1);
|
||||
distance(token, defenderToken) {
|
||||
return Number(canvas.grid.measureDistances([{ ray: new Ray(token.center, defenderToken.center) }], { gridSpaces: false })).toFixed(1);
|
||||
}
|
||||
|
||||
_ajustementPortee(dist, arme) {
|
||||
|
Loading…
Reference in New Issue
Block a user