Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Enchanted Trinkets Complete--a hardcover book containing over 500 magic items for your D&D games!
Community
General Tabletop Discussion
*Pathfinder & Starfinder
Improved Rapid Shot feat
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Korak" data-source="post: 1348667" data-attributes="member: 9781"><p>Here is my average damage formula for an attack. The logic part of it is expressed in an excel "if" statement, but I changed all the cell references to represent what each quantity is. Hopefully the logic of the formula will become apparent with that change.</p><p></p><p>=(IF((AC-(Attack Bonus-Power Attack))>2,(IF((AC-(Attack Bonus-Power Attack))>19,0.05,(1-((AC-(Attack Bonus-Power Attack))/20)))) ,0.95))*(Average Weapon Damage + Damage Bonus(Strength + Weapon Specialization + Divine Favor, etc) + Power Attack*Power Attack Multiplier + (Average Sneak Attack Damage and other types… e.g. elemental, if applicable) + (IF((AC-(Attack Bonus – Power Attack))>19,0.0025,(IF((AC-(Attack Bonus – Power Attack))<3,(0.95*(1.05-(Threat Range (expressed as the first number in the x-20 range e.g. 17 if the threat range is 17-20)*0.05))),((1-((AC-(Attack Bonus – Power Attack))/20))*((21-Threat Range)*0.05)))))*((Critical Multiplier - 1) * Subject_to_Crits? (1 if yes, 0 if no) * (Damage Bonus (as defined above) + Power Attack*Power Attack Multiplier + Average Weapon Damage)))</p><p></p><p>As for power critical, you need simply make the following changes...</p><p></p><p>=(IF((AC-(Attack Bonus-Power Attack))>2,(IF((AC-(Attack Bonus-Power Attack))>19,0.05,(1-((AC-(Attack Bonus-Power Attack))/20)))) ,0.95))*(Average Weapon Damage + Damage Bonus(Strength + Weapon Specialization + Divine Favor, etc) + Power Attack*Power Attack Multiplier + (Average Sneak Attack Damage and other types… e.g. elemental, if applicable) + (IF((AC-(Attack Bonus – Power Attack))>19,<strong><em>.05*.25</em></strong>,(IF((AC-(Attack Bonus – Power Attack))<3,(0.95*<strong><em>(1.25-(Threat Range*0.05))</em></strong>),((1-((AC-(Attack Bonus – Power Attack))/20))*<strong><em>((25-Threat Range)*0.05)</em></strong>))))*((Critical Multiplier - 1) * Subject_to_Crits? (1 if yes, 0 if no) * (Damage Bonus (as defined above) + Power Attack*Power Attack Multiplier + Average Weapon Damage)))</p><p></p><p>The bolded changes take care of the increased chance to confirm.</p><p></p><p><strong><em>1.25-(Threat Range*0.05)</em></strong> is an equivalent expression to <strong><em>(25-Threat Range)*0.05</em></strong> ...no real reason for having it appear in two different forms in the overall formula, I just felt like it, I suppose. That is what happens when you add new features to old formulas over time <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=":)" title="Smile :)" data-smilie="1"data-shortname=":)" /> .</p><p></p><p>My formula runs an if statement to divide attack rolls into those that hit on a 2+, those that hit only on a 20, and those that require rolls of 3-19. Then it figures average damage for the basic hit. Next it figures the chance for a crit, and the increase in damage for that crit. It only applies the extra damage to the total if the user indicates that the target is subject to crits.</p><p></p><p>The basic flow of the equation is this:</p><p></p><p>=(IF ( ( AC - (Attack Bonus)) > 2 , (IF ((AC - (Attack Bonus)) > 19 , 0.05 , (1 - ((AC - (Attack Bonus)) / 20)))) , 0.95)) * (Average Damage + (IF ((AC - (Attack Bonus)) > 19, 0.0025 , (IF ((AC - (Attack Bonus)) < 3 , (0.95 * (1.05 -(Threat Range * 0.05))) , ((1 - ((AC - (Attack Bonus)) / 20)) * ((21 - Threat Range) * 0.05))))) * ((Critical Multiplier - 1) * Subject_to_Crits? * (Average Damage)))</p><p></p><p>Here it is in more simplified terms:</p><p></p><p>Avg Dmg = Chance to hit * Avg Dmg + Chance to Crit * Dmg on crit above a normal hit</p><p></p><p>*** To make the changes for power critical into something the user can toggle... you just need to add a 0,1 flag and change the following</p><p></p><p><strong>.05*.25</strong> to <strong>.05*((PowerCriticalFlag*.20)+.05)</strong></p><p></p><p><strong><em>1.25-(Threat Range*0.05)</em></strong> to <strong><em>(1.05+(PowerCriticalFlag*.2))-(Threat Range*0.05)</em></strong></p><p></p><p>and</p><p></p><p><strong><em>(25-Threat Range)*0.05</em></strong> to <strong><em>((21+(PowerCriticalFlag*4))-Threat Range)*0.05</em></strong></p><p></p><p>***</p></blockquote><p></p>
[QUOTE="Korak, post: 1348667, member: 9781"] Here is my average damage formula for an attack. The logic part of it is expressed in an excel "if" statement, but I changed all the cell references to represent what each quantity is. Hopefully the logic of the formula will become apparent with that change. =(IF((AC-(Attack Bonus-Power Attack))>2,(IF((AC-(Attack Bonus-Power Attack))>19,0.05,(1-((AC-(Attack Bonus-Power Attack))/20)))) ,0.95))*(Average Weapon Damage + Damage Bonus(Strength + Weapon Specialization + Divine Favor, etc) + Power Attack*Power Attack Multiplier + (Average Sneak Attack Damage and other types… e.g. elemental, if applicable) + (IF((AC-(Attack Bonus – Power Attack))>19,0.0025,(IF((AC-(Attack Bonus – Power Attack))<3,(0.95*(1.05-(Threat Range (expressed as the first number in the x-20 range e.g. 17 if the threat range is 17-20)*0.05))),((1-((AC-(Attack Bonus – Power Attack))/20))*((21-Threat Range)*0.05)))))*((Critical Multiplier - 1) * Subject_to_Crits? (1 if yes, 0 if no) * (Damage Bonus (as defined above) + Power Attack*Power Attack Multiplier + Average Weapon Damage))) As for power critical, you need simply make the following changes... =(IF((AC-(Attack Bonus-Power Attack))>2,(IF((AC-(Attack Bonus-Power Attack))>19,0.05,(1-((AC-(Attack Bonus-Power Attack))/20)))) ,0.95))*(Average Weapon Damage + Damage Bonus(Strength + Weapon Specialization + Divine Favor, etc) + Power Attack*Power Attack Multiplier + (Average Sneak Attack Damage and other types… e.g. elemental, if applicable) + (IF((AC-(Attack Bonus – Power Attack))>19,[B][I].05*.25[/I][/B],(IF((AC-(Attack Bonus – Power Attack))<3,(0.95*[B][I](1.25-(Threat Range*0.05))[/I][/B]),((1-((AC-(Attack Bonus – Power Attack))/20))*[B][I]((25-Threat Range)*0.05)[/I][/B]))))*((Critical Multiplier - 1) * Subject_to_Crits? (1 if yes, 0 if no) * (Damage Bonus (as defined above) + Power Attack*Power Attack Multiplier + Average Weapon Damage))) The bolded changes take care of the increased chance to confirm. [B][I]1.25-(Threat Range*0.05)[/I][/B] is an equivalent expression to [B][I](25-Threat Range)*0.05[/I][/B] ...no real reason for having it appear in two different forms in the overall formula, I just felt like it, I suppose. That is what happens when you add new features to old formulas over time :) . My formula runs an if statement to divide attack rolls into those that hit on a 2+, those that hit only on a 20, and those that require rolls of 3-19. Then it figures average damage for the basic hit. Next it figures the chance for a crit, and the increase in damage for that crit. It only applies the extra damage to the total if the user indicates that the target is subject to crits. The basic flow of the equation is this: =(IF ( ( AC - (Attack Bonus)) > 2 , (IF ((AC - (Attack Bonus)) > 19 , 0.05 , (1 - ((AC - (Attack Bonus)) / 20)))) , 0.95)) * (Average Damage + (IF ((AC - (Attack Bonus)) > 19, 0.0025 , (IF ((AC - (Attack Bonus)) < 3 , (0.95 * (1.05 -(Threat Range * 0.05))) , ((1 - ((AC - (Attack Bonus)) / 20)) * ((21 - Threat Range) * 0.05))))) * ((Critical Multiplier - 1) * Subject_to_Crits? * (Average Damage))) Here it is in more simplified terms: Avg Dmg = Chance to hit * Avg Dmg + Chance to Crit * Dmg on crit above a normal hit *** To make the changes for power critical into something the user can toggle... you just need to add a 0,1 flag and change the following [B].05*.25[/B] to [B].05*((PowerCriticalFlag*.20)+.05)[/B] [B][I]1.25-(Threat Range*0.05)[/I][/B] to [B][I](1.05+(PowerCriticalFlag*.2))-(Threat Range*0.05)[/I][/B] and [B][I](25-Threat Range)*0.05[/I][/B] to [B][I]((21+(PowerCriticalFlag*4))-Threat Range)*0.05[/I][/B] *** [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Pathfinder & Starfinder
Improved Rapid Shot feat
Top