calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
173 stars 42 forks source link

Incorrect damage values reported in combat log. #248

Closed x-qq closed 4 years ago

x-qq commented 4 years ago

On the following screenshot, an arrow was fired at an undamaged worg, and then scrying was cast.

Initially worg has 35 hp (VoDT scenario), it took 8 damage and now has 27 hp. However in combat log the damage is reported as 9.

dmg

x-qq commented 4 years ago

It looks like the damage value that is printed is the amount before armor and resistances is applied.

https://github.com/calref/cboe/blob/master/src/game/boe.combat.cpp#L1811 https://github.com/calref/cboe/blob/master/src/game/boe.specials.cpp#L1469 https://github.com/calref/cboe/blob/master/src/game/boe.combat.cpp#L1814