Use a Spellbook?Oh yeah... And how can I make a spell folder? Thanks
oops sorry, I meant the attack damage determines the spell damage.
- Storm bolt
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Storm bolt
- Actions
- Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (Real((Strength of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal
oops sorry, I meant the attack damage determines the spell damage.
...without getting into complicated mathematics.
YOU PROMISED NOT TO!This is due to the sum outcome of multiple dice rolls having a gaussian probability distribution.
I did not get into the complicated maths. In theory one could correctly calculate a random damage number with linear complexity with respect to die count by getting a constant probability random number in a range, then transforming it based on the probability distribution and finally rounding. There may be precision issues when very large numbers are involved but the overall damage characteristics would be a lot more accurate than a constant probability in range approach or just taking the average.YOU PROMISED NOT TO!
It was meant as a joke.I did not get into the complicated maths.