EOSERV Bug Tracker > Bug #323: Spell damage not being used.

Bug #323: Spell damage not being used.

Spell damage not being used.
ID #323
Submitter callum
Product EOSERV
Severity Normal
Status CLOSED, FIXED
Submitted 16th Feb 2015
Updated 9th Mar 2015
Related SVN Revisions
Rev# Date Description
r452 09 Mar 2015 05:05:50 UTC Add spell damage to damage calculation (bug #323)
callum Submitter 9 years, 47 weeks ago

Spells aren't using the damage set in pub files, instead just using the characters actual damage. Both PK and non PK.

Comments

jimmy 9 years, 44 weeks ago

I thought that EOMain also uses character's actual damage with spells as well?

callum Submitter 9 years, 44 weeks ago

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));

Sausage Developer 9 years, 44 weeks ago

Updated Status to CONFIRMED

Sausage Developer 9 years, 44 weeks ago

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.