You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int realtimes = spd->damage[i].minnum + getrandom(times) +
getrandom(times);
In the case of FIRE, this results in 2-12 damage, not the expected 2-10.
fire [FIRE] 1: A mage with this skill can cast a fireball in battle.
This ability does between 2 and 10 times the skill level of the mage
energy attacks.
Additionally, the description itself is vague, in that "between 2 and 10 times the skill level" could be reasonably interpreted to mean (for level 5) 2-50 or 10-50.
There is also no indication that the damage is skewed to the midline of the range, not truly random.
Proposed fix would be to adjust the skill descriptions to be in line with current code.
The text was updated successfully, but these errors were encountered:
There is a disconnect between how spells and special attack damage is calculated, and how it is reported in the skill descriptions.
https://github.com/nedbrek/Atlantis/blob/TrueAtlanteans/specials.cpp#L211-L212
In the case of FIRE, this results in 2-12 damage, not the expected 2-10.
Additionally, the description itself is vague, in that "between 2 and 10 times the skill level" could be reasonably interpreted to mean (for level 5) 2-50 or 10-50.
There is also no indication that the damage is skewed to the midline of the range, not truly random.
Proposed fix would be to adjust the skill descriptions to be in line with current code.
The text was updated successfully, but these errors were encountered: