PDA

View Full Version : Ranged Attacks via Powers



bmos
September 21st, 2021, 10:50
When I link a power to a ranged weapon and then make an attack roll from the power, it makes the attack as a melee attack although the weapon is set to ranged.
This seems to be a ruleset bug.

EDIT: I was wrong (https://www.fantasygrounds.com/forums/showthread.php?70628-Ranged-Attacks-via-Powers&p=620904&viewfull=1#post620904).

superteddy57
September 22nd, 2021, 09:16
Sorry for the late reply. Is it just linking a power to a ranged weapon? Just wanted to verify any steps to try and replicate this issue.

bmos
September 22nd, 2021, 11:32
Thanks for the reply Dominic! Here are some step by step images that should help:

View showing weapon 3 is ranged:
https://i.imgur.com/TuGiVxB.png

View showing powers are linked to weapon 3 (I also tried putting 3 in the per-power weapon field):
https://i.imgur.com/pqvUeZp.png

Chat output of attack:
https://i.imgur.com/A0DEcAG.png

bmos
September 22nd, 2021, 12:10
I'd suggest looking at the getRollStructures function of string_powerdesc.lua as it seems to be the origin of that roll.

I don't know the 4E ruleset well, but it appears to be looking for ranged/melee/etc from a field that doesn't exist.

bmos
September 22nd, 2021, 12:14
Oops, looks like I was missing something. Sorry to have wasted your time.
49231

Moon Wizard
September 22nd, 2021, 15:24
No worries. Glad you found the source. I had added to the queue to look at; but it was a little ways off for me still.

Cheers,
JPG

John9355
January 6th, 2022, 06:30
I don't know the 4E ruleset well, but it appears to be looking for ranged/melee/etc from a field that doesn't exist.














UPSers website (https://www.upsers.onl/)