Users browsing this thread: 2 Guest(s)
Having the option to use Vigor in some spells

#48
Posts: 281
Threads: 18
Thanks Received: 13
Thanks Given: 8
Joined: Mar 2014
Reputation: 8
Status
None
That was a sneaky bug. It was caused by prematurely setting 16-bit memory before calling the magical damage code. This can cause the carry flag to be wrongfully set sometimes, resulting in skipping the quadrupling of Battle Power/Spell Power that gets added to damage. This is normally only skipped by Items, Runic and other "special" forms of damage/healing that do damage exactly equal to Spell Power.

You may have noticed that the difference in damage was exactly Battle Power * 3. That's what clued me in to the bug. Smile

It's fixed now and I updated the code in my post.
  Find
Quote  



Messages In This Thread
RE: Having the option to use Vigor in some spells - by seibaby - 05-08-2016, 12:10 PM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite