Tartarus Sorceror

**Posts:** 1818

**Joined:** Thursday, 31st May 2012, 15:45

### Why is Airstrike's Damage Formula So Bizarre?

- For this message the author MainiacJoe has received thanks: 4
- duvessa, Rast, ydeve, yesno

If it doesn't fit anywhere else, it belongs here. Also, come here if you just need to get hammered.

13 posts
• Page **1** of **1**

Tartarus Sorceror

**Posts:** 1818

**Joined:** Thursday, 31st May 2012, 15:45

Won (48). Remaining (15): 5 species: Ba, Fe, Mu, Na, Op; 6 Backgrounds: Tm, AM, Wr, Su, AE, Ar; 3 gods: Jiyv, newNem, WJC

- For this message the author MainiacJoe has received thanks: 4
- duvessa, Rast, ydeve, yesno

Ziggurat Zagger

**Posts:** 4055

**Joined:** Tuesday, 10th January 2012, 19:49

Because that's how it's been and there's no reason to change it because the player doesn't see it anyway.

Dungeon Master

**Posts:** 634

**Joined:** Sunday, 22nd September 2013, 14:46

Because we let a theoretical mathematician write it.

- For this message the author wheals has received thanks: 7
- Arrhythmia, cerebovssquire, chequers, Hirsch I, Lasty, nago, ydeve

Snake Sneak

**Posts:** 123

**Joined:** Sunday, 5th June 2016, 14:31

wheals wrote:Because we let a theoretical mathematician write it.

Way too many numbers for theoretical maths. I see no mention of sheafs or cohomology anywhere. Must be Hungarian.

Last edited by Hands on Wednesday, 13th July 2016, 16:40, edited 1 time in total.

- For this message the author Hands has received thanks: 3
- Arrhythmia, dpeg, tabstorm

Dungeon Master

**Posts:** 118

**Joined:** Monday, 5th October 2015, 06:17

I think |amethyst summed up pretty well how most formulas in crawl are decided upon:

|amethyst[24/24]: <|amethyst> but also the general Crawl principle of "we'll do some weird hard-to-tweak shit for our probability distribution, then figure out the math later"

- For this message the author amalloy has received thanks: 2
- Arrhythmia, duvessa

Dungeon Master

**Posts:** 3618

**Joined:** Thursday, 23rd December 2010, 12:43

Shoals Surfer

**Posts:** 325

**Joined:** Tuesday, 13th October 2015, 06:02

All formula should be written in a way that the hardware should be able to process in the most efficient manner possible. Or were we devolving into the "don't think, but feel" society?

All formula shall now be done in DnD format. Dice role! 1d100

All formula shall now be done in DnD format. Dice role! 1d100

Dungeon Master

**Posts:** 623

**Joined:** Thursday, 23rd October 2014, 03:08

according to the source code the bracketing is wrong, it's actually supposed to be

Source code:

- For this message the author CanOfWorms has received thanks: 2
- Arrhythmia, MainiacJoe

Blades Runner

**Posts:** 546

**Joined:** Friday, 2nd October 2015, 14:42

The weird thing about this formula is not so much that it's complicated looking as that its distribution is remarkably similar to ones given by much simpler formulas. For example, going by canofworms' formula above, nearly the same distribution is obtained by the much simpler 2d(2*power/13) + 1d6 + 4. See http://anydice.com/program/8dbd for simulations. Notice how much easier it is to understand the impact of power in this other formula.

The distribution from the formula is essentially the distribution for a throw of two dice, plus a small die to smooth it out a little.

The distribution from the formula is essentially the distribution for a throw of two dice, plus a small die to smooth it out a little.

The Original Discourse Respecter

- For this message the author goodcoolguy has received thanks: 11
- and into, Arrhythmia, cerebovssquire, duvessa, dynast, PleasingFungus, Sprucery, wheals, ydeve, yesno and one more user

Tartarus Sorceror

**Posts:** 1667

**Joined:** Saturday, 11th October 2014, 06:12

**Location:** Brazil. RS, Santa Cruz do Sul.

Blades Runner

**Posts:** 546

**Joined:** Friday, 2nd October 2015, 14:42

Hm, upon further review, it turns out anydice expands nested d's in a way that in this case just passes the inner result through, so the distribution it gives for the airstrike formula as written is actually just the one for 7 + 1d4 - 1 + (1d(power) - 1)/6 + (1d(power) - 1)/7.

The anydice output struck me as odd since the distribution given by, say, 1d(1d10), should skew left. It's a basically a descending triangle. Iterated applications of "d" act like integrators, it turns out. One consequence of this is that you can't actually express distributions like this in terms of simple sums of dice because such distributions will always have zero skew. So, sorry about that!

The anydice output struck me as odd since the distribution given by, say, 1d(1d10), should skew left. It's a basically a descending triangle. Iterated applications of "d" act like integrators, it turns out. One consequence of this is that you can't actually express distributions like this in terms of simple sums of dice because such distributions will always have zero skew. So, sorry about that!

The Original Discourse Respecter

- For this message the author goodcoolguy has received thanks: 3
- Arrhythmia, duvessa, Hands

goodcoolguy wrote:Hm, upon further review, it turns out anydice expands nested d's in a way that in this case just passes the inner result through, so the distribution it gives for the airstrike formula as written is actually just the one for 7 + 1d4 - 1 + (1d(power) - 1)/6 + (1d(power) - 1)/7.

The anydice output struck me as odd since the distribution given by, say, 1d(1d10), should skew left. It's a basically a descending triangle. Iterated applications of "d" act like integrators, it turns out. One consequence of this is that you can't actually express distributions like this in terms of simple sums of dice because such distributions will always have zero skew. So, sorry about that!

- For this message the author duvessa has received thanks: 3
- Arrhythmia, cerebovssquire, yesno

Tartarus Sorceror

**Posts:** 1881

**Joined:** Saturday, 7th September 2013, 21:16

**Location:** Itajubá, MG, Brazil.

I like this thread. it is a cool thread.

my posts are to be read in a mildly playful tone, with a deep, sexy voice.

- For this message the author Hirsch I has received thanks:
- cerebovssquire

13 posts
• Page **1** of **1**

Users browsing this forum: No registered users and 2 guests