zunath / SWLOR_NWN

Star Wars: Legends of the Old Republic server code, a persistent world for Neverwinter Nights
40 stars 98 forks source link

Add new method GetPerkAdjustedAbilityScore in combat.cs #1779

Closed Garrbear758 closed 1 year ago

Garrbear758 commented 1 year ago

Check for the relevant damage ability score based on weapon type, perks, and stances. Apply the new method to all relevant abilities.

Abilities Affected: -Force Leap -Saber Strike -Crippling Shot -Double Shot -Explosive Toss -Piercing Toss -Quick Draw -Circle Slash -Double Strike (Leg Sweep and Slam now use the new method as well, but they had inline code to support flurry already, but crushing style / mastery will now also apply to abilities.)

zunath commented 1 year ago

Made a few stylistic fixes to your PR. Had to submit separately due to permissions issues on GitHub. Closing this out as it has been merged. Thank you!