Skip to content

Commit

Permalink
Merge pull request dmdorman#1561 from aeauseth/main
Browse files Browse the repository at this point in the history
noncombat removal & person running svg fix
  • Loading branch information
aeauseth authored Nov 30, 2024
2 parents 4d53c76 + 3610d67 commit ff57597
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion icons/person-running.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions module/ruler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ export class HeroRuler extends Ruler {
let currentDistance = dragRuler.getMovedDistanceFromToken(tokenObj);

// Noncombat Movement?
if (Math.floor(currentDistance) > this.getRanges(token)[1].range && token.actor) {
token.actor.addActiveEffect(
HeroSystem6eActorActiveEffects.statusEffectsObj.nonCombatMovementEffect,
);
}
// if (Math.floor(currentDistance - 1) > this.getRanges(token)[1].range && token.actor) {
// token.actor.addActiveEffect(
// HeroSystem6eActorActiveEffects.statusEffectsObj.nonCombatMovementEffect,
// );
// }

// DistancePerEnd default is 10m costs 1 END
let DistancePerEnd = 10;
Expand Down

0 comments on commit ff57597

Please sign in to comment.