View Single Post
  #34  
Old November 18th, 2007, 11:17 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: Very serious combat bug?

I think the debug log is not being read correctly.

This line:

hitunit 221 16083 dmg-34 spec96 ba2

is negative 34 points of damage. That makes sense for an average head hit:

Flail 3 + Str 11 = 14 (+DRN)
Prot 8+4 + Shield 40 = 52 (+DRN)

dmg ~= -38 (or -49 with no Str added in yet)

The log normally has dmg8, etc, except for a big hit from the King himself, then you see for example dmg22. Like this:

hitloc King of Flames strikes Flagellant wl2 diff-5 -> 3
hitunit 16083 221 dmg22 spec65 ba3
damage 53 on Flagellant, spec0x41 ba3

(I don't understand why it's dmg22 then "damage 53". Strength is 31 though, but that should already be in dmg, I think.)

Then, in both instances, 2 hits from 2 different flagellants get a "dmg" total of (-71), doing:

damage 36 on King of Flames, spec0x60 ba2 (strength 7 flagellant)


damage 32 on King of Flames, spec0x60 ba2 (strength 11 flagellant)


Note that also in the log, a piker hits the King for 1 hit of negative damage, and it has no effect:
16087 striking with weapon Pike. att15 def23
shieldprot for King of Flames = 40
hitloc Pikeneer strikes King of Flames wl6 diff-1 -> 4
hitunit 16087 16083 dmg-35 spec2097155 ba4
... (no damage taken)

So, when there is large negative "dmg", there is a bug converting it to "damage", and it becomes large and positive. I think.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?