Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown
in:

Vision/Scopes: Difference between revisions

No edit summary
No edit summary
 
Line 16: Line 16:
});
});
</syntaxhighlight>
</syntaxhighlight>
Note that for weapons, the Active Effect needs to be on the weapon itself, not the accessory.
Note that for this application, the Active Effect and Effect Macro need to be on the weapon itself, not the accessory.

Latest revision as of 15:47, 20 March 2024

Icon-warning.svg

This page is a Stub, meant to be transcluded into Vision rather than viewed directly.

To keep optics mounted on weapons useful, use this code to take the weapon's range into account:

await game.macros.getName("Low-Light Vision").execute({
  token: token,
  rating: item.system.range.ranges.extreme / 3 - 2,
  cone: 15
});
await game.macros.getName("Thermographic Vision").execute({
  token: token,
  rating: item.system.range.ranges.extreme / 3 - 1,
  cone: 15
});

Note that for this application, the Active Effect and Effect Macro need to be on the weapon itself, not the accessory.