Bug #323: Spell damage not being used.
ID | #323 |
---|---|
Submitter | callum |
Product | EOSERV |
Severity | Normal |
Status | CLOSED, FIXED |
Submitted | 16th Feb 2015 |
Updated | 9th Mar 2015 |
Rev# | Date | Description |
---|---|---|
r452 | 09 Mar 2015 05:05:50 UTC | Add spell damage to damage calculation (bug #323) |
Spells aren't using the damage set in pub files, instead just using the characters actual damage. Both PK and non PK.
Comments
I thought that EOMain also uses character's actual damage with spells as well?
Some spells like Fire Ball hit like 50+ damage^^ So it must use the damage somewhere ;p
I just changed:
int amount = util::rand(from->mindam, from->maxdam);
to:
int amount = util::rand((from->mindam + spell.mindam), (from->maxdam + spell.maxdam));
Updated Status to CONFIRMED
Fixed in r452.
Updated Status to CLOSED, FIXED
Add Comment
Please don't post unless you have something relevant to the bug to say.
Do not comment to say "thanks" or "fix this please".
Please log in to add comments. EOSERV Bug Tracker > Bug #323: Spell damage not being used.