kypvalanx / Foundry-VTT-StarWars-SagaEdition

25 stars 7 forks source link

NaN damage on Double Weapons #437

Closed cpadilla closed 5 months ago

cpadilla commented 10 months ago

When equipping a Double Weapon, such as the Shockstaff, the attack shows NaN as the damage amount. This is most likely due to the damage on the weapon on the wiki being listed as 2d6/2d6. The damage should be parsed as the first half before the / since it looks like most Double Weapons have identical damage on both sides.

Perhaps adding a new mode for Double Weapons is necessary to calculate if the attack is using both ends of the weapon as a Full-Round Action. A -10 penalty should be applied by default, with certain Feats and Talents that can reduce these penalties.

image

kypvalanx commented 5 months ago

this is fixed, but there is a little more work i'd like to do before closing