Crypt Cleanser
Posts: 689
Joined: Saturday, 12th December 2015, 23:54
Adjust the number of balls
Here's the current formula's behavior:
Below 50 power, you always get 2 ball lightnings.
Between 50 and 99 power, you get either 2 or 3 ball lightnings on a coinflip chance (mean 2.5).
Between 100 and 149 power, you get either 3, 4, or 5 ball lightnings, each outcome equally likely (mean 4).
Between 150 and 199 power, you still get either 3, 4, or 5 ball lightnings, but you get 5 half the time and 3 or 4 1/4th of the time each (mean 4.25).
At 200 power, you always get at least 4 ball lightnings and get 5 80% of the time (mean 4.8).
So anyway, the proposal is to replace the current formula with something that scales more sensibly with power and does not have breakpoints. There are some decisions to be made here; should the minimum ball count increase with power as it does in the current formula? Should the max ball count remain 5? Should the spell's balance be further adjusted at the same time? Here are a couple prospective formulas for consideration.
min(5, 2 + div_rand_round(pow, 100) + random2(div_rand_round(pow, 50) + 1) is the simplest change. It takes the current formula but randomly rounds power. It's also a strict buff to the spell, producing more balls on average at every value of power that isn't 0 or a breakpoint. You could of course increase the divisors or couple this to other changes if you didn't want to buff the spell. For example, min(5, 2 + div_rand_round(pow, 150) + random2(div_rand_round(pow, 75) + 1) would produce a mean of 8/3 balls at 50 power, 3 balls at 75 power and a mean of 4 at 150 power with a guaranteed minimum of 3. There's some nonlinearity past 150 power because of the maximum, so it's still kind of ugly but workable.
Min(5, 2 + random2(div_rand_round(pow, 40) + 1) keeps the same maximum ball count but doesn't increase minimum ball count with power. Mean is 2.5 at 40 pow, 3 at 80 pow, 3.5 at 120 pow, 3.8 at 160 pow, and 4 at 200 pow. This kind of formula buffs the spell at low power levels and makes it worse at high ones, which imo is not desirable. You could reduce the divisor to make the spell stronger at higher power values... but that would make low power cbl even better.
1 + random2(div_rand_round(pow, 25) + 1) would give a mean value of 2 at 50 power, 3 at 100 power, 4 at 150 power, and 5 at 200 power. The spell would produce fewer balls below 75 power and between 100-162 power in exchange for producing more between 76-99 power and above 162 power, and having higher variance. The max ball count possible would increase to 8, which means you wouldn't get the full damage at high power if you weren't in somewhat open space. You could reduce the variance by using random2avg if desired. I kind of like this style of formula but it might be a little too crazy.
You could also use a fixed formula for number of ball lightnings produced while scaling the ball lightning damage more strongly with hd.
Feel free to discuss your preferred number of ball lightnings itt.
- For this message the author Hellmonk has received thanks: 5
- byrel, duvessa, Flugkiller, petercordia, PseudoLoneWolf