reyzor1991 / foundry-vtt-pf2e-action-support

Apache License 2.0
0 stars 4 forks source link

twinTakedown with two different Agile weapons #47

Closed lizzorrd closed 2 months ago

lizzorrd commented 4 months ago

If you have two different weapons, e.g. a Kukri and a dagger, where both are agile and one deals more damage. There is no way to control which weapon attacks first.

In ranger.js line 117 the primary and secondary weapons will get switched if one is agile. This also happens if both are agile. So in the example the Kukri would become the secondary weapon attacking with MAP, which is not desired. If you add && !secondary.item.system.traits.value.includes("agile")) to that line at least the weapons won't be swapped if both are agile.